ihaveamac / ninfs

FUSE filesystem Python scripts for Nintendo console files
MIT License
438 stars 18 forks source link

ninfs seems to have issues decrypting sector0x96 #58

Closed ItsPizzaTime1501 closed 3 years ago

ItsPizzaTime1501 commented 4 years ago

I mounted 2 different nand backups(one with an a9lh key2 set as key2 in secret sector and the other has a normal secret sector) and both of the secret sectors from the mounted nands we're incorrect.

ihaveamac commented 4 years ago

Are they correct when decrypted through GodMode9?

ItsPizzaTime1501 commented 4 years ago

yes

ihaveamac commented 4 years ago

Looks like it was wrong the whole time...

ihaveamac commented 4 years ago

Fixed with https://github.com/ihaveamac/pyctr/commit/89d4c386f482f382761e7322aa2861c1a205f0c4

ihaveamac commented 4 years ago

2.0 branch now uses pyctr 0.4.1 which should fix this.