Hacking DIY amiibo cards

Julizi

Well-Known Member
Member
Joined
Jul 3, 2015
Messages
110
Trophies
0
Age
124
XP
348
Country
Germany
I haven't got my head around the final encrypting stage yet,
I thought SuperCool figured it out, did'nt he?
I'm not actually comfortable posting code to do this (don't want to get in trouble with anybody, and the previous code I posted is really just a python port of amiitool with some added nfc stuff). The missing piece however is in fact using the locked secret keys to generate another derived keyset, and then using the hmac key from that keyset to hash the last two pieces hashed for the key at 0x80 (0x00 to 0x08 and 0x54 to 0x80). I actually just guessed this, and it was essentially my first guess after I thought to use the locked secret keys. I'll let somebody else write up the final code and share it.
 

nurofen

Member
Newcomer
Joined
Jan 5, 2016
Messages
19
Trophies
0
Age
52
XP
64
Country
I thought SuperCool figured it out, did'nt he?

"The missing piece however is in fact using the locked secret keys to generate another derived keyset, and then using the hmac key from that keyset to hash the last two pieces hashed for the key at 0x80 (0x00 to 0x08 and 0x54 to 0x80)"

Unfortunately I don't really understand this, I have a kind of idea of what this means, but not enough to code anything.
 
Last edited by nurofen,

Bug_Checker_

Well-Known Member
Member
Joined
Jun 10, 2006
Messages
950
Trophies
0
XP
664
Country
United States
Last edited by Bug_Checker_,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    BakerMan @ BakerMan: 😭