mirror of
https://github.com/shchmue/Lockpick.git
synced 2024-11-22 08:09:22 +01:00
Update readme
This commit is contained in:
parent
34b960b774
commit
3eefba895d
21
README.md
21
README.md
@ -1,28 +1,37 @@
|
|||||||
Lockpick
|
Lockpick
|
||||||
=
|
=
|
||||||
This is a ground-up C++17 rewrite of homebrew key derivation software, namely [kezplez-nx](https://github.com/tesnos/kezplez-nx). It also dumps titlekeys. This will dump all keys through `*_key_05` on firmwares below 6.2.0 and through `*_key_06` on 6.2.0 and above.
|
This is a ground-up C++17 rewrite of homebrew key derivation software, namely [kezplez-nx](https://github.com/tesnos/kezplez-nx). It also dumps titlekeys. This will dump all keys through `*_key_05` on firmwares below `6.2.0` and through `*_key_06` on `6.2.0` and above.
|
||||||
|
|
||||||
What this software does differently
|
What this software does differently
|
||||||
=
|
=
|
||||||
* Dumps titlekeys
|
* Dumps `titlekeys`
|
||||||
|
* Dumps `6.2.0` keys
|
||||||
* Uses the superfast `xxHash` instead of `sha256` when searching exefs for keys for a ~5x speed improvement
|
* Uses the superfast `xxHash` instead of `sha256` when searching exefs for keys for a ~5x speed improvement
|
||||||
* Gets all possible keys from running process memory - this means no need to decrypt `Package2` at all, let alone decompress `KIP`s
|
* Gets all possible keys from running process memory - this means no need to decrypt `Package2` at all, let alone decompress `KIP`s
|
||||||
* Gets `header_key` without `tsec`, `sbk`, `master_key_00` or `aes` sources - which may or may not be the same way `ChoiDujourNX` does it :eyes: (and I'm gonna issue a challenge to homebrew title installers to implement similar code so you don't need your users to use separate software like this :stuck_out_tongue_winking_eye: it's up to you to figure out if the same can be done for `key_area_keys` if needed)
|
* Gets `header_key` without `tsec`, `sbk`, `master_key_00` or `aes` sources - which may or may not be the same way `ChoiDujourNX` does it :eyes: (and I'm gonna issue a challenge to homebrew title installers to implement similar code so you don't need your users to use separate software like this :stuck_out_tongue_winking_eye: it's up to you to figure out if the same can be done for `key_area_keys` if needed)
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
=
|
=
|
||||||
1. Use [Hekate](https://github.com/CTCaer/hekate/releases) to dump TSEC and fuses:
|
1. Use [Hekate v4.5+](https://github.com/CTCaer/hekate/releases) to dump TSEC and fuses:
|
||||||
1. Push hekate payload bin using [TegraRCMSmash](https://github.com/rajkosto/TegraRcmSmash)/[TegraRCMGUI](https://github.com/eliboa/TegraRcmGUI)/modchip/injector
|
1. Push hekate payload bin using [TegraRCMSmash](https://github.com/rajkosto/TegraRcmSmash)/[TegraRCMGUI](https://github.com/eliboa/TegraRcmGUI)/modchip/injector
|
||||||
2. Using the `VOL` and `Power` buttons to navigate, select `Console info...`
|
2. Using the `VOL` and `Power` buttons to navigate, select `Console info...`
|
||||||
3. Select `Print fuse info`
|
3. Select `Print fuse info`
|
||||||
4. Press `Power` to save fuses to SD card
|
4. Press `Power` to save fuse info to SD card
|
||||||
5. Select `Print TSEC keys`
|
5. Select `Print TSEC keys`
|
||||||
6. Press `Power` to save TSEC to SD card
|
6. Press `Power` to save TSEC keys to SD card
|
||||||
2. Launch CFW of choice
|
2. Launch CFW of choice
|
||||||
3. Open `Homebrew Menu`
|
3. Open `Homebrew Menu`
|
||||||
4. Run `Lockpick`
|
4. Run `Lockpick`
|
||||||
5. Use the resulting `prod.keys` file as needed and rename if required
|
5. Use the resulting `prod.keys` file as needed and rename if required
|
||||||
|
|
||||||
|
You may instead use [biskeydump](https://github.com/rajkosto/biskeydump) and dump to SD to get all keys prior to the 6.2.0 generation - all keys up to those ending in 05. This will dump all keys up to that point regardless which firmware it's run on.
|
||||||
|
|
||||||
|
Notes
|
||||||
|
=
|
||||||
|
* To get keys ending in 06, you must have firmware `6.2.0` installed
|
||||||
|
* No one knows `package1_key_06`, it's derived and erased fully within the encrypted TSEC payload. While there's a way to extricate `tsec_root_key` due to the way it's used, this is unfortunately not true of the `package1` key
|
||||||
|
* If for some reason you dump TSEC keys on `6.2.0` and not fuses (`secure_boot_key`) you will still get everything except any of the `package1` or keyblob keys (without `secure_boot_key`, you can't decrypt keyblobs and that's where `package1` keys live)
|
||||||
|
|
||||||
Building
|
Building
|
||||||
=
|
=
|
||||||
Release built with `libnx v1.6.0`.
|
Release built with `libnx v1.6.0`.
|
||||||
@ -47,7 +56,7 @@ Special Thanks
|
|||||||
* The System Save dumping methodology from Adubbz' [Compelled Disclosure](https://github.com/Adubbz/Compelled-Disclosure)
|
* The System Save dumping methodology from Adubbz' [Compelled Disclosure](https://github.com/Adubbz/Compelled-Disclosure)
|
||||||
* Shouts out to fellow key derivers: shadowninja108 for [HACGUI](https://github.com/shadowninja108/HACGUI), Thealexblarney for [Libhac](https://github.com/Thealexbarney/LibHac), and [rajkosto](https://github.com/rajkosto/) :eyes:
|
* Shouts out to fellow key derivers: shadowninja108 for [HACGUI](https://github.com/shadowninja108/HACGUI), Thealexblarney for [Libhac](https://github.com/Thealexbarney/LibHac), and [rajkosto](https://github.com/rajkosto/) :eyes:
|
||||||
* The constantly-improving docs on [Switchbrew wiki](https://switchbrew.org/wiki/) and [libnx](https://switchbrew.github.io/libnx/files.html)
|
* The constantly-improving docs on [Switchbrew wiki](https://switchbrew.org/wiki/) and [libnx](https://switchbrew.github.io/libnx/files.html)
|
||||||
* [mission2000](https://github.com/misson20000) for help with `std::invoke` to get the function timer working
|
* [misson2000](https://github.com/misson20000) for help with `std::invoke` to get the function timer working
|
||||||
* Literally the friends I made along the way! I came to the scene late and I've still managed to meet some wonderful people :) Thanks for all the help testing, making suggestions, and cheerleading!
|
* Literally the friends I made along the way! I came to the scene late and I've still managed to meet some wonderful people :) Thanks for all the help testing, making suggestions, and cheerleading!
|
||||||
|
|
||||||
Licenses
|
Licenses
|
||||||
|
Loading…
Reference in New Issue
Block a user