EMV CAP: Difference between revisions

From miki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 32: Line 32:
EMV-CAP -m1 # ING Identify
EMV-CAP -m1 # ING Identify
EMV-CAP -m2 7722 # ING Sign, with 1 challenge='7722'
EMV-CAP -m2 7722 # ING Sign, with 1 challenge='7722'
</source>

== Troubleshoot ==
;Card not found
:Kill / restart <code>pcscd</code> daemon:
<source lang=bash>
sudo pcscd
</source>
</source>

Revision as of 17:38, 24 April 2016

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
Kill / restart pcscd daemon:
sudo pcscd