Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Applet AID is random, i.e. not unique #1

Open
philipWendland opened this issue Aug 30, 2014 · 4 comments
Open

Applet AID is random, i.e. not unique #1

philipWendland opened this issue Aug 30, 2014 · 4 comments

Comments

@philipWendland
Copy link
Owner

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.

@lucasperin
Copy link

Hi @philipWendland

Is this issue still pertinent to the project? Does it affect compatibility with OpenSC?

@philipWendland
Copy link
Owner Author

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
#1 (comment)

@kelvinnguyen
Copy link

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

@kelvinnguyen
Copy link

Dear,

I initial isoapplet card.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants