IsoApplet
IsoApplet copied to clipboard
Applet AID is random, i.e. not unique
At the moment, the applet uses a "random" AID. This can cause issues, especially as the existance of the applet is being tested by the OpenSC driver using the AID.
Hi @philipWendland
Is this issue still pertinent to the project? Does it affect compatibility with OpenSC?
Hi,
the AID is still from the random pool, but it is included in OpenSC this way, so it does not affect compatibility with OpenSC. If we would change to a registered AID, we would need to change OpenSC as well, but keep the old AID for compatibility reasons. I don't know if it is worth it to keep two AIDs in OpenSC.
On 04/01/2016 06:10 PM, Lucas Perin wrote:
Hi @philipWendland https://github.com/philipWendland
Is this issue still pertinent to the project? Does it affect compatibility with OpenSC?
— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/philipWendland/IsoApplet/issues/1#issuecomment-204453714
Dear I use OpenSC to check isoapplet. I can't get User PIN object, please help me this problem!
2017-09-26 10:00:00.741 [cardmod] ..\opensc-0.12.2\src\libopensc\card.c:459:sc_unlock: called
2017-09-26 10:00:00.741 [cardmod] ..\opensc-0.12.2\src\libopensc\pkcs15.c:1258:sc_pkcs15_bind: returning with: 0 (Success)
PKCS#15 initialization result: 0, Success
md_get_pin_by_role
2017-09-26 10:00:00.741 [cardmod] ..\opensc-0.12.2\src\libopensc\pkcs15.c:1699:sc_pkcs15_find_pin_by_flags: called
2017-09-26 10:00:00.741 Find PIN flags:0x10, mask:0xD2, index:-1 2017-09-26 10:00:00.741 [cardmod] ..\opensc-0.12.2\src\libopensc\pkcs15.c:1726:sc_pkcs15_find_pin_by_flags: returning with: -1407 (Requested object not found)
2017-09-26 10:00:00.741 [cardmod] ..\opensc-0.12.2\src\libopensc\pkcs15.c:1699:sc_pkcs15_find_pin_by_flags: called
2017-09-26 10:00:00.741 Find PIN flags:0x12, mask:0xD2, index:-1 2017-09-26 10:00:00.741 [cardmod] ..\opensc-0.12.2\src\libopensc\pkcs15.c:1726:sc_pkcs15_find_pin_by_flags: returning with: -1407 (Requested object not found)
Cannot get User PIN object associate_card() error with code=2148532258
CardAcquireContext
Dear,
I initial isoapplet card.
Thanks