On 01/08/2013 04:48, kapilashantha rajapaksha wrote:
> Hi,
>
> JA- Will return the clear PIN (But document says that it's LMK (PIN)).
> In bellow response the encrypted PIN is 07592
>
> Note : I'm using Thalse simulator
Is the JA/JB exchange implemented properly in this simulator (which one?)?
Have you tried asking the provider of the simulator - as previously this
doe not sound like a jPOS question at all?
>
> Response (JB)
> 0000 00 0D 31 32 33 34 4A 42 30 30 30 37 35 39 32 ..1234JB0007592
>
> Actually, I want to keep this value (07592) until PIN is printing but it
> seems to be security issue.
Printing a PIN - where (on what)?
It is a security issue that you have the PIN in the clear at all - ever;
it should be in a PIN block (as you seem to agree) all the way up to the
point of 'printing' on a 'secure printing' device/process and even then
it would rarely not be secured even after printing (I am presuming a PIN
mailer of some sort here).
> Please let me know why it's returning clear
> PIN? Any setting is to be set in HSM?
You will need to check the documentation of the simulator and perhaps
for the real HSM device you will/should be using.
I don't have the (real HSM) documentation handy, but I might check later
and reply again.
--
Mark