EMV CAP: Difference between revisions

From miki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 12: Line 12:


Install some dependencies:
Install some dependencies:
<source lang=bash>
sudo apt-get install python-pyscard
sudo apt-get install pcscd python-pyscard
pcsc_scan # Check that everything is fine (should print card ATR is a card is inserted)
</source>

Basic operations:
<source lang=bash>
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)
</source>

=== Homebank on ING ===
* Use <code>-m1</code> with empty message to '''IDENTIFY'''
* Use <code>-m2 challenge1 [challenge2 [...]]</code> to '''SIGN''' a transaction


<source lang=bash>
<source lang=bash>
EMV-CAP -h # Get help
EMV-CAP -h # Get help
EMV-CAP -m1
EMV-CAP -m1 # ING Identify
EMV-CAP -m2 7722 # ING Sign, with 1 challenge='7722'
</source>

== Troubleshoot ==
;Card not found / Cannot connect to PC/SC daemon!
:Kill / restart <code>pcscd</code> daemon:
<source lang=bash>
sudo pcscd
</source>
</source>

Latest revision as of 05:22, 23 August 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 / Cannot connect to PC/SC daemon!
Kill / restart pcscd daemon:
sudo pcscd