EXT AUTH PLAIN
I want to authenticate with JCOP card in plain mode.
1) My confusion is in PLAIN mode, do I need to append MAC in EXT
_AUTH command?
2) P1of EXT AUTH in plain mode will be 1if MAC.
3)But in JCOP shell when we do auth in plain mode it is sending ext-auth like
84 82 00 00 10 2E 68 3E 44 C5 9A E8 67 B0 11 B0 FE C1 18 FB D2
Here p1 and p2 is 0 but there is mac so why p1 is 0?
How to do ext-auth in plain mode with jcop card?
[472 byte] By [
j2miana] at [2007-10-3 7:03:39]

In ext-auth, C-MAC must be exist. If you want to send the following command without C-MAC and encryption, you can set p1=0 in ext-auth and then send your cmds without security.In JCOP, the C-MAC algo is ISO9797_1M2Algo3.Message was edited by: reon
reona at 2007-7-15 1:57:09 >

Hi
Externel Authentication command must have host cryptogram and mac
If you execute EXT-AUTH command , your command after EXT-AUTH command is applied to security Level
For example,
SecurityLevelCommand
00command + nothing
01command + C-MAC
02command + C-DECRYPTION + C-MAC
To conclude EXT-AUTH command must have MAC
but command after EXT-AUTH command is optional
by mnilcl