For new tickets please use the main OpenSC Trac (direct link)
Ticket #4 (new defect)
check "slot_0" parsing
| Reported by: | aj | Owned by: | opensc-devel@… |
|---|---|---|---|
| Priority: | normal | Component: | engine_pkcs11 |
| Version: | 0.1.3 | Severity: | normal |
| Keywords: | Cc: | Christopher P. Masone <Christopher.P.Masone@…> |
Description
CPM wrote: I just downloaded and tried the most recent code snapshot. Passing NULL still works fine, but trying just "slot_0" doesn't return any certs.
Change History
comment:1 Changed 6 years ago by anonymous
- Version changed from 0.1.2 to 0.1.3
- Component changed from build to engine_pkcs11
comment:2 Changed 6 years ago by alon.barlev@…
Well... Actually I could not make it work using a long hex string...
req -engine pkcs11 -new -key id_41545f4b455945584348414e47457b333ec770d9e734797ad37db18463e100 -keyform engine -subj "/CN=alon" initializing engine engine "pkcs11" set. could not parse string! supported formats: <id>, <slot>:<id>, id_<id>, slot_<slot>-id_<id> where <slot> is the slot number as normal integer, and <id> is the id number as hex string. PKCS11_get_private_key returned NULL unable to load Private Key
Note: See
TracTickets for help on using
tickets.
