Ticket #75 (new defect)
pkcs11-tool --sign ignores object id/label
| Reported by: | anonymous | Owned by: | opensc-devel@… |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | opensc | Version: | 0.10.1 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Hello,
In pkcs11-tool.c:
if (do_sign) {
if (!find_object(session, CKO_PRIVATE_KEY, &object, NULL, 0, 0))
fatal("Private key not found");
}
It searches for the first? key?!?! Should search for the specified --id or --label key.
Best Regards, Alon Bar-Lev.
Change History
Note: See
TracTickets for help on using
tickets.
