On Sep 24, 2009, at 14:14, François Leblanc wrote: > > >> On the document, there are other options explained. One looks >> promising: >> >> bConfirmPin: 0x01 >> bNumberMessage: 0x02 >> Messages seen on Pinpad display: New Pin*, Confirm Pin* >> >> *In these two cases, old PIN is not asked by the Pinpad but do not >> forget to put the old >> PIN value in the APDU command. > > How do you do this, since you have pinpad reader the pin code should > be never see by opensc > > so it can be put on apdu? The old pin isn't needed in change pin > command? Exactly, with the Portuguese eID card, the old pin isn't needed in the change pin command. First, we send a normal verify pin apdu (the reader asks the user for the pin and fills in the pin value as expected) and next we send a change pin apdu with only the new pin.
João > > > > François. > > > > _______________________________________________ > 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