EMV CAP

From miki
Jump to navigation Jump to search

See the website from Philippe / Jean-Pierre at EMV-CAP

EMV-CAP

A python application that fully emulates the banking calculator used to authenticates transactions with Belgian banks (ING / Fortis).

To install the application (see setup.py for help):

tar -xvzf EMVCAP-1.4.tar.gz
cd EMVCAP-1.4
sudo python setup.py install

Now the application is installed.

Install some dependencies:

 sudo apt-get install pcscd python-pyscard
 pcsc_scan                                      # Check that everything is fine (should print card ATR is a card is inserted)

Basic operations:

EMV-CAP -h                   # Get help
EMV-CAP -m1 [N]              # M1 signature (max 1 8-digit number)
EMV-CAP -m1 [N1 [N2 [...]]   # M2 signature (max 10 10-digit numbers)

Homebank on ING

  • Use -m1 with empty message to IDENTIFY
  • Use -m2 challenge1 [challenge2 [...]] to SIGN a transaction
EMV-CAP -h                # Get help
EMV-CAP -m1               # ING Identify 
EMV-CAP -m2 7722          # ING Sign, with 1 challenge='7722'

Troubleshoot

Card not found / Cannot connect to PC/SC daemon!
Kill / restart pcscd daemon:
sudo pcscd