JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html

new A40CR & digital signature

JavaCard Applet Development Related Questions and Answers.
vletoux
Posts: 9
Joined: Fri Jan 22, 2016 3:43 pm
Points :287
Contact:

new A40CR & digital signature

Post by vletoux » Sun Jul 03, 2016 1:59 pm

Hi,
I'm trying to adapt the GIDS applet to the new A40CR (and A22) card.
2 issues were known.
1) the bug in the old firmware of the A40CR relating to digital signature computation
2) the GIDS applet consumes too much memory and prohibit the load on the AXX card.

Well, I got new cards (a batch of 50 cards that I ordered in January) and I worked to reduce the ram footprint.
This is the branch "less_memory" on https://github.com/vletoux/GidsApplet
Every work fine on unit test and a batch of test cards.

But when doing the same test on a A40CR card, the signature generation failed.
I managed to track the bug which is generated on this line:
https://github.com/vletoux/GidsApplet/b ... .java#L771
The exception thrown is a CryptoException with the code 5 (ILLEGAL_USE).

The code ILLEGAL_USE is related to
https://www.win.tue.nl/pinpasjc/docs/ap ... LLEGAL_USE
This reason code is used to indicate that the signature or cipher algorithm does not pad the incoming message and the input message is not block aligned.

but in the documentation, I can read that
http://www.win.tue.nl/pinpasjc/docs/api ... _RSA_PKCS1
Cipher algorithm ALG_RSA_PKCS1 provides a cipher using RSA, and pads input data according to the PKCS#1 (v1.5) scheme.

Do you have any ideas of what can be the cause of the problem ?
Every thing works fine on other cards.

regards,
Vincent

User avatar
JavaCardOS
Posts: 273
Joined: Thu Apr 30, 2015 12:00 pm
Points :2405
Contact:

Re: new A40CR & digital signature

Post by JavaCardOS » Sun Jul 03, 2016 10:08 pm

Could you please tell us your A40CR card's ATR? Thanks in advance!

vletoux
Posts: 9
Joined: Fri Jan 22, 2016 3:43 pm
Points :287
Contact:

Re: new A40CR & digital signature

Post by vletoux » Mon Jul 04, 2016 2:25 am

I've 2 kind of ATR. Both doesn't work (I didn't check the A22 card I bought)

replacement card for boggus A40 card
3b 9f 95 81 31 fe 9f 00 66 46 53 05 10 00 ff 71 df 00 00 00 00 00 ec
batch of 50 bought in January
3b fc 18 00 00 81 31 80 45 90 67 46 4a 01 00 20 05 00 00 00 00 4e

regards,
Vincent

vletoux
Posts: 9
Joined: Fri Jan 22, 2016 3:43 pm
Points :287
Contact:

Re: new A40CR & digital signature

Post by vletoux » Mon Jul 04, 2016 2:54 am

Complete sequence of GIDS test:
1) card creation &initialization
2) container creation (including PIN request & test)
3) digital signature

Problem:

Code: Select all

2016-07-04 08:48:25,00 2A 9E 9A 22 30 20 30 0C 06 08 2A 86 48 86 F7 0D 02 05 05 00 04 10 CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC 00 
2016-07-04 08:48:25,6F 00


Full APDU dialogs

Code: Select all

