ATR 两次复位后自动改变

ATR is change automatically after two reset

我有一张JCOP V2.4.2 r3 Java卡。当我将它插入我的 ACR38 reader 并使用 OpenSC-Tool 发送两个连续的 ATR 请求时,我收到两个不同的 ATR!可以吗?

看:

CommandLine> OSC.exe -a
Using reader with a card: ACS CCID USB Reader 0
3b:f0:13:00:00:81:31:fe:45:e8

CommandLine> OSC.exe -a
Using reader with a card: ACS CCID USB Reader 0
3b:f9:13:00:00:81:31:fe:45:4a:43:4f:50:32:34:32:52:33:a2

如果我毫不拖延地重复我的请求,我将一次又一次地收到第二个 ATR :

CommandLine> OSC.exe -a
Using reader with a card: ACS CCID USB Reader 0
3b:f9:13:00:00:81:31:fe:45:4a:43:4f:50:32:34:32:52:33:a2

CommandLine> OSC.exe -a
Using reader with a card: ACS CCID USB Reader 0
3b:f9:13:00:00:81:31:fe:45:4a:43:4f:50:32:34:32:52:33:a2

CommandLine> OSC.exe -a
Using reader with a card: ACS CCID USB Reader 0
3b:f9:13:00:00:81:31:fe:45:4a:43:4f:50:32:34:32:52:33:a2

但是如果我等待大约 1 分钟(并且不从 reader 中取出卡),然后再次请求 ATR,我会收到第一个短 ATR :

CommandLine> OSC.exe -a
Using reader with a card: ACS CCID USB Reader 0
3b:f9:13:00:00:81:31:fe:45:4a:43:4f:50:32:34:32:52:33:a2

// Waiting about 1 minutes while card is inserted in the reader.
CommandLine> OSC.exe -a
Using reader with a card: ACS CCID USB Reader 0
3b:f0:13:00:00:81:31:fe:45:e8

//Requesting ATR again and without delay.
CommandLine> OSC.exe -a
Using reader with a card: ACS CCID USB Reader 0
3b:f9:13:00:00:81:31:fe:45:4a:43:4f:50:32:34:32:52:33:a2

如果没有提到 reader,我最好的猜测是,您会体验到 冷重置暖重置 之间的区别],参见 ISO 7816-3。

但由于唯一的区别是,在短版本中没有提供历史字节,而在长版本中,9 个历史字节指示 "JCOP242R3",这肯定是次要的。