GithubHelp home page GithubHelp logo

shchmue / lockpick Goto Github PK

View Code? Open in Web Editor NEW
526.0 526.0 122.0 822 KB

Nintendo Switch encryption key derivation homebrew

License: GNU General Public License v2.0

Makefile 0.31% C++ 3.32% C 96.37%

lockpick's People

Contributors

hookedbehemoth avatar shchmue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lockpick's Issues

Error: Please run with debug svc permissions!

When I'm running Lockpick on my Switch FW4.1 with SX OS I received this message:
Error: Please run with debug svc permissions!
I previously did every action needed in Hetake 4.5
Can you help me please.
Thank you

Homebrew

EveryTime i open homebrew and click on Lockpick to dump my keys it crashes all the time idk why i got it to work once on 6.2 after that it stoped working period it doest matter which firmware i was on which cfw i was using it crashes everytime please help

error code :2168-0002(0x4a8)
Title :0100000000001D
Firmware:7.0.1 (Atmosphere 0.8.4- master-37161c5d)

Bis_key_02 and 03 are the same

The two keys mentioned above are the same. Bis_key_03 when checking the prod key file does not have a location that it was pulled from.

can't retrieve key with 1.6.3 -> okay with 1.3.0

Using version 1.6.3 fails with this message :

can't write to sd:/switch

using version 1.3.0 without any further change, looks to be 100% fine, with the keys being produced in the switch folder as expected.

happy to reply questions/test if needed ;)

switch v 6.1.0 , versions downloaded from github directly

Its not working on FW 1.0.0

Its not working on FW 1.0.0. My file "fuses.bin" and "tsec_keys.bin" have been dumped with Hekate 4.6, but lockpick crash every time.

Input functions not declared in scope in Common.cpp

After installing the devkitPro tools for Switch, and then running make in a terminal, I got the following errors. Were any headers forgotten?
I hid my build directory for privacy. The [...] is my replacement.

Common.cpp
/[...]/Lockpick/source/Common.cpp: In function 'void Common::wait_to_exit()':
/[...]/Lockpick/source/Common.cpp:216:13: error: 'hidScanInput' was not declared in this scope
  216 |             hidScanInput();
      |             ^~~~~~~~~~~~
/home/[...]/build/homebrew-stuff/Lockpick/source/Common.cpp:217:37: error: 'CONTROLLER_P1_AUTO' was not declared in this scope
  217 |             u64 kDown = hidKeysDown(CONTROLLER_P1_AUTO);
      |                                     ^~~~~~~~~~~~~~~~~~
/home/[...]/build/homebrew-stuff/Lockpick/source/Common.cpp:217:25: error: 'hidKeysDown' was not declared in this scope
  217 |             u64 kDown = hidKeysDown(CONTROLLER_P1_AUTO);
      |                         ^~~~~~~~~~~
/home/[...]/build/homebrew-stuff/Lockpick/source/Common.cpp:218:25: error: 'KEY_PLUS' was not declared in this scope
  218 |             if (kDown & KEY_PLUS) break;
      |                         ^~~~~~~~
make[1]: *** [/opt/devkitpro/devkitA64/base_rules:14: Common.o] Error 1
make: *** [Makefile:153: build] Error 2

Doesn't work, fail to dump the keys.

I encountered a problem to make the homebrew work. My file "fuses.bin" and "tsec_keys.bin" have been dumped with Hekate 4.2, I've also try to dump the Bis keys on my SD with the Biskeydump V7 payload and the homebrew always say that it has failed to extract the keys and ask to reboot the console and to try again.

I'm on 6.1.0 with auto-RCM and burned Efuses are equal to the 4.0.1 firmware, my SD is formated to EXFAT, I have never installed the 6.2.0 firmware. I've tried with Atmosphere, Kosmos and SX OS, same result on the three CFWs. On Atmosphere the debug option is activated, on Kosmos not and on SX OS it's not possible to configure this feature.

I've tried to copy the files to the root of the "Backup" folder, to "Backup/Dumps", to "Backup/console_id/Dump", to the root of the SD and to "switch/Lockpick". I don't know what to do to make it work now, that's why I ask to you what could I forget to try.

Note: Kezplez-NX work with this configuration, maybe it's important to precise it.

Thanks.

Failed to get key_06

I have followed the guide, dumped fuses/tsec and ran Lockpick multiple times, no errors, 113 keys found but no _06 keys. I am on 6.2.0 using latest Atmosphere, I double checked. Not using any emunand.

EDIT: Does lockpick check version number using BOOT0/1? I did a NAND restore to 4.1.0 and then back to 6.2.0 but I may have possibly forgot to restore the BOOT0/1 of the 6.2.0 backup, I may not have noticed since my switch is bootable.

EDIT2: I used ChourjourNX 6.2.0->6.2.0 to restore boot files in case, no change in results, still no master key6.

keys with ending 07

Hi

at first, thx for your great programm. My Question is: Is it possible in the future, to dump keys with 07 ending? Are you working on a solution?

Thx.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.