ihaveamac / ninfs

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

"KeyslotMissingError: normal key for keyslot 0x40 is not set up" #3

Closed mariomadproductions closed 6 years ago

mariomadproductions commented 6 years ago

Warning: TMD Content size and filesize of 00000000 are different. Failed to mount /0000.00000000.ncch: KeyslotMissingError: normal key for keyslot 0x40 is not set up Failed to mount /0001.00000001.ncch: KeyslotMissingError: normal key for keyslot 0x40 is not set up i'm trying to mount CDN contents for 00040000001ad700. I'm using v1.0b6 64-bit Windows exe.

ihaveamac commented 6 years ago

make sure your contents are valid. this title works for me.

mariomadproductions commented 6 years ago

I'm a bit of an idiot. I download the title using nustool, which decrypted the CDN encryption (or should have). Does fuse-3ds support CDN contents without CDN encryption?

ihaveamac commented 6 years ago

only if the encryption bit on each content in the tmd is not on. otherwise you can try renaming the tmd to 00000000.tmd and try the titledir mount.

mariomadproductions commented 6 years ago

I got it to work with the NCCH mount. But that's a useful tip regarding the titledir mount.

ihaveamac commented 6 years ago

turns out --dec-key was broken the whole time since I forgot to move it to a newer crypto system.