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 |
- tools - package contains common classes, used in other ID PASS applets. MUST be uploaded first.
- auth - package contains applet for Personas authentication
- sam - package contains applet for encryption and decryption Personas data
- datastorage - package contains applet for personas data storage
ID PASS applets support ExtendedLength APDUs. Project contains scripts folder with JCShell scripts for demonstration and testing.
Contributions are welcome!
- Newlogic Impact Lab
- Maksim Samarskiy