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

JPKI SELECT AID not following ISO standards #3111

Closed
dengert opened this issue Apr 12, 2024 · 1 comment
Closed

JPKI SELECT AID not following ISO standards #3111

dengert opened this issue Apr 12, 2024 · 1 comment

Comments

@dengert
Copy link
Member

dengert commented Apr 12, 2024

#3108 reports that when card-jpki.c does a SELECT AID against an unknown card, it causes problems.

ISO 7816-4 says SELECT AID is 00 A4 04 00 and optionally will return an FCI. card-jpki.c appears to use 00 A4 04 0C where 0C says no data is to be returned or data returned is proprietary.

Here is proposed untested PR:

card-jpki.c.diff.txt

@hamano can you or anyone else with a JPKI card test this or create other PR.

@frankmorgner
Copy link
Member

00 A4 04 0C is fully conformant with iso 7816-4

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

2 participants