philipWendland / IsoApplet

A Java Card PKI Applet aiming to be ISO 7816 compliant
GNU General Public License v3.0
165 stars 72 forks source link

Support jcardsim and J3H081 #31

Open anrp opened 1 year ago

anrp commented 1 year ago

jcardsim's PersistentSimulatorRuntime cannot persist Signature objects, so make those temporary and not part of the class object. Additionally, allow skipping checks for RSA4096 and for RSA PSS, as even just testing them can prevent applet installation on certain cards (J3H081).

anrp commented 1 year ago

The changes to support jcardsim PersistentSimulatorRuntime may not be a good call, I'm not sure - since Signature objects have to be deleted by the card runtime, and if it doesn't support it it will quickly break.

philipWendland commented 11 months ago

The changes to support jcardsim PersistentSimulatorRuntime may not be a good call, I'm not sure - since Signature objects have to be deleted by the card runtime, and if it doesn't support it it will quickly break.

I am not sure, but I think I agree. Maybe there is another way?

If I am not mistaken, the J3H081 is an older card that seems to target JavaCard 3.0.1 classic. Please use the legacy version of IsoApplet as indicated in the readme.