-
Notifications
You must be signed in to change notification settings - Fork 29
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
Sample for read and write Mifare 1k with KeyA and KeyB #1
Comments
I have exactly the same issue, when trying to write I get the "Unable to login in sector X with key B" on a factory-default Mifare Classic 1K. Any help? |
Not sure if this is really the problem in your cases but for anyone hitting the same issue... we tested w/ Mifare 1K and 4K cards on a Omnikey 5421 card reader. Our solution was to modify code a bit...
HTH |
Thanks this worked in my case as well. |
|
I want to use this project to read and write Mifare 1k cards, I know the values for KeyA and KeyB but I can't find the proper combination to perform the read and write over the card.
There is a way for achieve this, I can't see a sample who uses such values.
I try to put together that but I'm stuck with the order of the actions.
After the card is detected and the card object is filled, I try for sector 9:
From the Card Added Event I have:
Outside the event on a button I want to get the sector to Authenticate with the keys
But the authentication fails with Message:
Looks like I can write the cards and something is missing but I can't find the way, any sugestion to make it work in Mifare 1K?
The text was updated successfully, but these errors were encountered: