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

Add a key file generator tool for know algorithems #318

Open
ikarus23 opened this issue Oct 31, 2020 · 2 comments
Open

Add a key file generator tool for know algorithems #318

ikarus23 opened this issue Oct 31, 2020 · 2 comments
Labels

Comments

@ikarus23
Copy link
Owner

There are several known key generation/derivation algorithms out the to calculate the keys for a MIFARE Classic tag. Some of them can be found here: https://github.com/RfidResearchGroup/proxmark3/blob/master/common/generator.c. It would be great to have tool in which the user can input parameters (e.g. the toy/algo, the UID, etc.) and it generates a key file with the correct keys.

@The0ne94
Copy link

Hi sir, what do you need for this project? Thank you for all your really Great job.

@ikarus23
Copy link
Owner Author

I can do the UI stuff my self, but if you want you can port some of the known generators to java. I'm thinking like one function per product/generator. So something like:

String[] generateVingLock(String uid) {
    ...
    return keys;
}

String[] generateYaleDoorman(String uid) {
    ...
    return keys;
}

...

Be aware that there are helper functions in Common.java like hex2Bytes() or bytes2Hex().

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

No branches or pull requests

2 participants