2016-07-04 08:48:03,00 A4 04 00 0B A0 00 00 03 97 43 49 44 5F 01 00 
2016-07-04 08:48:03,69 85
2016-07-04 08:48:03,00 CA 7F 68 00
2016-07-04 08:48:03,6D 00
2016-07-04 08:48:03,00 A4 04 00 09 A0 00 00 03 08 00 00 10 00
2016-07-04 08:48:03,69 85
2016-07-04 08:48:03,00 A4 04 00 09 A0 00 00 03 97 42 54 46 59
2016-07-04 08:48:03,61 12 4F 0B A0 00 00 03 97 42 54 46 59 02 01 73 03 40 01 C0 90 00
2016-07-04 08:48:03,00 A4 04 00 09 A0 00 00 03 97 42 54 46 59 00
2016-07-04 08:48:03,61 12 4F 0B A0 00 00 03 97 42 54 46 59 02 01 73 03 40 01 C0 90 00
2016-07-04 08:48:03,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:03,6A 82
2016-07-04 08:48:03,Reset
2016-07-04 08:48:03,00 A4 04 00 0B A0 00 00 03 97 43 49 44 5F 01 00
2016-07-04 08:48:04,69 85
2016-07-04 08:48:04,00 CA 7F 68 00
2016-07-04 08:48:04,6D 00
2016-07-04 08:48:04,00 A4 04 00 09 A0 00 00 03 08 00 00 10 00
2016-07-04 08:48:04,69 85
2016-07-04 08:48:04,00 A4 04 00 09 A0 00 00 03 97 42 54 46 59
2016-07-04 08:48:04,61 12 4F 0B A0 00 00 03 97 42 54 46 59 02 01 73 03 40 01 C0 90 00
2016-07-04 08:48:04,00 A4 04 04 09 A0 00 00 03 97 42 54 46 59 00
2016-07-04 08:48:04,62 08 82 01 38 8C 03 03 30 30 90 00
2016-07-04 08:48:04,00 24 01 80 04 31 34 30 37
2016-07-04 08:48:04,90 00
2016-07-04 08:48:04,00 E0 00 00 0E 62 0C 82 01 39 83 02 A0 00 8C 03 03 30 00
2016-07-04 08:48:04,90 00
2016-07-04 08:48:04,00 44 00 00 00
2016-07-04 08:48:04,90 00
2016-07-04 08:48:04,00 E0 00 00 0E 62 0C 82 01 39 83 02 A0 10 8C 03 03 30 00
2016-07-04 08:48:04,90 00
2016-07-04 08:48:04,00 44 00 00 00
2016-07-04 08:48:04,90 00
2016-07-04 08:48:04,00 E0 00 00 0E 62 0C 82 01 39 83 02 A0 11 8C 03 03 30 FF
2016-07-04 08:48:04,90 00
2016-07-04 08:48:04,00 44 00 00 00
2016-07-04 08:48:04,90 00
2016-07-04 08:48:04,00 E0 00 00 0E 62 0C 82 01 39 83 02 A0 12 8C 03 03 20 00
2016-07-04 08:48:04,90 00
2016-07-04 08:48:04,00 44 00 00 00
2016-07-04 08:48:04,90 00
2016-07-04 08:48:04,00 E0 00 00 0E 62 0C 82 01 39 83 02 A0 13 8C 03 03 30 30
2016-07-04 08:48:04,90 00
2016-07-04 08:48:04,00 44 00 00 00
2016-07-04 08:48:04,90 00
2016-07-04 08:48:04,00 E0 00 00 0E 62 0C 82 01 39 83 02 A0 14 8C 03 03 20 20
2016-07-04 08:48:04,90 00
2016-07-04 08:48:04,00 44 00 00 00
2016-07-04 08:48:04,90 00
2016-07-04 08:48:04,00 E0 00 00 1C 62 1A 82 01 18 83 02 B0 80 8C 04 87 00 20 FF A5 0B A4 09 80 01 02 83 01 80 95 01 C0
2016-07-04 08:48:04,90 00
2016-07-04 08:48:04,00 44 00 00 00
2016-07-04 08:48:05,90 00
2016-07-04 08:48:05,00 DB 3F FF 26 70 24 84 01 80 A5 1F 87 18 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 88 03 B0 73 DC
2016-07-04 08:48:05,90 00
2016-07-04 08:48:05,00 DB A0 00 91 DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00
2016-07-04 08:48:05,90 00
2016-07-04 08:48:05,00 DB A0 10 0B DF 21 08 6D 73 63 70 00 00 00 00
2016-07-04 08:48:05,90 00
2016-07-04 08:48:05,00 DB A0 10 09 DF 22 06 00 00 00 00 00 00
2016-07-04 08:48:05,90 00
2016-07-04 08:48:05,00 DB A0 10 03 DF 23 00
2016-07-04 08:48:05,90 00
2016-07-04 08:48:05,00 DB A0 12 13 DF 20 10 6D 44 48 89 2B 35 D3 51 F0 BF 00 7E D3 4C 53 77
2016-07-04 08:48:05,90 00
2016-07-04 08:48:05,00 A4 00 0C 02 3F FF
2016-07-04 08:48:05,90 00
2016-07-04 08:48:05,00 44 00 00 00
2016-07-04 08:48:05,90 00
2016-07-04 08:48:05,Reset
2016-07-04 08:48:09,00 A4 04 00 0B A0 00 00 03 97 43 49 44 5F 01 00
2016-07-04 08:48:09,69 85
2016-07-04 08:48:09,00 CA 7F 68 00
2016-07-04 08:48:09,6D 00
2016-07-04 08:48:09,00 A4 04 00 09 A0 00 00 03 08 00 00 10 00
2016-07-04 08:48:09,69 85
2016-07-04 08:48:09,00 A4 04 00 09 A0 00 00 03 97 42 54 46 59
2016-07-04 08:48:09,61 12 4F 0B A0 00 00 03 97 42 54 46 59 02 01 73 03 40 01 C0 90 00
2016-07-04 08:48:09,00 A4 04 00 0B A0 00 00 03 97 43 49 44 5F 01 00
2016-07-04 08:48:09,6A 82
2016-07-04 08:48:09,00 CA 7F 68 00
2016-07-04 08:48:09,6D 00
2016-07-04 08:48:09,00 A4 04 00 09 A0 00 00 03 08 00 00 10 00
2016-07-04 08:48:09,6A 82
2016-07-04 08:48:09,00 A4 04 00 09 A0 00 00 03 97 42 54 46 59
2016-07-04 08:48:09,61 12 4F 0B A0 00 00 03 97 42 54 46 59 02 01 73 03 40 01 C0 90 00
2016-07-04 08:48:09,00 A4 04 00 0B A0 00 00 03 97 43 49 44 5F 01 00
2016-07-04 08:48:09,6A 82
2016-07-04 08:48:09,00 CA 7F 68 00
2016-07-04 08:48:09,6D 00
2016-07-04 08:48:09,00 A4 04 00 09 A0 00 00 03 08 00 00 10 00
2016-07-04 08:48:09,6A 82
2016-07-04 08:48:09,00 A4 04 00 09 A0 00 00 03 97 42 54 46 59
2016-07-04 08:48:09,61 12 4F 0B A0 00 00 03 97 42 54 46 59 02 01 73 03 40 01 C0 90 00
2016-07-04 08:48:09,00 A4 04 00 09 A0 00 00 03 08 00 00 10 00
2016-07-04 08:48:09,6A 82
2016-07-04 08:48:09,00 A4 00 0C 02 3F FF
2016-07-04 08:48:09,90 00
2016-07-04 08:48:09,00 CB 2F 01 02 5C 00 00
2016-07-04 08:48:09,43 01 F4 47 03 08 01 80 46 0C 4D 79 53 6D 61 72 74 4C 6F 67 6F 6E 90 00
2016-07-04 08:48:09,00 A4 04 00 09 A0 00 00 03 97 42 54 46 59 00
2016-07-04 08:48:09,61 12 4F 0B A0 00 00 03 97 42 54 46 59 02 01 73 03 40 01 C0 90 00
2016-07-04 08:48:09,00 CB 3F FF 04 5C 02 7F 73 00
2016-07-04 08:48:09,6A 88
2016-07-04 08:48:09,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:09,DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00 90 00
2016-07-04 08:48:09,00 CB A0 12 04 5C 02 DF 20 00
2016-07-04 08:48:09,DF 20 10 6D 44 48 89 2B 35 D3 51 F0 BF 00 7E D3 4C 53 77 90 00
2016-07-04 08:48:09,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:09,DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00 90 00
2016-07-04 08:48:09,00 CB A0 10 04 5C 02 DF 22 00
2016-07-04 08:48:09,DF 22 06 00 00 00 00 00 00 90 00
2016-07-04 08:48:09,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:09,DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00 90 00
2016-07-04 08:48:09,00 CB A0 10 04 5C 02 DF 23 00
2016-07-04 08:48:09,DF 23 00 90 00
2016-07-04 08:48:09,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:10,DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00 90 00
2016-07-04 08:48:10,00 CB A0 10 04 5C 02 DF 22 00
2016-07-04 08:48:10,DF 22 06 00 00 00 00 00 00 90 00
2016-07-04 08:48:10,00 CB A0 00 04 5C 02 DF 20 00
2016-07-04 08:48:10,6A 88
2016-07-04 08:48:10,00 A4 04 00 09 A0 00 00 03 08 00 00 10 00
2016-07-04 08:48:10,6A 82
2016-07-04 08:48:10,00 A4 00 0C 02 3F FF
2016-07-04 08:48:10,90 00
2016-07-04 08:48:10,00 CB 2F 01 02 5C 00 00
2016-07-04 08:48:10,43 01 F4 47 03 08 01 80 46 0C 4D 79 53 6D 61 72 74 4C 6F 67 6F 6E 90 00
2016-07-04 08:48:10,00 A4 04 00 09 A0 00 00 03 97 42 54 46 59 00
2016-07-04 08:48:10,61 12 4F 0B A0 00 00 03 97 42 54 46 59 02 01 73 03 40 01 C0 90 00
2016-07-04 08:48:10,00 CB 3F FF 04 5C 02 7F 73 00
2016-07-04 08:48:10,6A 88
2016-07-04 08:48:10,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:10,DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00 90 00
2016-07-04 08:48:10,00 CB A0 12 04 5C 02 DF 20 00
2016-07-04 08:48:10,DF 20 10 6D 44 48 89 2B 35 D3 51 F0 BF 00 7E D3 4C 53 77 90 00
2016-07-04 08:48:10,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:10,DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00 90 00
2016-07-04 08:48:10,00 CB A0 10 04 5C 02 DF 22 00
2016-07-04 08:48:10,DF 22 06 00 00 00 00 00 00 90 00
2016-07-04 08:48:10,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:10,DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00 90 00
2016-07-04 08:48:10,00 CB A0 10 04 5C 02 DF 22 00
2016-07-04 08:48:10,DF 22 06 00 00 00 00 00 00 90 00
2016-07-04 08:48:12,00 A4 04 00 0B A0 00 00 03 97 43 49 44 5F 01 00
2016-07-04 08:48:12,6A 82
2016-07-04 08:48:12,00 CA 7F 68 00
2016-07-04 08:48:12,6D 00
2016-07-04 08:48:12,00 A4 04 00 09 A0 00 00 03 08 00 00 10 00
2016-07-04 08:48:12,6A 82
2016-07-04 08:48:12,00 A4 04 00 09 A0 00 00 03 97 42 54 46 59
2016-07-04 08:48:12,61 12 4F 0B A0 00 00 03 97 42 54 46 59 02 01 73 03 40 01 C0 90 00
2016-07-04 08:48:12,00 A4 04 00 09 A0 00 00 03 08 00 00 10 00
2016-07-04 08:48:12,6A 82
2016-07-04 08:48:12,00 A4 00 0C 02 3F FF
2016-07-04 08:48:12,90 00
2016-07-04 08:48:12,00 CB 2F 01 02 5C 00 00
2016-07-04 08:48:12,43 01 F4 47 03 08 01 80 46 0C 4D 79 53 6D 61 72 74 4C 6F 67 6F 6E 90 00
2016-07-04 08:48:12,00 A4 04 00 09 A0 00 00 03 97 42 54 46 59 00
2016-07-04 08:48:12,61 12 4F 0B A0 00 00 03 97 42 54 46 59 02 01 73 03 40 01 C0 90 00
2016-07-04 08:48:12,00 CB 3F FF 04 5C 02 7F 73 00
2016-07-04 08:48:12,6A 88
2016-07-04 08:48:12,00 A4 00 0C 02 3F FF
2016-07-04 08:48:12,90 00
2016-07-04 08:48:12,00 20 00 80 04 31 34 30 37
2016-07-04 08:48:13,90 00
2016-07-04 08:48:13,Reset
2016-07-04 08:48:13,00 A4 00 0C 02 3F FF
2016-07-04 08:48:13,69 85
2016-07-04 08:48:13,00 A4 04 00 09 A0 00 00 03 97 42 54 46 59
2016-07-04 08:48:13,61 12 4F 0B A0 00 00 03 97 42 54 46 59 02 01 73 03 40 01 C0 90 00
2016-07-04 08:48:13,00 20 00 80 04 31 34 30 37
2016-07-04 08:48:13,90 00
2016-07-04 08:48:13,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:13,DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00 90 00
2016-07-04 08:48:13,00 CB A0 10 04 5C 02 DF 22 00
2016-07-04 08:48:13,DF 22 06 00 00 00 00 00 00 90 00
2016-07-04 08:48:13,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:13,DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00 90 00
2016-07-04 08:48:13,00 DB A0 10 09 DF 22 06 00 00 00 00 01 00
2016-07-04 08:48:13,90 00
2016-07-04 08:48:13,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:13,DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00 90 00
2016-07-04 08:48:13,00 DB A0 10 59 DF 23 56 32 00 64 00 31 00 30 00 63 00 31 00 30 00 65 00 2D 00 35 00 34 00 37 00 61 00 2D 00 34 00 66 00 37 00 33 00 2D 00 61 00 61 00 62 00 64 00 2D 00 39 00 39 00 33 00 61 00 36 00 65 00 35 00 63 00 31 00 61 00 32 00 63 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00
2016-07-04 08:48:13,90 00
2016-07-04 08:48:13,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:13,DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00 90 00
2016-07-04 08:48:13,00 DB A0 10 09 DF 22 06 00 00 00 00 02 00
2016-07-04 08:48:13,90 00
2016-07-04 08:48:13,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:13,DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00 90 00
2016-07-04 08:48:13,00 DB A0 10 59 DF 23 56 32 00 64 00 31 00 30 00 63 00 31 00 30 00 65 00 2D 00 35 00 34 00 37 00 61 00 2D 00 34 00 66 00 37 00 33 00 2D 00 61 00 61 00 62 00 64 00 2D 00 39 00 39 00 33 00 61 00 36 00 65 00 35 00 63 00 31 00 61 00 32 00 63 00 00 00 00 00 00 00 00 00 03 00 00 00 00 00
2016-07-04 08:48:13,90 00
2016-07-04 08:48:13,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:14,DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00 90 00
2016-07-04 08:48:14,00 DB A0 10 09 DF 22 06 00 00 01 00 02 00
2016-07-04 08:48:14,90 00
2016-07-04 08:48:14,00 CB A0 00 04 5C 02 DF 20 00
2016-07-04 08:48:14,6A 88
2016-07-04 08:48:14,00 E0 00 00 49 62 47 82 01 18 83 02 B0 81 8C 05 8F 10 10 10 00 A5 37 B8 09 80 01 06 83 01 81 95 01 40 B8 09 80 01 86 83 01 81 95 01 40 B8 09 80 01 46 83 01 81 95 01 40 B6 09 80 01 16 83 01 81 95 01 40 B6 09 80 01 56 83 01 81 95 01 40
2016-07-04 08:48:14,90 00
2016-07-04 08:48:14,00 44 00 00
2016-07-04 08:48:14,90 00
2016-07-04 08:48:14,00 47 00 00 08 AC 06 80 01 06 83 01 81
2016-07-04 08:48:15,7F 49 81 88 81 81 80 DE C2 55 D8 D8 30 FE 7D FE D7 67 EF 5E 69 08 F6 F1 48 4F 87 F6 6B 42 18 F0 A1 F4 42 67 FA 4D 93 DD 60 B0 7E 90 D7 F3 F2 9A 09 73 31 2E 9F 87 BD 92 76 36 98 24 72 EC A9 28 D2 6C ED 10 3D E2 4D 4C 7F 19 C5 CE FD 42 DD A1 83 C3 29 12 BD 0C AC FF B9 07 10 0C 2A 5D 2C F5 12 86 EB C2 83 D8 3F 97 1E 8B 84 4E 30 B2 5F 0F 08 B6 17 93 51 73 3D 35 34 E9 0F F2 3F E3 73 85 0F 90 12 D6 FC 03 53 82 03 01 00 01 90 00
2016-07-04 08:48:15,00 DB A0 00 10 DF 20 0D 01 01 00 00 00 06 9A 81 B0 FF FF 00 00
2016-07-04 08:48:15,90 00
2016-07-04 08:48:15,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:15,DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00 90 00
2016-07-04 08:48:15,00 DB A0 10 09 DF 22 06 00 00 01 00 03 00
2016-07-04 08:48:15,90 00
2016-07-04 08:48:15,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:15,DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00 90 00
2016-07-04 08:48:15,00 DB A0 10 59 DF 23 56 32 00 64 00 31 00 30 00 63 00 31 00 30 00 65 00 2D 00 35 00 34 00 37 00 61 00 2D 00 34 00 66 00 37 00 33 00 2D 00 61 00 61 00 62 00 64 00 2D 00 39 00 39 00 33 00 61 00 36 00 65 00 35 00 63 00 31 00 61 00 32 00 63 00 00 00 00 00 00 00 00 00 03 00 00 00 00 04
2016-07-04 08:48:15,90 00
2016-07-04 08:48:15,00 CB A0 00 04 5C 02 DF 20 00
2016-07-04 08:48:15,DF 20 0D 01 01 00 00 00 06 9A 81 B0 FF FF 00 00 90 00
2016-07-04 08:48:15,00 CB 3F FF 0A 70 08 84 01 81 A5 03 7F 49 80 00
2016-07-04 08:48:15,7F 49 81 88 81 81 80 DE C2 55 D8 D8 30 FE 7D FE D7 67 EF 5E 69 08 F6 F1 48 4F 87 F6 6B 42 18 F0 A1 F4 42 67 FA 4D 93 DD 60 B0 7E 90 D7 F3 F2 9A 09 73 31 2E 9F 87 BD 92 76 36 98 24 72 EC A9 28 D2 6C ED 10 3D E2 4D 4C 7F 19 C5 CE FD 42 DD A1 83 C3 29 12 BD 0C AC FF B9 07 10 0C 2A 5D 2C F5 12 86 EB C2 83 D8 3F 97 1E 8B 84 4E 30 B2 5F 0F 08 B6 17 93 51 73 3D 35 34 E9 0F F2 3F E3 73 85 0F 90 12 D6 FC 03 53 82 03 01 00 01 90 00
2016-07-04 08:48:15,00 20 00 82
2016-07-04 08:48:15,90 00
2016-07-04 08:48:19,00 A4 04 00 0B A0 00 00 03 97 43 49 44 5F 01 00
2016-07-04 08:48:19,6A 82
2016-07-04 08:48:19,00 CA 7F 68 00
2016-07-04 08:48:19,6D 00
2016-07-04 08:48:19,00 A4 04 00 09 A0 00 00 03 08 00 00 10 00
2016-07-04 08:48:19,6A 82
2016-07-04 08:48:19,00 A4 04 00 09 A0 00 00 03 97 42 54 46 59
2016-07-04 08:48:19,61 12 4F 0B A0 00 00 03 97 42 54 46 59 02 01 73 03 40 01 C0 90 00
2016-07-04 08:48:20,00 A4 04 00 0B A0 00 00 03 97 43 49 44 5F 01 00
2016-07-04 08:48:20,6A 82
2016-07-04 08:48:20,00 CA 7F 68 00
2016-07-04 08:48:20,6D 00
2016-07-04 08:48:20,00 A4 04 00 09 A0 00 00 03 08 00 00 10 00
2016-07-04 08:48:20,6A 82
2016-07-04 08:48:20,00 A4 04 00 09 A0 00 00 03 97 42 54 46 59
2016-07-04 08:48:20,61 12 4F 0B A0 00 00 03 97 42 54 46 59 02 01 73 03 40 01 C0 90 00
2016-07-04 08:48:20,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:20,DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00 90 00
2016-07-04 08:48:20,00 CB A0 12 04 5C 02 DF 20 00
2016-07-04 08:48:20,DF 20 10 6D 44 48 89 2B 35 D3 51 F0 BF 00 7E D3 4C 53 77 90 00
2016-07-04 08:48:20,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:20,DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00 90 00
2016-07-04 08:48:20,00 CB A0 10 04 5C 02 DF 22 00
2016-07-04 08:48:20,DF 22 06 00 00 01 00 03 00 90 00
2016-07-04 08:48:21,00 A4 04 00 0B A0 00 00 03 97 43 49 44 5F 01 00
2016-07-04 08:48:21,6A 82
2016-07-04 08:48:21,00 CA 7F 68 00
2016-07-04 08:48:21,6D 00
2016-07-04 08:48:21,00 A4 04 00 09 A0 00 00 03 08 00 00 10 00
2016-07-04 08:48:21,6A 82
2016-07-04 08:48:21,00 A4 04 00 09 A0 00 00 03 97 42 54 46 59
2016-07-04 08:48:21,61 12 4F 0B A0 00 00 03 97 42 54 46 59 02 01 73 03 40 01 C0 90 00
2016-07-04 08:48:21,00 A4 04 00 09 A0 00 00 03 08 00 00 10 00
2016-07-04 08:48:22,6A 82
2016-07-04 08:48:22,00 A4 00 0C 02 3F FF
2016-07-04 08:48:22,90 00
2016-07-04 08:48:22,00 CB 2F 01 02 5C 00 00
2016-07-04 08:48:22,43 01 F4 47 03 08 01 80 46 0C 4D 79 53 6D 61 72 74 4C 6F 67 6F 6E 90 00
2016-07-04 08:48:22,00 A4 04 00 09 A0 00 00 03 97 42 54 46 59 00
2016-07-04 08:48:22,61 12 4F 0B A0 00 00 03 97 42 54 46 59 02 01 73 03 40 01 C0 90 00
2016-07-04 08:48:22,00 CB 3F FF 04 5C 02 7F 73 00
2016-07-04 08:48:22,6A 88
2016-07-04 08:48:22,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:22,DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00 90 00
2016-07-04 08:48:22,00 CB A0 12 04 5C 02 DF 20 00
2016-07-04 08:48:22,DF 20 10 6D 44 48 89 2B 35 D3 51 F0 BF 00 7E D3 4C 53 77 90 00
2016-07-04 08:48:22,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:22,DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00 90 00
2016-07-04 08:48:22,00 CB A0 10 04 5C 02 DF 22 00
2016-07-04 08:48:22,DF 22 06 00 00 01 00 03 00 90 00
2016-07-04 08:48:22,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:22,DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00 90 00
2016-07-04 08:48:22,00 CB A0 10 04 5C 02 DF 22 00
2016-07-04 08:48:22,DF 22 06 00 00 01 00 03 00 90 00
2016-07-04 08:48:22,00 CB A0 00 04 5C 02 DF 20 00
2016-07-04 08:48:22,DF 20 0D 01 01 00 00 00 06 9A 81 B0 FF FF 00 00 90 00
2016-07-04 08:48:22,00 A4 04 00 09 A0 00 00 03 08 00 00 10 00
2016-07-04 08:48:22,6A 82
2016-07-04 08:48:22,00 A4 00 0C 02 3F FF
2016-07-04 08:48:22,90 00
2016-07-04 08:48:22,00 CB 2F 01 02 5C 00 00
2016-07-04 08:48:22,43 01 F4 47 03 08 01 80 46 0C 4D 79 53 6D 61 72 74 4C 6F 67 6F 6E 90 00
2016-07-04 08:48:22,00 A4 04 00 09 A0 00 00 03 97 42 54 46 59 00
2016-07-04 08:48:22,61 12 4F 0B A0 00 00 03 97 42 54 46 59 02 01 73 03 40 01 C0 90 00
2016-07-04 08:48:22,00 CB 3F FF 04 5C 02 7F 73 00
2016-07-04 08:48:22,6A 88
2016-07-04 08:48:22,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:22,DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00 90 00
2016-07-04 08:48:22,00 CB A0 12 04 5C 02 DF 20 00
2016-07-04 08:48:22,DF 20 10 6D 44 48 89 2B 35 D3 51 F0 BF 00 7E D3 4C 53 77 90 00
2016-07-04 08:48:22,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:22,DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00 90 00
2016-07-04 08:48:22,00 CB A0 10 04 5C 02 DF 22 00
2016-07-04 08:48:22,DF 22 06 00 00 01 00 03 00 90 00
2016-07-04 08:48:22,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:22,DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00 90 00
2016-07-04 08:48:22,00 CB A0 10 04 5C 02 DF 22 00
2016-07-04 08:48:22,DF 22 06 00 00 01 00 03 00 90 00
2016-07-04 08:48:24,00 A4 04 00 0B A0 00 00 03 97 43 49 44 5F 01 00
2016-07-04 08:48:24,6A 82
2016-07-04 08:48:24,00 CA 7F 68 00
2016-07-04 08:48:24,6D 00
2016-07-04 08:48:24,00 A4 04 00 09 A0 00 00 03 08 00 00 10 00
2016-07-04 08:48:24,6A 82
2016-07-04 08:48:24,00 A4 04 00 09 A0 00 00 03 97 42 54 46 59
2016-07-04 08:48:24,61 12 4F 0B A0 00 00 03 97 42 54 46 59 02 01 73 03 40 01 C0 90 00
2016-07-04 08:48:24,00 A4 04 00 09 A0 00 00 03 08 00 00 10 00
2016-07-04 08:48:24,6A 82
2016-07-04 08:48:24,00 A4 00 0C 02 3F FF
2016-07-04 08:48:24,90 00
2016-07-04 08:48:24,00 CB 2F 01 02 5C 00 00
2016-07-04 08:48:24,43 01 F4 47 03 08 01 80 46 0C 4D 79 53 6D 61 72 74 4C 6F 67 6F 6E 90 00
2016-07-04 08:48:24,00 A4 04 00 09 A0 00 00 03 97 42 54 46 59 00
2016-07-04 08:48:24,61 12 4F 0B A0 00 00 03 97 42 54 46 59 02 01 73 03 40 01 C0 90 00
2016-07-04 08:48:24,00 CB 3F FF 04 5C 02 7F 73 00
2016-07-04 08:48:25,6A 88
2016-07-04 08:48:25,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:25,DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00 90 00
2016-07-04 08:48:25,00 CB A0 12 04 5C 02 DF 20 00
2016-07-04 08:48:25,DF 20 10 6D 44 48 89 2B 35 D3 51 F0 BF 00 7E D3 4C 53 77 90 00
2016-07-04 08:48:25,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:25,DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00 90 00
2016-07-04 08:48:25,00 CB A0 10 04 5C 02 DF 22 00
2016-07-04 08:48:25,DF 22 06 00 00 01 00 03 00 90 00
2016-07-04 08:48:25,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:25,DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00 90 00
2016-07-04 08:48:25,00 CB A0 10 04 5C 02 DF 22 00
2016-07-04 08:48:25,DF 22 06 00 00 01 00 03 00 90 00
2016-07-04 08:48:25,00 A4 04 00 09 A0 00 00 03 08 00 00 10 00
2016-07-04 08:48:25,6A 82
2016-07-04 08:48:25,00 A4 00 0C 02 3F FF
2016-07-04 08:48:25,90 00
2016-07-04 08:48:25,00 CB 2F 01 02 5C 00 00
2016-07-04 08:48:25,43 01 F4 47 03 08 01 80 46 0C 4D 79 53 6D 61 72 74 4C 6F 67 6F 6E 90 00
2016-07-04 08:48:25,00 A4 04 00 09 A0 00 00 03 97 42 54 46 59 00
2016-07-04 08:48:25,61 12 4F 0B A0 00 00 03 97 42 54 46 59 02 01 73 03 40 01 C0 90 00
2016-07-04 08:48:25,00 CB 3F FF 04 5C 02 7F 73 00
2016-07-04 08:48:25,6A 88
2016-07-04 08:48:25,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:25,DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00 90 00
2016-07-04 08:48:25,00 CB A0 12 04 5C 02 DF 20 00
2016-07-04 08:48:25,DF 20 10 6D 44 48 89 2B 35 D3 51 F0 BF 00 7E D3 4C 53 77 90 00
2016-07-04 08:48:25,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:25,DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00 90 00
2016-07-04 08:48:25,00 CB A0 10 04 5C 02 DF 22 00
2016-07-04 08:48:25,DF 22 06 00 00 01 00 03 00 90 00
2016-07-04 08:48:25,00 CB A0 00 04 5C 02 DF 1F 00
2016-07-04 08:48:25,DF 1F 81 8D 01 6D 73 63 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 69 64 00 00 00 00 00 20 DF 00 00 12 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 61 70 70 73 00 00 00 21 DF 00 00 10 A0 00 00 00 00 00 00 00 00 00 00 00 63 61 72 64 63 66 00 00 00 00 00 22 DF 00 00 10 A0 00 00 6D 73 63 70 00 00 00 00 00 63 6D 61 70 66 69 6C 65 00 00 00 23 DF 00 00 10 A0 00 00 90 00
2016-07-04 08:48:25,00 CB A0 10 04 5C 02 DF 22 00
2016-07-04 08:48:25,DF 22 06 00 00 01 00 03 00 90 00
2016-07-04 08:48:25,00 A4 00 0C 02 3F FF
2016-07-04 08:48:25,90 00
2016-07-04 08:48:25,00 20 00 80 04 31 34 30 37
2016-07-04 08:48:25,90 00
2016-07-04 08:48:25,00 CB A0 00 04 5C 02 DF 20 00
2016-07-04 08:48:25,DF 20 0D 01 01 00 00 00 06 9A 81 B0 FF FF 00 00 90 00
2016-07-04 08:48:25,00 CB A0 00 04 5C 02 DF 20 00
2016-07-04 08:48:25,DF 20 0D 01 01 00 00 00 06 9A 81 B0 FF FF 00 00 90 00
2016-07-04 08:48:25,00 22 41 B6 06 80 01 56 84 01 81
2016-07-04 08:48:25,90 00
2016-07-04 08:48:25,00 2A 9E 9A 22 30 20 30 0C 06 08 2A 86 48 86 F7 0D 02 05 05 00 04 10 CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC 00
2016-07-04 08:48:25,6F 00
2016-07-04 08:48:25,00 20 00 82
2016-07-04 08:48:25,90 00

