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

Help with ACOSJ after CAP Loading #55

Open
A4EVA opened this issue Jan 26, 2025 · 0 comments
Open

Help with ACOSJ after CAP Loading #55

A4EVA opened this issue Jan 26, 2025 · 0 comments

Comments

@A4EVA
Copy link

A4EVA commented Jan 26, 2025

Hello, I'm a happy user of the SmartPGP applet, I built and installed in some J3H145 smart cards without any problem. I recently acquired a couple of ACOSJ 40K from smartcardfocus.com and now I'm trying to test them with the SmartPGP applet. From what I was able to understand those cards seems to need a special initialization before that GlobalPlatformPro can lock, unlock or program the card so to begin with I used apdu4j.jar to send 2 commands to the card:

java -jar apdu4j.jar --sun --no-get-response -dv -a 00A4040010E11987EE331B417A5D67D760692F89D4 java -jar apdu4j.jar --sun --no-get-response -dv -a 80d5000000

After this GlobalPlatformPro was able to lock/unlock the card and I was able to load the applet with a simple:

java -jar gp.jar -install SmartPGPApplet.cap -default

The applet is loaded without problems but it is like is not running I also tried on Windows with Kleopatra but the card is not recognised. This is the output of gp -l

ISD: A000000151000000 (OP_READY) Privs: SecurityDomain, CardLock, CardTerminate, CVMManagement, TrustedPath, AuthorizedManagement, GlobalDelete, GlobalLock, GlobalRegistry, FinalApplication

APP: D276000124010304AFAF000000000000 (SELECTABLE) Privs: CardReset

PKG: D27600012401 (LOADED) Applet: D276000124010304AFAF000000000000888888

After loading the applet do I need to do something else with those ACOSJ cards ? I'm new to javacard so any help will be really appreciated

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

1 participant