cmdwtf / Odiin

Attempts at nRF52840 ISO 14443-A magic!
https://cmd.wtf/projects#odiin
BSD Zero Clause License
126 stars 22 forks source link

Setting: Auto-randomize UID on load #35

Open nitz opened 4 years ago

nitz commented 4 years ago

https://trello.com/c/8BOcjNdc/71-setting-auto-randomize-uid-on-load

micahvdm commented 1 month ago

Hi, very cool project you got here! Any chance this was ever completed?

nitz commented 1 month ago

Hey! Thanks! Unfortunately, it wasn't. I actually ended up giving my last prototype hardware I built up to a friend, so I never got back around to working on it anymore since I didn't have the hardware to develop/test on.

I however did import code from https://github.com/socram8888/amiitool and re-implement the crypto functions using the nRF hardware API. I never did get it hooked the user interface (neither key loading nor a button to randomize.) I feel like I remember thinking I needed to come up with a slightly different way to hold loaded tags in memory so I could modify a copy but quickly re-load the original when needed. (A side effect of that was because of wanting to work on write capability for the tags, which required a whole slew of other functionality and user interface. 🙃 )

I don't recall actually testing my implementation of the modified crypto bits, but I have a hunch it works as I've seen copies of the code end up in other projects.

If you haven't already built an Odiin and are just looking for something that will work for you, you might want to check out the Bluup Flask, which has had support for randomizing UID for a little while now. I do own one of those and find it quite wonderful.

If you have built an Odiin and want to take a crack at finishing implementing this, I'd love to provide assistance and guidance as much as possible :)

Cheers

solosky commented 1 month ago

Hi there, I think you may be intrested in my project: https://github.com/solosky/pixl.js It contains lots of feature for emulate amiibo figures and, of course the auto randomize UID feature!