The project is built using Gradle with the Fidesmo Javacard Gradle plugin.
You can set the JavaCard HOME not only through the environment but also creating a gradle.properties
file with the
property com.fidesmo.gradle.javacard.home
set to the correct absolute path. Here is an example gradle.properties
content:
com.fidesmo.gradle.javacard.home=/absolute/path/to/card-applets/libs-sdks/jc304_kit/
However, the _JAVA_OPTIONS
can only be set at an environment level. Please see build.sh
. Whereas currently this project
uses Gradle version 4.7, the highest alternative version usable is version 4.10.3. This Gradle version constraint is imposed
upon by the com.fidesmo:gradle-javacard:0.2.7
javacard Gradle plugin that this project is using.
SW | DESCRIPTION |
---|---|
0x9000 | No error |
0x6982 | SCP Security Level is too low |
0x6B00 | Incorrect parameters (P1,P2) |
0x6700 | Wrong DATA length |
ID PASS applets support ExtendedLength APDUs. Project contains scripts folder with JCShell scripts for demonstration and testing.
Contributions are welcome!