Ticket #8 (closed defect: fixed)
NB! Read about ReportingBugs before filing a ticket!
pkcs11-tools gives error signing with an infocamere card
| Reported by: | giuseppe@… | Owned by: | anonymous |
|---|---|---|---|
| Priority: | high | Milestone: | 0.10.0? |
| Component: | pkcs11 | Version: | 0.10.0 |
| Severity: | normal | Keywords: | |
| Cc: | Blocked By: | ||
| Blocking: |
Description (last modified by martin) (diff)
Hi, I just recompiled opensc from CVS and found a problem in pkcs11-tools. This is the last part of the output produced, when debug is set to 9 in opensc.conf, by the commando pkcs11-tool -s -i fileA -o fileB:
[...] framework-pkcs15.c:788:pkcs15_login: PIN verification returned 0 pkcs11-object.c:210:C_FindObjectsInit: C_FindObjectsInit(slot = 0) pkcs11-object.c:211:C_FindObjectsInit: C_FindObjectsInit(): CKA_CLASS = CKO_PRIVATE_KEY pkcs11-object.c:263:C_FindObjectsInit: Object 0/1: Attribute 0x0 matches. pkcs11-object.c:269:C_FindObjectsInit: Object 0/1 matches pkcs11-object.c:254:C_FindObjectsInit: Object 0/2: Attribute 0x0 does NOT match. pkcs11-object.c:254:C_FindObjectsInit: Object 0/3: Attribute 0x0 does NOT match. pkcs11-object.c:280:C_FindObjectsInit: 1 matching objects Using signature algorithm RSA-X-509 pkcs11-object.c:485:C_SignInit: Sign initialization returns 0 pkcs11-object.c:547:C_SignUpdate: C_SignUpdate returns 0 pkcs11-object.c:547:C_SignUpdate: C_SignUpdate returns 33 error: PKCS11 function C_SignUpdate failed: rv = CKR_DATA_LEN_RANGE (0x21) Aborting.
Change History
Note: See
TracTickets for help on using
tickets.
