|
6 years ago | |
---|---|---|
source | 6 years ago | |
LICENSE | 6 years ago | |
Makefile | 6 years ago | |
README.md | 6 years ago | |
changelog.md | 6 years ago | |
icon.jpg | 6 years ago |
Lockpick is a ground-up C++17 rewrite of homebrew key derivation software, namely 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
.
titlekeys
and SD seed6.2.0
xxHash
instead of sha256
when searching exefs for keys for a ~5x speed improvementPackage2
at all, let alone decompress KIP
sheader_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)VOL
and Power
buttons to navigate, select Console info...
Print fuse info
(not kfuse info
)Power
to save fuse info to SD cardPrint TSEC keys
Power
to save TSEC keys to SD cardHomebrew Menu
Lockpick
/switch/prod.keys
file as needed and rename if required by any software you're usingYou may instead use biskeydump and dump to SD to get all keys prior to the 6.2.0 generation - all keys up to those ending in 05. Lockpick will dump all keys up to that point regardless which firmware it's run on.
6.2.0
installedpackage1_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
key6.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)Release built with libnx v1.6.0
.
Uses freetype
which comes with switch-portlibs
via devkitPro pacman
:
pacman -S libnx switch-portlibs
then run:
make
to build.
get_titlekeys.py
std::invoke
to get the function timer workingeticket_rsa_kek
derivation method and for suggesting invoking spl
for faster titlekey derivationAES
functions are from mbedtls 2.13.0 licensed under GPLv2sha256
is from Atmosphère licensed under GPLv2es
ipc code is from Tinfoil licensed under MITFatFs R0.13c
is located here and is licensed under its own BSD-style licensexxHash
implementation is from stbrumme licensed under MIT