blawar / nut

GNU General Public License v3.0
1.09k stars 189 forks source link

[Feature] Add suggest to copy your prod.keys file inside root folder of project in README #436

Open EvilBorsch opened 1 year ago

EvilBorsch commented 1 year ago

Is your feature request related to a problem? Please describe. If i try to decompress nsz i cant do it because of Exception
File "/Users/d.gulyachenkov/nut/Fs/Nca.py", line 507, in open self.partition(0x0, 0xC00, self.header, Fs.Type.Crypto.XTS, uhx(Keys.get('header_key'))) File "/Users/d.gulyachenkov/nut/nut/Keys.py", line 43, in get return keys[key] KeyError: 'header_key' I dont find in README.md information about i need to copy my prod.keys file and things start to work. As a user I need to read a code, to make a sense whats going on in program. People dont get it!!!!!

Describe the solution you'd like Add to instruction for macOS and Windows and linux, paragraph that said that i need to copy prod.keys file, and you can get it from google or from your console

Describe alternatives you've considered No alternatives, its must have

EvilBorsch commented 1 year ago

And i dont get message in Keys.py where launching program could not load find or load keys.txt, all crypto operations will fail. See keys_template.txt for an example of how this file should look so it not ovious x2