philipWendland / IsoApplet

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

Please provide a compiled v1.6.1 version #35

Open gdmeunier opened 2 months ago

gdmeunier commented 2 months ago

Hello, I want to ask you if you can provide us with the compiled version of the v1 branch for newer Javacards (a v1.6.1 version).

Your latest v0.6.1 release says it's the older v0 branch with these restrictions:

no extended APDUs
private key import not allowed
PUK must be set (length: 16)

I say restrictions because I wanted to be able to import private keys and not need to set a PUK (I prefer unblocking with 3DES + Admin Key).

I tried compiling this Javacard project with ant-javacard & the JCKit but everytime it failed with missing smartcard.crypto packages, I didn't find any way to 'add package' in JCIDE (part of JCKit).

So if you could support the following it would be awesome:

I hope you can help out for releasing compiled .cap files (I prefer the unstripped ones, just generated as-is then released).

Thanks!

martinpaljak commented 2 months ago
@@ -8,7 +8,7 @@
     <target name="dist" description="generate the distribution">
         <tstamp/>
         <javacard jckit="ext/sdks/jc310r20210706_kit">
-            <cap targetsdk="ext/sdks/jc304_kit" aid="f2:76:a2:88:bc:fb:a6:9d:34:f3:10" output="IsoApplet.cap" sources="src" version="1.0">
+            <cap targetsdk="3.0.4" aid="f2:76:a2:88:bc:fb:a6:9d:34:f3:10" output="IsoApplet.cap" sources="src" version="1.0">
                 <applet class="xyz.wendland.javacard.pki.isoapplet.IsoApplet" aid="f2:76:a2:88:bc:fb:a6:9d:34:f3:10:01"/>
             </cap>
         </javacard>