Andreas Jellinghaus wrote:
Am Freitag, 20. April 2007 06:48 schrieb Nils Larsch:
Andreas Jellinghaus wrote:
Am Dienstag, 17. April 2007 19:52 schrieb Nils Larsch:
which test / card ? otherwise a APDU log would be interesting
(if the problem is reproducible).
cardos and cryptoflex with crypto001 test script in test/regressions.
happends always.
do the other test work ?

crypt* seems to work now with a different gcc (3.4), but init0001
fails - and going back in time a long way didn't change this. can you have
a look? log attached.
...
Outgoing APDU data [  134 bytes] =====================================
C0 88 00 00 80 00 00 7F FF FF B0 CB D6 00 00 00 ................
00 00 00 00 04 00 00 00 00 00 40 6D C7 00 00 00 [EMAIL PROTECTED]
00 42 F0 D7 23 F4 CB 7D 36 64 2F E9 7A 2F 2E DA .B..#..}6d/.z/..
F6 77 D6 7F 8E 00 00 00 00 00 00 00 14 00 00 00 .w..............
00 00 00 00 14 00 00 00 00 00 00 02 20 00 00 7F ............ ...
FF FF B0 C2 40 00 00 00 00 00 FF FF FF 00 00 00 [EMAIL PROTECTED]
00 00 00 02 40 00 00 00 00 00 00 02 20 00 00 00 [EMAIL PROTECTED] ...
00 00 00 02 10 00 00 00 00 00 00 00 02 00 00 00 ................
00 00 40 01 00 00                               [EMAIL PROTECTED]
======================================================================
apdu.c:184:sc_apdu_log: Incoming APDU data [ 2 bytes] =====================================
69 82 i.
======================================================================
card.c:312:sc_unlock: called
card.c:312:sc_unlock: called
framework-pkcs15.c:2593:revalidate_pin: PIN revalidation
card.c:312:sc_unlock: called
reader-openct.c:458:openct_reader_unlock: called
framework-pkcs15.c:2001:pkcs15_prkey_sign: Sign complete. Result -1211.
pkcs11-object.c:583:C_SignFinal: C_SignFinal returns 257
iso7816.c:99:iso7816_check_sw: Security status not satisfied
card-flex.c:1073:cryptoflex_compute_signature: Card returned error: Security 
status not satisfied
sec.c:53:sc_compute_signature: returning with: Security status not satisfied
pkcs15-sec.c:248:sc_pkcs15_compute_signature: sc_compute_signature() failed: 
Security status not satisfied
error: PKCS11 function C_SignFinal failed: rv = CKR_USER_NOT_LOGGED_IN (0x101)

does setting "lock_login = true" or "cache_pins = true" in the opensc config 
help ?

Nils
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to