JavaCard implementation of an EMV card for payment terminal functional and security testing / fuzzing.
If you need a payment terminal simulator for testing, try emvpt project.
git clone --recurse-submodules https://github.com/mrautio/emv-card-simulator.git
If you don't want to install Java8/Gradle(>6), you may use Docker:
docker build -t emvcard-builder -f Dockerfile .
If you have all developer tools existing, or enter to nix-shell
, then you can just use Gradle:
gradle build
Run the GitHub Actions Workflow.
If you have a SmartCard reader and a Global Platform compliant SmartCard, then you can deploy the application to an actual SmartCard. Common installation issue is to use incorrect JavaCard SDK version, set correct with jc_version.
# Deploy payment selection app to a JavaCard 2 SmartCard
gradle deployPse -Pjc_version=2.2.2
# Deploy the payment app to a JavaCard 2 SmartCard
gradle deployPaymentApp -Pjc_version=2.2.2