Update emv_notes.md

Signed-off-by: Iceman <iceman@iuse.se>
This commit is contained in:
Iceman 2023-07-10 16:44:14 +02:00 committed by GitHub
parent 40534d1f07
commit 8550689c37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,14 +65,14 @@ They can be implemented, but it needs to know issuer's card keys (usually 3DES)
All this commands are parts of command `emv exec`.
command `emv exec` executes EMV transaction. it have parameters:
```
-j, -J, --jload Load transaction parameters from `emv/defparams.json` file.
-f, -F, --forceaid Force search AID. Search AID instead of execute PPSE.
By default: Transaction type - MSD
-v, -V, --qvsdc Transaction type - qVSDC or M/Chip.
-c, -C, --qvsdccda Transaction type - qVSDC or M/Chip plus CDA (SDAD generation).
-x, -X, --vsdc Transaction type - VSDC.
-g, -G, --acgpo VISA. generate AC from GPO.
-w, -W, --wired Send data via contact (iso7816) interface. Contactless interface set by default.
-j, --jload Load transaction parameters from `emv/defparams.json` file.
--forceaid Force search AID. Search AID instead of execute PPSE.
By default: Transaction type - MSD
-v, --qvsdc Transaction type - qVSDC or M/Chip.
-c, --qvsdccda Transaction type - qVSDC or M/Chip plus CDA (SDAD generation).
-x, --vsdc Transaction type - VSDC.
-g, --acgpo VISA. generate AC from GPO.
-w, --wired Send data via contact (iso7816) interface. Contactless interface set by default.
```
It works for VISA(r) and Mastercard(r) transactions. It may work with other EMV payment system's card (and it works in general cases that is described in EMV).
@ -96,19 +96,23 @@ MSD - compatibility mode. Now it work always. But it less secure and in near fut
^[Top](#top)
```
exec Executes EMV contactless transaction.
pse Execute PPSE. It selects 2PAY.SYS.DDF01 or 1PAY.SYS.DDF01 directory.
search Try to select all applets from applets list and print installed applets.
select Select applet.
gpo Execute GetProcessingOptions.
readrec Read files from card.
genac Generate ApplicationCryptogram.
challenge Generate challenge.
intauth Internal authentication.
scan Scan EMV card and save it contents to json file for emulator.
test Crypto logic test.
----------- ----------------------- general -----------------------
help This help
list List ISO7816 history
test Crypto logic test
----------- ---------------------- operations ---------------------
challenge Generate challenge
exec Executes EMV contactless transaction
genac Generate ApplicationCryptogram
gpo Execute GetProcessingOptions
intauth Internal authentication
pse Execute PPSE. It selects 2PAY.SYS.DDF01 or 1PAY.SYS.DDF01 directory
reader Act like an EMV reader
readrec Read files from card
roca Extract public keys and run ROCA test
scan Scan EMV card and save it contents to json file for emulator
search Try to select all applets from applets list and print installed applets
select Select applet
```
All main commands are parts of EMV specification. Commands than not described there: