https://github.com/stargate01/demoapplet
Demonstation Javacard applet
https://github.com/stargate01/demoapplet
Last synced: 11 months ago
JSON representation
Demonstation Javacard applet
- Host: GitHub
- URL: https://github.com/stargate01/demoapplet
- Owner: StarGate01
- License: mit
- Created: 2025-05-22T23:34:48.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-05-23T19:11:50.000Z (about 1 year ago)
- Last Synced: 2025-08-29T09:56:36.803Z (11 months ago)
- Language: Java
- Size: 1.74 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Demo JavaCard Applet
This is a small demo applet, intended to show how tooling and programming for javaCard works at Grindfest 2025.
The applet generates and stores an AES128 key, and is then able to encrypt and decrypt a fixed sized buffer of supplied data using that key.
The included VSCode configuration provides all the tasks you need.
## Compilation
This applet used `ant-javacard`, another choice could have been e.g. `maven`.
If you use Nix, a flake and direnv configuration is provided. Otherwise, make sure your system has Java 8, `ant`, `maven` and Python 3 with `pyscard`.
## Emulation
You can use the `vsmartcard` virtual reader to create a virtual reader on your system, and then use the `jcardsim` emulator to attach an emulated instance of the applet to it.
## Interaction
Use the provided `interface.py` script to run a simple encryption and decryption demo.
## Disclaimer
This code serves for educational use only and does not hold up the the security requirements of real world usage.