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

NTAG216 Unlocking Issue #3282

Open
droidXrobot opened this issue Dec 10, 2023 · 7 comments
Open

NTAG216 Unlocking Issue #3282

droidXrobot opened this issue Dec 10, 2023 · 7 comments
Assignees
Labels
NFC NFC-related

Comments

@droidXrobot
Copy link

Describe the bug.

I tried to unlock an NTAG216 by inputting a password manually. I got a success messaging saying all pages were unlocked successfully but when I tried to read the tag again it said "Password-protected pages!"

Reproduction

  1. Navigate to NFC
  2. Read a password protected NTAG216
  3. More
  4. Unlock
  5. Enter password manually
  6. Save
  7. Continue
  8. See message "All pages unlocked!"
  9. Exit and read card again. It says "Password-protected pages!"

Target

0.96.1

Logs

No response

Anything else?

Flipper firmware 0.96.1

@doomwastaken doomwastaken added NFC NFC-related Bug labels Dec 11, 2023
@doomwastaken
Copy link
Member

Greetings! If it is possible, could you take take a debug log, also dump of the card would be helpful

@gornekich gornekich self-assigned this Dec 11, 2023
@gornekich
Copy link
Member

Hello @droidXrobot !
I have a question about 9. Exit and read card again. Do you read tag from main NFC menu? If yes, then everything is working as expected, because flipper doesn't save manually entered password when you exit to main menu.

@gornekich
Copy link
Member

gornekich commented Dec 11, 2023

If you have a password protected NTAG216, you should do the folowing steps.

  1. Go to NFC
  2. Read from main menu
  3. If you see that not all pages are read, go to Unlock menu -> Enter Password Manually
  4. Enter password manually, press Save in text input view
  5. Confirm "Risky function" by pressing Continue
  6. Apply NTAG to flipper again to perform reading with manually entered password
  7. If you see that All pages are read, then your password is correct, all pages are read and you can save fully read tag by pressing Save option in menu
  8. You can emulate fully read card when loading saved file

If during these steps you exit to main NFC menu, your manually entered password is not saved and you should start over the whole steps

@droidXrobot
Copy link
Author

Yes, I can read all the pages when I follow the steps you provided. However, I can not write to the card afterwards.

@gornekich
Copy link
Member

I see. Now we don't write to locked tags, because it makes writing state machine complicated. We need to work on UI/UX first.

I believe that this issue is not a bug, but a feature request. We will try to deliver these feature in next releases

@gornekich gornekich added New Feature Contains an IMPLEMENTATION of a new feature and removed Bug labels Dec 12, 2023
@hedger hedger removed the New Feature Contains an IMPLEMENTATION of a new feature label Dec 24, 2023
@nekolab
Copy link

nekolab commented Jan 19, 2024

Hi @gornekich I've implemented the writing support of the NTAG21x card in this PR, and verified on my card now.

Although I know there are some special cases that my implementation may not support, I still think it's capable for the major scenarios so we'd better to have this feature. Could you please take a look? Please let me know if you have any concerns. Thanks

@skotopes
Copy link
Member

skotopes commented Jul 7, 2024

@gornekich any updates?

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

No branches or pull requests

6 participants