Command " -emv " in gp.exe
Posted: Mon Jan 30, 2017 4:20 am
I've tested a javacard using "GP.exe".
I've sent a command "-l" to a card and use "-emv" before that.If the card responses security error, Can I say that the card do not support EMV at all??
this is my command and the errors:
I've sent a command "-l" to a card and use "-emv" before that.If the card responses security error, Can I say that the card do not support EMV at all??
this is my command and the errors:
Code: Select all
c:\>gp.exe -emv -l -d -r "ACS ACR1281 1S Dual Reader ICC 0"
# Detected readers from SunPCSC
[*] ACS ACR1281 1S Dual Reader ICC 0
[ ] ACS ACR1281 1S Dual Reader PICC 0
[ ] ACS ACR1281 1S Dual Reader SAM 0
SCardConnect("ACS ACR1281 1S Dual Reader ICC 0", T=*) -> T=0, 3B7818000100000000
D3C8CD19
SCardBeginTransaction("ACS ACR1281 1S Dual Reader ICC 0")
A>> T=0 (4+0000) 00A40400 00
A<< (0094+2) (31ms) 6F5C8408A000000003000000A550734A06072A864886FC6B01600C060A2A
864886FC6B02020101630906072A864886FC6B03640B06092A864886FC6B040255650B06092B8510
864864020103660C060A2B060104012A026E01029F6501FF 9000
A>> T=0 (4+0008) 80500000 08 C2850EE1D6F4F8B7 00
A<< (0028+2) (63ms) 00000000000000000000FF020178D8153371D17ABC5187257DE96A0C 900
0
pro.javacard.gp.GPException: STRICT WARNING: Card cryptogram invalid!
Card: BC5187257DE96A0C
Host: B6C75C454A816266
!!! DO NOT RE-TRY THE SAME COMMAND/KEYS OR YOU MAY BRICK YOUR CARD !!!
at pro.javacard.gp.GlobalPlatform.printStrictWarning(GlobalPlatform.java
:184)
at pro.javacard.gp.GlobalPlatform.openSecureChannel(GlobalPlatform.java:
515)
at pro.javacard.gp.GPTool.main(GPTool.java:371)