Plugin.NFC icon indicating copy to clipboard operation
Plugin.NFC copied to clipboard

How to set/remove password on the NFC Tag

Open kiiryuuuu opened this issue 6 years ago • 5 comments

Just wondering if it is possible to set/remove password? If it is possible could you give me a hand and guide me how to use it?

Thank you!

kiiryuuuu avatar Nov 12 '19 08:11 kiiryuuuu

Sorry but this feature isn't currently available.

franckbour avatar Nov 12 '19 12:11 franckbour

Will it be available in the future though? Thank you for your reply :)

kiiryuuuu avatar Nov 12 '19 12:11 kiiryuuuu

Yes, could be interesting to add this feature but I'm currently running out of time for the moment. If you can't wait, you can contribute and create a pull request. Any help is appreciated :)

franckbour avatar Nov 13 '19 18:11 franckbour

@franckbour the way I implemented authentication was using a write, then a read and then another write-Essentially,

  1. Write certain information in GRPC format including framework version number and secret, onto an IOT device that communicates with the internet and verifies whether to allow that info
  2. Then it reads for an encryption token from the IOT device, which will only send the correct one if authenticated
  3. Then it writes the data in encrypted format with the functionality it wants the IOT device to perform

It performs all of this in GRPC to maintain really good security. Implementing that in this library would be really difficult.

saamerm avatar Nov 19 '20 22:11 saamerm

I'd love to request this one as well. I'm using NFC tags (NTAG213) to label physical items from within my app, so setting a password to make sure only my app can modify the data on those tags would be nice. Unfortunately my knowledge of platform specific development is lacking so I wouldn't be able to contribute to the library :/ are there any plans in the near future to explore this path?

stvaho avatar Sep 19 '21 08:09 stvaho