how to install asn1 in windows?!
Before they started using edge tokens, you could have.I don't get it, can I access the Nintendo CDN from my console if I use this ?
OK guys, I did a python re-write, so now it's only one python script!
Download python, and the attached CertNXtractionPack.zip
NOTE: The below link will have the most updated versions of the scripts...
https://gist.github.com/SocraticBliss/4410790b6e5a27161f521c45d1eb2684
PREREQUISITES
- Get your BIS Keys (via biskeydump)
- Dump your SYSNAND (via hekate)
- Decrypt your PRODINFO (BIS 0 Key) and Save to file - PRODINFO.bin to your working directory (via HacDiskMount)
- Edit keys.txt and replace ONLY the 32 F's with the correct keys!
- Make sure the following files are in your working directory before running the batch script:
- CertNXtractionPack.cmd
- CertNXtractionPack.py
- keys.txt
- openssl.exe
- PRODINFO.bin
- Double-click on the CertNXtractionPack.cmd
- Enjoy!
Works perfect!! I get the files "certificate.pem" "nx_tls_client_cert.pem" "nx_tls_client_cert.pfx" and "privatekey.pem" with your script. Thanks a lot!!
There is any way to get the "certificate.cert" file with this method?
just remove line 42 in the cmd file...
DEL certificate.der >NUL 2>&1
then just rename .der to cert I guess?
I always get thisOK guys, I did a python re-write, so now it's only one python script!
Download python, and the attached CertNXtractionPack.zip
NOTE: The below link will have the most updated versions of the scripts...
https://gist.github.com/SocraticBliss/4410790b6e5a27161f521c45d1eb2684
PREREQUISITES
- Get your BIS Keys (via biskeydump)
- Dump your SYSNAND (via hekate)
- Decrypt your PRODINFO (BIS 0 Key) and Save to file - PRODINFO.bin to your working directory (via HacDiskMount)
- Edit keys.txt and replace ONLY the 32 F's with the correct keys!
- Make sure the following files are in your working directory before running the batch script:
- CertNXtractionPack.cmd
- CertNXtractionPack.py
- keys.txt
- openssl.exe
- PRODINFO.bin
- Double-click on the CertNXtractionPack.cmd
- Enjoy!
I always get this
Verifying keys... Traceback (most recent call last):
File "CertNXtractionPack.py", line 178, in <module>
main()
File "CertNXtractionPack.py", line 154, in main
if (sha256(value).hexdigest().upper() != hashes[key]):
TypeError: Unicode-objects must be encoded before hashing
How ?Man I am always late to seeing these things... I think this is an issue with python 3, I think Python 2 doesn't have this problem, I think you can fix it by just changing line 154 to...
if (sha256(value.encode('utf-8')).hexdigest().upper() != hashes[key]):
I updated the gist as well...
How ?
I still get the same except it shows the new line insteadMan I am always late to seeing these things... I think this is an issue with python 3, I think Python 2 doesn't have this problem, I think you can fix it by just changing line 154 to...
if (sha256(value.encode('utf-8')).hexdigest().upper() != hashes[key]):
I updated the gist as well...
How ?
--------------------- MERGED ---------------------------
I still get the same except it shows the new line instead
I always get this
Verifying keys... Traceback (most recent call last):
File "CertNXtractionPack.py", line 178, in <module>
main()
File "CertNXtractionPack.py", line 154, in main
if (sha256(value).hexdigest().upper() != hashes[key]):
TypeError: Unicode-objects must be encoded before hashing
I'm running Windows 10Bizarre... maybe file endings? running it on unix/linux or Windows? I'll have to test a few things I guess...
I always get this
Verifying keys... Traceback (most recent call last):
File "CertNXtractionPack.py", line 178, in <module>
main()
File "CertNXtractionPack.py", line 154, in main
if (sha256(value).hexdigest().upper() != hashes[key]):
TypeError: Unicode-objects must be encoded before hashing
you sure the DLL's on your box are pointing tot he correct key hooks in registry ? As in i would do on a clean VM, a new test with the correct builds in place .....I'm having simlar issue, but error is sligtly different.
Checking python module dependencies...
Verifying keys... Traceback (most recent call last):
File "CertNXtractionPack.py", line 178, in <module>
main()
File "CertNXtractionPack.py", line 154, in main
if (sha256(value.encode('utf-8')).hexdigest().upper() != hashes[key]):
AttributeError: 'bytes' object has no attribute 'encode'
Script was run on windows 7 with python 3.5 installed. But with 2.7 I've had an error too, just not sure if it was the same or different one.