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

DESFire key diversification - problem with random UID #144

Open
ledvinap opened this issue Jun 19, 2023 · 0 comments
Open

DESFire key diversification - problem with random UID #144

ledvinap opened this issue Jun 19, 2023 · 0 comments

Comments

@ledvinap
Copy link

mifare_key_deriver_update_uid is trying to get actual UID when key diversification is enabled (mifare_desfire_get_card_uid_raw), but it does not update UID length. Only 4 bytes of UID are stored in diversification input as a result
https://github.com/nfc-tools/libfreefare/blob/master/libfreefare/mifare_key_deriver.c#L148-L161

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

1 participant