This repository contains JavaCard applet designed to work with Web-eID solution.
It consists of two sub-projects (having corresponding README.md
in each sub-project) in the src
directory:
- JavaCard applet source code and build files
- Python management console (card initialization and sending APDU commands)
Currently the applet works fine with tweaked web-eid-app (install instructions here).
See individual nested READMEs for more details.
- build and (re)install JavaCard applet:
cd src/InfinitEID-applet
git submodule update --init sdks
ant -f ./build.xml
java -jar ./gp.jar --uninstall ./InfinitEID-applet.cap
java -jar ./gp.jar --install ./InfinitEID-applet.cap
- initialize card with Python management console by running
src/InfinitEID-card-management/bin/cli
and selecting initialize option
gp.jar
does not work with M1 versions of Java properly, so x86-64 version must be installed. For compatibility reasons, I also chose Java 8:
- download and install Amazon Correto 8 for macOS x86 from: https://corretto.aws/downloads/latest/amazon-corretto-8-x64-macos-jdk.pkg
- add this line to
.zshrc
or other corresponding terminal source file:alias gp="/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/bin/java -jar <replace-this-with-path-to-src/InfinitEID-applet/gp.jar>"