/emv-card-simulator

JavaCard implementation of an EMV card for payment terminal testing

Primary LanguageJavazlib LicenseZlib

Build and test

emv-card-simulator

JavaCard implementation of an EMV card for payment terminal functional and security testing.

Building

Cloning project

git clone --recurse-submodules https://github.com/mrautio/emv-card-simulator.git

Docker build

If you don't want to install Java8/Gradle(>6), you may use Docker:

docker build -t emvcard-builder -f Dockerfile .

Gradle build

If you have all developer tools existing, then you can just use Gradle:

gradle build

Update dependencies

gradle dependencies --write-locks
gradle --write-verification-metadata sha512 help
src/test/rust/simulator> cargo upgrade && cargo update && cargo audit
src/main/rust/cardtool> cargo upgrade && cargo update && cargo audit

Deploying to a SmartCard

If you have a SmartCard reader and a Global Platform compliant SmartCard, then you can deploy the application to an actual SmartCard:

gradle smartCardDeploy