Hi, First of all thank you very much for your efforts.
I guess I have problems with my security environment. Basically I try to do a RSA PKSC1 signature. You are suggesting 00 22 41 b6 05 83 03 80 50 00. Isnt that AES? Kind Regards Stefan Engelbert -----Original Message----- From: Juergen Ludyga [mailto:[EMAIL PROTECTED] Sent: Sunday, April 30, 2006 8:21 PM To: opensc-devel@lists.opensc-project.org Subject: AW: [opensc-devel] Re: Silly question (I hope) 69 00 never seen that one. Du you have selected the key ? (0050) Du you send the Manage Security Environment Command ? ( for Example 00 22 41 b6 05 83 03 80 50 00 ) ? Juergen -----Ursprüngliche Nachricht----- Von: Stefan Engelbert [mailto:[EMAIL PROTECTED] Gesendet: Sonntag, 30. April 2006 17:32 An: opensc-devel@lists.opensc-project.org Betreff: RE: [opensc-devel] Re: Silly question (I hope) Great, That did the trick. Thanks a lot. But now I get the next problem while signing a hash. I send 00 2A 9E 9A 28 45 31 38 43 42 38 36 46 46 42 45 36 35 33 31 41 38 33 37 30 41 31 35 42 46 30 36 30 30 38 37 38 33 37 33 37 44 44 42 37 80 And get and 69 00 Do you know even here the answer? Kind Regards Stefan Engelbert -----Original Message----- From: Juergen Ludyga [mailto:[EMAIL PROTECTED] Sent: Sunday, April 30, 2006 5:07 PM To: opensc-devel@lists.opensc-project.org Subject: [opensc-devel] Re: Silly question (I hope) >I have a PKCS#15 Card of D-Trust (Germany) here. The Card is a Orga >Micardo >2.1 >Authentication with PIN1 (Reference 01) to the card via ADPU command >works great. >When I now change the Reference to 82 (for the PIN2) and send the same commands >00 A4 04 0C 0C A0 00 00 00 63 50 4B 43 53 2D 31 35 00 20 00 82 08 35 35 >33 39 34 35 00 00 >I am getting always the answer 6A 88 >Does somebody know what I a doing wrong here? Hi, 6A 88 means that the verfiy command does not found the key reference. You change to the PKCS15 dir (which is 3f00/5015) and try to verify the 82 reference. And that means that your try to verify the key reference 02 in the local dir (80 -> local dir ). But key PINs are not stored in this dir. D-Trust uses following PIN references. PIN1 (basic i guess?) is in 3f00 PIN2 (specific) is in 3f00/4016 For authentificate the PIN2 you have to change to the right directory 00 a4 00 00 02 3f 00 => change to 3f00 00 a4 01 00 02 40 16 => change to 4016 And then send the verify command 00 20 00 82 08 35 35 33 39 34 35 00 00 => verify PIN2 in local dir. Jürgen _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel