I have installed the popular IsoApplet (https://github.com/philipWendland/IsoApplet) on my 2.2.2 javacard and have been able to use the pkcs11-tool
and pkcs15-tool
from the OpenSC project to generate private keys on the card and use them to authenticate to servers over SSH.
Separately, I was able to successfully use the challenge-response of my Yubikey 5 (https://www.yubico.com/products/services-software/personalization-tools/challenge-response/) in order to add security to unencrypting a KeepassXC database.
Now, I'd like to add https://github.com/arekinath/YkOtpApplet to the same javacard that has the IsoApplet. How do external applications interact with separate applications on the javacard? Can I have both of these apps on the same javacard? Are the limits just the storage on the card?
I have two cards available:
- NXP JCOP3 J3H145 Java Card 3.0.4
- JavaCOS A22 155K Java Card 2.2.2