Skip to content
A simulator that make testing and debugging status-keycard easier
Java
Branch: master
Clone or download
Latest commit 2fcfefb Aug 31, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper Initial commit Sep 1, 2019
jcardsim @ 6bd1944 Initial commit Sep 1, 2019
src/main/java/com/bakaoh/smartcard/simulator Initial commit Sep 1, 2019
status-keycard @ 684566c Initial commit Sep 1, 2019
.gitignore Initial commit Sep 1, 2019
.gitmodules
README.md Initial commit Sep 1, 2019
build.gradle Initial commit Sep 1, 2019
gradlew Initial commit Sep 1, 2019
gradlew.bat Initial commit Sep 1, 2019
settings.gradle Initial commit Sep 1, 2019

README.md

Keycard Simulator

A simulator that make testing and debugging status-keycard easier. Without the need of real card or card reader, it lowers the barrier to entry for newcomers.

Why do i need a keycard simulator?

asciicast

Usage

Install Virtual Smart Card

Clone this repo and fetch submodules

$ git clone https://github.com/bakaoh/keycard-simulator.git
$ cd keycard-simulator
$ git submodule init
$ git submodule update

Run Keycard Simulator

$ ./gradlew run

Try it with keycard-cli

$ keycard info -l debug

Install Virtual Smart Card on Ubuntu

Install linux dependency

$ sudo apt-get install pcscd libpcsclite-dev

Download and build the virtual smart card and its reader driver

$ git clone https://github.com/frankmorgner/vsmartcard.git
$ cd vsmartcard/virtualsmartcard
$ autoreconf --verbose --install && ./configure && sudo make install

Restart pcscd to load the new reader driver

$ sudo /etc/init.d/pcscd restart

Check if the vpcd port is listening

$ sudo netstat -ntpla | grep 35963
You can’t perform that action at this time.