generating PIN from components

Jan 25, 2015 at 12:18 PM
Hi,

I have 2 components, and a KCV value that i need to use to generate a PIN.

I have tried the A4 comment, but it gives me Error 10, response code a5

Any Idea what the issue is?

Component 1 = 13131313131313131313131313131313
Component 2 = 14141414141414141414141414141414

Data Received

127.0.0.1:57330
30 30 30 30 41 34 32 30 | 0000A420
30 30 5A 31 33 31 33 31 | 00Z13131
33 31 33 31 33 31 33 31 | 31313131
33 31 33 31 33 31 33 31 | 31313131
33 31 33 31 33 31 33 31 | 31313131
33 31 33 31 34 31 34 31 | 31314141
34 31 34 31 34 31 34 31 | 41414141
34 31 34 31 34 31 34 31 | 41414141
34 31 34 31 34 31 34 31 | 41414141
34 31 34 | 414

Data sent
127.0.0.1:57330
30 30 30 30 41 35 31 30 | 0000A510

Events
=== [A4], starts 17:14:39.927 =======
[Key,Value]=[Key Component #1,1313131313131313]
[Key,Value]=[Key Component #2,1313131313131313]
[Key,Value]=[Key Scheme (LMK),Z]
[Key,Value]=[Key Type,000]
[Key,Value]=[Number of Components,2]

=== [A4], ends 17:14:39.974 =======

[2015-01-25 5:14:39 PM] Response received from HSM.
[None an 008 M] : 'Message Header' = [0000]
[None an 002 M] : 'Response Code' = [A5]
[None an 002 M] : 'Error Code' = [10]


Thanks
Feb 20, 2015 at 2:39 PM
Hi,

A4 command awaits LMK encrypted components instead of plaintext. Use Simulator FK console command do form key from plaintext components.

Regards,
Juris