Quantcast
Channel: Thales Simulator Library
Viewing all articles
Browse latest Browse all 332

New Post: Source key parity error

$
0
0
Hi all.

The goal is to obtain ISO 0 PIN Block encrypted under ZPK.

I'm trying to send the following commands to the simulator via Java:
BA/BB
JG/JH

Application events log:
Client from 127.0.0.1:58105 is connected
Client: 127.0.0.1:58105
Request: 0001BA2057F173771278490
Parsing header and code of message 0001BA2057F173771278490...
Searching for implementor of BA...
Found implementor ThalesSim.Core.HostCommands.BuildIn.EncryptClearPIN_BA, instantiating...
Calling AcceptMessage()...
Calling ConstructResponse()...
Calling ConstructResponseAfterOperationComplete()...
Attaching header/response code to response...
Sending: 0001BB0002057
Calling Terminate()...
Implementor to Nothing
Client: 127.0.0.1:58105
Request: 0001JGU3A1362C8B81A4CE62A731EC3DA7BD7770117377127849002057
Parsing header and code of message 0001JGU3A1362C8B81A4CE62A731EC3DA7BD7770117377127849002057...
Searching for implementor of JG...
Found implementor ThalesSim.Core.HostCommands.BuildIn.TranslatePINFromLMKToZPK_JG, instantiating...
Calling AcceptMessage()...
Calling ConstructResponse()...
Calling ConstructResponseAfterOperationComplete()...
Attaching header/response code to response...
Sending: 0001JH10
Calling Terminate()...
Implementor to Nothing
Command events log:
=== [BA], starts 23:30:39.828 =======
[Key,Value]=[Account Number,173771278490]
[Key,Value]=[PIN,2057F]

Clear PIN: 2057
Encrypted PIN: 02057
=== [BA],   ends 23:30:39.882 =======

=== [JG], starts 23:30:39.926 =======
[Key,Value]=[Account Number,173771278490]
[Key,Value]=[PIN,02057]
[Key,Value]=[PIN Block Format Code,01]
[Key,Value]=[ZPK,3A1362C8B81A4CE62A731EC3DA7BD777]
[Key,Value]=[ZPK Scheme,U]

=== [JG],   ends 23:30:39.984 =======
Why do I always receive 0001JH10 at the end?

I tried to set <CheckLMKParity value="False"/> but with no effect.

Viewing all articles
Browse latest Browse all 332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>