NFC crypto applet source code available
Updates: 14/09/2016: Added applet binary.
Binaries are available:
- Applet: kpnfc.cap
- Desktop client for applet (required to (re-)generate card public keys): JavaClient.jar
- KeePassNFC: KeePassNFC.apk
Building from source
To compile the applet yourself, you'll need to add the following to the ext/ directory:
These are both available from Martin Paljak's excellent AppletPlayground repository.
$ cd applet
You can then install the app using a Global Platform client. To do it using Martin Paljak's gp.jar:
$ java -jar gp.jar --install kpnfc.app
Pre-installation requirement: public key
Before using the applet, you must instruct it to generate a private key. This is done off-device because it takes quite a long time.
$ cd JavaClient
$ java -jar JavaClient.jar generate_card_key