User avatar
JavaCardOS
Posts: 273
Joined: Thu Apr 30, 2015 12:00 pm
Points :2405
Contact:

Re: new A40CR & digital signature

Post by JavaCardOS » Mon Jul 04, 2016 4:05 am

Thank you for your information!

We will send the information back to the card provider FEITIAN. Once we have any further news, we will let you know at once!

Sorry for any inconvenience caused!

User avatar
JavaCardOS
Posts: 273
Joined: Thu Apr 30, 2015 12:00 pm
Points :2405
Contact:

Re: new A40CR & digital signature

Post by JavaCardOS » Mon Jul 04, 2016 4:29 am

Hi,

Let's have a test! After generating keypair on line 428 of GidsApplet.java, call setP and setQ to do setting operation.

Code: Select all

        file.CheckPermission(pinManager, File.ACL_OP_KEY_GENERATE_ASYMETRIC);
        try {
            switch(algID) {
            case (byte)0x06:
                kp = new KeyPair(KeyPair.ALG_RSA_CRT, KeyBuilder.LENGTH_RSA_1024);
                break;
            case (byte)0x07:
                kp = new KeyPair(KeyPair.ALG_RSA_CRT, KeyBuilder.LENGTH_RSA_2048);
                break;
            default:
                ISOException.throwIt(ISO7816.SW_FUNC_NOT_SUPPORTED);
                break;
            }
            kp.genKeyPair();
           
            RSAPrivateCrtKey priKey = (RSAPrivateCrtKey) kp.getPrivate();   // Code added;
            short pLen = priKey.getP(buf, (short) 0);                       // Code added;
            priKey.setP(buf, (short) 0, pLen);                              // Code added;
            short qLen = priKey.getQ(buf, (short) 0);                       // Code added;
            priKey.setQ(buf, (short) 0, qLen);                              // Code added;
        } catch(CryptoException e) {
            if(e.getReason() == CryptoException.NO_SUCH_ALGORITHM) {
                  ISOException.throwIt(ISO7816.SW_FUNC_NOT_SUPPORTED);
            }
            ISOException.throwIt(ISO7816.SW_UNKNOWN);
        }
        file.SaveKey(kp);



After modifying, do your own test again. Await for your reply!

vletoux
Posts: 9
Joined: Fri Jan 22, 2016 3:43 pm
Points :287
Contact:

Re: new A40CR & digital signature

Post by vletoux » Mon Jul 04, 2016 12:39 pm

Hi,

With this fix it works.
That's the strangest fix I've ever see
(I understood it as a workaround)

regards,
Vincent

fishsoup
Posts: 2
Joined: Mon Jul 04, 2016 8:04 pm
Points :516
Contact:

Re: new A40CR & digital signature

Post by fishsoup » Tue Jul 05, 2016 5:05 am

I've also run into this problem attempting to use RSA on A40 and A22 cards.

Some observations:

1) This workaround stops the keys being in opaque containers in the applet's security domain and makes them simple variables in the applet.
2) I can trigger the same behaviour, needing the same work-around on a JCOP 2.4.1 card, by deleting the SSD applet with AID A000000003535041 (which manages secure key storage)

I think, therefore, that what's wrong is that the A40 and A22 cards as shipped are missing an SSD which would explain why attempting to store keys in it doesn't work.

James.

User avatar
JavaCardOS
Posts: 273
Joined: Thu Apr 30, 2015 12:00 pm
Points :2405
Contact:

Re: new A40CR & digital signature

Post by JavaCardOS » Thu Jul 07, 2016 1:46 am

fishsoup wrote:I've also run into this problem attempting to use RSA on A40 and A22 cards.

Some observations:

1) This workaround stops the keys being in opaque containers in the applet's security domain and makes them simple variables in the applet.
2) I can trigger the same behaviour, needing the same work-around on a JCOP 2.4.1 card, by deleting the SSD applet with AID A000000003535041 (which manages secure key storage)

I think, therefore, that what's wrong is that the A40 and A22 cards as shipped are missing an SSD which would explain why attempting to store keys in it doesn't work.

James.


Hi James,

Sorry, I can't understand what you said well. Could you please explain it more clearly?

BR

User avatar
JavaCardOS
Posts: 273
Joined: Thu Apr 30, 2015 12:00 pm
Points :2405
Contact:

Re: new A40CR & digital signature

Post by JavaCardOS » Thu Jul 07, 2016 5:20 am

Hi @all,

This bug has been fixed in the new A40CR card OS. And we have already contacted @vletoux to resend the cards.

BR

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: Bing [Bot] and 28 guests

JavaCard OS : Disclaimer