Re: [opensc-devel] APDU to verify Admin PIN

2012-04-22 Thread Nguyễn Hồng Quân
Thank you all, I forgot to mention that I was trying OpenSC with OpenGPG card. I can use GPG, but I want to try with OpenSC because I have plan to develop OpenSC :). On Sat 21 Apr 2012 05:52:17 PM ICT, Peter Koch wrote: > Hi Nguyễn Hồng Quân > > Since you are trying to change the preferred langua

Re: [opensc-devel] APDU to verify Admin PIN

2012-04-21 Thread Peter Koch
Hi Nguyễn Hồng Quân Since you are trying to change the preferred language with a PUT DATA command I assume you are using an OpenPGP card OpenPGP cards use ASCII coding of PINs so the correct APDU to verify your admin PIN (assuming its value is the default 12345678) is 00 20 00 83 08 31 32 33 34

Re: [opensc-devel] APDU to verify Admin PIN

2012-04-21 Thread Frank Morgner
On Saturday, April 21 at 11:56AM, Nguyễn Hồng Quân wrote: > Hello all, > > I'm trying to modify by using APDU in opensc-explorer tool. > For example I want to change the "preferred language" of cardholder with > this command: > apdu 00DA5F2D02656E > > (the APDU is 00 DA 5F 2D 02 65 6E). > > Howe

[opensc-devel] APDU to verify Admin PIN

2012-04-20 Thread Nguyễn Hồng Quân
Hello all, I'm trying to modify by using APDU in opensc-explorer tool. For example I want to change the "preferred language" of cardholder with this command: apdu 00DA5F2D02656E (the APDU is 00 DA 5F 2D 02 65 6E). However, prior to do that, I have to verify Admin PIN. I tried this command: apdu