Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LOAD failed 0x6f00 and now INITIALIZE UPDATE failed: 0x6A88 #13

Open
kirpi-1 opened this issue Jan 13, 2024 · 2 comments
Open

LOAD failed 0x6f00 and now INITIALIZE UPDATE failed: 0x6A88 #13

kirpi-1 opened this issue Jan 13, 2024 · 2 comments

Comments

@kirpi-1
Copy link

kirpi-1 commented Jan 13, 2024

I was trying to follow the readme to get started and got stuck at the "Loading applet on a ring" portion. I successfully deleted the factory-loaded applet and was trying to use gp.exe --install but it kept failing with LOAD failed 0x6f00

I then ran it without the --default flag and now I can't do anything with the ring, even gp.exe --list returns INITIALIZE UPDATE failed: 0x6A88 (referenced data not found).

What's going on? Is there a way to reset?

Running on Windows 10.

@kirpi-1
Copy link
Author

kirpi-1 commented Jan 13, 2024

running with debugging log turned on gave this:

$ gp.exe --l -d
GlobalPlatformPro v20.01.23-0-g5ad373b
Running on Windows 10 10.0 amd64, Java 1.8.0_391 by Oracle Corporation
# Detected readers from JNA2PCSC
[*] SONY FeliCa Port/PaSoRi 4.0 0
SCardBeginTransaction("SONY FeliCa Port/PaSoRi 4.0 0")
A>> T=1 (4+0000) 00A40400 00
A<< (0097+2) (32ms) 6F5F8408A000000151000000A553734906072A864886FC6B01600B06092A864886FC6B020202630906072A864886FC6B03640B06092A864886FC6B040215650B06092A864886FC6B020101660C060A2B060104012A026E01039F6E01019F6501FE 9000
[TRACE] GPSession -  [6F]
[TRACE] GPSession -      [84] A000000151000000
[TRACE] GPSession -      [A5]
[TRACE] GPSession -          [73]
[TRACE] GPSession -              [06] 2A864886FC6B01
[TRACE] GPSession -              [60]
[TRACE] GPSession -                  [06] 2A864886FC6B020202
[TRACE] GPSession -              [63]
[TRACE] GPSession -                  [06] 2A864886FC6B03
[TRACE] GPSession -              [64]
[TRACE] GPSession -                  [06] 2A864886FC6B040215
[TRACE] GPSession -              [65]
[TRACE] GPSession -                  [06] 2A864886FC6B020101
[TRACE] GPSession -              [66]
[TRACE] GPSession -                  [06] 2B060104012A026E0103
[TRACE] GPSession -          [9F6E] 01
[TRACE] GPSession -          [9F65] FE
[DEBUG] GPSession - Auto-detected ISD: A000000151000000
Warning: no keys given, using default test key 404142434445464748494A4B4C4D4E4F
[WARN] PlaintextKeys - Don't know how to calculate KCV, defaulting to SCP02
[WARN] PlaintextKeys - Don't know how to calculate KCV, defaulting to SCP02
[WARN] PlaintextKeys - Don't know how to calculate KCV, defaulting to SCP02
[INFO] GPSession - Using card master keys: ENC=404142434445464748494A4B4C4D4E4F (KCV: 8BAF47) MAC=404142434445464748494A4B4C4D4E4F (KCV: 8BAF47) DEK=404142434445464748494A4B4C4D4E4F (KCV: 8BAF47) for null
[TRACE] GPSession - Generated host challenge: 9C27B071954602C7
A>> T=1 (4+0008) 80500000 08 9C27B071954602C7 00
A<< (0000+2) (5ms) 6A88
INITIALIZE UPDATE failed: 0x6A88 (Referenced data not found)

@darconeous
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants