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

Installed but no ndef data [help] #18

Open
PixsaOJ opened this issue Apr 21, 2022 · 5 comments
Open

Installed but no ndef data [help] #18

PixsaOJ opened this issue Apr 21, 2022 · 5 comments

Comments

@PixsaOJ
Copy link

PixsaOJ commented Apr 21, 2022

Please help.

I am writing cap files successfully. Both pre-built and the one I made.

I know Tag writer app had issues with this applet, but I have no indication in other apps that my NFC card supports ndef.

I do not know how to generate the correct AID for this. Tried: 5A47B1C6ED8E5D7656B1E070 for cap and 5A47B1C6ED8E5D7656B1E07001 for applet.

Can somebody help me? Maybe the problem is wrong AID that does not support NDEF.

Have issues with both full and tiny example.

@PixsaOJ
Copy link
Author

PixsaOJ commented Apr 23, 2022

I tried D27600012401 and random 6 bytes. Nothing works.

java -jar gp.jar \
        -create 9f6bfef7f4c2 \
        -params 810200F182020800 \
        -install "build/javacard/openjavacard-ndef-full.cap" \

used -create and -applet

@PixsaOJ
Copy link
Author

PixsaOJ commented Apr 23, 2022

@promovicz sorry for tagging you. This is an inactive repository, but I really need urgent help. Hopefully you don't mind.

@martinpaljak
Copy link

https://stackoverflow.com/questions/66951988/nfc-4atag-iso-dep-apdu-and-ndef

@PixsaOJ
Copy link
Author

PixsaOJ commented Apr 24, 2022

https://stackoverflow.com/questions/66951988/nfc-4atag-iso-dep-apdu-and-ndef

Thanks for your reply.

So what does this imply? Should I use e1 03 as CAP aid and D27600012401 as applet aid?

@PixsaOJ
Copy link
Author

PixsaOJ commented Apr 24, 2022

e103 is short, I tried CAP ID D27600012400 and APPLET ID D27600012401 but got error while installing:

CAP loaded
INSTALL [for install and make selectable] failed: 0x6984

output of gp -l

➜  openjavacard-ndef git:(master) ✗ gp -l
ISD: A000000151000000 (OP_READY)
     Parent:  A000000151000000
     From:    A0000001515350
     Privs:   SecurityDomain, CardLock, CardTerminate, CardReset, CVMManagement, TrustedPath, AuthorizedManagement, TokenVerification, GlobalDelete, GlobalLock, GlobalRegistry, FinalApplication, ReceiptGeneration

PKG: A0000001515350 (LOADED)
     Parent:  A000000151000000
     Version: -1.-1
     Applet:  A000000151535041

PKG: D276000085304A434F9000 (LOADED)
     Parent:  A000000151000000
     Version: 1.0
     Applet:  D276000085304A434F900001

PKG: D27600012400 (LOADED)
     Parent:  A000000151000000
     Version: 3.0
     Applet:  D27600012401

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

No branches or pull requests

2 participants