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

compatible with Omni ring? #12

Open
NeuerUser opened this issue Jun 12, 2024 · 1 comment
Open

compatible with Omni ring? #12

NeuerUser opened this issue Jun 12, 2024 · 1 comment

Comments

@NeuerUser
Copy link

Does anyone know if the OMNI ring by NFCrings is suitable for the SatoChip app? (https://store.nfcring.com/products/omni?variant=30878229987373)

JavaCard 3.0.1, GP 2.2.1

It is based on an Infineon SLE78 chip.

Thanks!

@Toporin
Copy link
Owner

Toporin commented Jul 2, 2024

According to a user on telegram, the cap file fails to load with error 0x6438.
We will investigate the issue.

$ java -jar gp.jar --install SatoChip-0.12-05.cap -v
GlobalPlatformPro v20.01.23-0-g5ad373b
Running on Linux 6.5.0-35-generic amd64, Java 17.0.11 by Ubuntu
Reader: SCL3711 Reader and NFC Device 00 00
ATR: 3B88800100000011778183006D
More information about your card:
    http://smartcard-atr.appspot.com/parse?ATR=3B88800100000011778183006D

[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
[DEBUG] GPSession - Host challenge: ECCEFE20A9429531
[DEBUG] GPSession - Card challenge: 00076CE13DBDC526
[DEBUG] GPSession - Card reports SCP02 with key version 1 (0x01)
[INFO] GPSession - Diversified card keys: ENC=404142434445464748494A4B4C4D4E4F (KCV: 8BAF47) MAC=404142434445464748494A4B4C4D4E4F (KCV: 8BAF47) DEK=404142434445464748494A4B4C4D4E4F (KCV: 8BAF47) for SCP02
[INFO] GPSession - Session keys: ENC=A2268F71917EFE0F33CC6166E1154E27 MAC=7A227D376A9DBE23AB50B7DCB45B2093 RMAC=EF14C57DB4BB9015E88963D9D920A588, card keys=ENC=404142434445464748494A4B4C4D4E4F (KCV: 8BAF47) MAC=404142434445464748494A4B4C4D4E4F (KCV: 8BAF47) DEK=404142434445464748494A4B4C4D4E4F (KCV: 8BAF47) for SCP02
[DEBUG] GPSession - Verified card cryptogram: 8302A5087326E1AC
[DEBUG] GPSession - Calculated host cryptogram: 14F1D55228E97487
CAP file (v2.1), contains: applets for JavaCard 3.0.4
Package: org.satochip.applet 5361746F43686970 v0.1
Applet:  org.satochip.applet.CardEdge 5361746F4368697000
Import:  A0000000620001                   v1.0 java.lang
Import:  A0000000620101                   v1.5 javacard.framework
Import:  A0000000620102                   v1.5 [javacard.security](https://javacard.security/)
Import:  A0000000620201                   v1.5 javacardx.crypto
Generated by Oracle Corporation converter  [v3.0.4]
On Mon Sep 27 14:14:10 CEST 2021 with JDK 1.8.0_172 (Oracle Corporation)
Code size 17089 bytes (19352 with debug)
SHA-256 223fff457558d35e843d3bce8922fa26a7bbe075fc51c45ca59dc34d170477eb
SHA-1   9a0a250e992c00aff3863957fc97ddb720236116
[DEBUG] GPRegistry - Registry already contains PKG: D276000085, 1
LOAD failed: 0x6438
```

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