Hi,
I able to generate TMK & TPK using TMK and on the POS terminal I am to form the pinblock & now we need to translate pin block encrypted under TPK to ZPK but I am getting error code 24 from HSM. Below is the complete procedure I had followed to generate TMK, TPK & ZPK , and I unable to figure out the issue so Kindly help me
My Plain TMK
Online-AUTH>gc
Enter LMK id [0-1]: 0
Enter key length [1,2,3]: 2
Enter key type: 002
Enter key scheme: u
Clear component: C14C CD94 0B46 43FE 94D3 F701 E0F2 D064
Key check value: 97E7AD
TMK under LMK
Online-AUTH>fk
Enter LMK id [0-1]: 0
Enter key length [1,2,3]: 2
Enter key type: 002
Enter key scheme: u
Enter component type [X,H,T,E,S]: x
Enter number of components [1-9]: 1
Enter component 1: ***************************************
Component 1 check value: 97E7AD
Continue? [Y/N]: y
Encrypted key: UA742 C4D5 2457 66BB CF3D D22E 2A65 9FDE
Key check value: 97E7AD
Session keys under TMK
Input to HSM : 0000HCUA742C4D5245766BBCF3DD22E2A659FDE;UU0
Output from HSM : 0000HD00UED69C077A97195F3D5741855A861B086UF7F89DAD24CE89C2A8FD4097217E8EFF
Pin Block calculated on terminal in ISO - 0 Standard
Card no - 4180879999999957(12 - digit card no 087999999995)
Pin - 1234
Encrypted Pin block block - E0A87BEC03235198
Bank ZPK
Online-AUTH>fk
Enter LMK id [0-1]: 0
Enter key length [1,2,3]: 2
Enter key type: 001
Enter key scheme: U
Enter component type [X,H,T,E,S]: X
Enter number of components [1-9]: 3
Enter component 1: ***************************************
Component 1 check value: 3C7961
Continue? [Y/N]: Y
Enter component 2: ***************************************
Component 2 check value: 88559B
Continue? [Y/N]: Y
Enter component 3: ***************************************
Component 3 check value: 0FFC48
Continue? [Y/N]: Y
Encrypted key: UFA7B BF8B 5847 0D9E 1CC8 09BC AF30 A3B3
Key check value: A7D48E
Pin Translation from TPK to TMK
Input to HSM : 0000CAUF7F89DAD24CE89C2A8FD4097217E8EFFUFA7BBF8B58470D9E1CC809BCAF30A3B312E0A87BEC032351980101087999999995
Output from HSM : 0000CB24
I able to generate TMK & TPK using TMK and on the POS terminal I am to form the pinblock & now we need to translate pin block encrypted under TPK to ZPK but I am getting error code 24 from HSM. Below is the complete procedure I had followed to generate TMK, TPK & ZPK , and I unable to figure out the issue so Kindly help me
My Plain TMK
Online-AUTH>gc
Enter LMK id [0-1]: 0
Enter key length [1,2,3]: 2
Enter key type: 002
Enter key scheme: u
Clear component: C14C CD94 0B46 43FE 94D3 F701 E0F2 D064
Key check value: 97E7AD
TMK under LMK
Online-AUTH>fk
Enter LMK id [0-1]: 0
Enter key length [1,2,3]: 2
Enter key type: 002
Enter key scheme: u
Enter component type [X,H,T,E,S]: x
Enter number of components [1-9]: 1
Enter component 1: ***************************************
Component 1 check value: 97E7AD
Continue? [Y/N]: y
Encrypted key: UA742 C4D5 2457 66BB CF3D D22E 2A65 9FDE
Key check value: 97E7AD
Session keys under TMK
Input to HSM : 0000HCUA742C4D5245766BBCF3DD22E2A659FDE;UU0
Output from HSM : 0000HD00UED69C077A97195F3D5741855A861B086UF7F89DAD24CE89C2A8FD4097217E8EFF
Pin Block calculated on terminal in ISO - 0 Standard
Card no - 4180879999999957(12 - digit card no 087999999995)
Pin - 1234
Encrypted Pin block block - E0A87BEC03235198
Bank ZPK
Online-AUTH>fk
Enter LMK id [0-1]: 0
Enter key length [1,2,3]: 2
Enter key type: 001
Enter key scheme: U
Enter component type [X,H,T,E,S]: X
Enter number of components [1-9]: 3
Enter component 1: ***************************************
Component 1 check value: 3C7961
Continue? [Y/N]: Y
Enter component 2: ***************************************
Component 2 check value: 88559B
Continue? [Y/N]: Y
Enter component 3: ***************************************
Component 3 check value: 0FFC48
Continue? [Y/N]: Y
Encrypted key: UFA7B BF8B 5847 0D9E 1CC8 09BC AF30 A3B3
Key check value: A7D48E
Pin Translation from TPK to TMK
Input to HSM : 0000CAUF7F89DAD24CE89C2A8FD4097217E8EFFUFA7BBF8B58470D9E1CC809BCAF30A3B312E0A87BEC032351980101087999999995
Output from HSM : 0000CB24