简体   繁体   中英

Primary problems with authentication process in jcmanager?

1:

在此处输入图片说明

2:

在此处输入图片说明

3:

在此处输入图片说明

The above pictures attached to the question to ask my questions base on them!

1-As we know and mentioned in GP Specification , the card challenge has 8 byte length, but in the first photo, JCManager show a six byte card challenge! why?

2-The derivation data that will made based on GP Specification is not equal with the dervation data in JCManager! why?!

3-base on picture 2 , if static S_ENC and static S_MAC have an equal value,we conclude that the session S_ENC and session S_MAC must have an equal value. is that right? if yes, why in JCManager there are difference between them?

4-I use this site and encrypt the Derivation data that highlighted in JCManager by a ECB(DES) encryption, But output is not that expected! and again why!?

The card uses SCP02 as indicated in the key information returned for the INITIALIZE UPDATE command. Thus the card challenge has 6 bytes and key derivation data based on a key-specific constant ( 01 82 for S_ENC) and the sequence counter ( 00 16 as sent by the card in the INITIALIZE UPDATE response). The values you see in JCManager are correct.

The diagrams you are showing do not reflect the key derivation mechanism of SCP02. Instead this seems to be the key derivation mechanism for SCP01.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM