I am trying to create an offset of an encrypted pin using DE command in HSM (Thales). I am using Python code to do this. After firing the command I am getting 02 in the response. The error codes manual describes it as
Key inappropriate length for algorithm
I can also see the offset generated in the output. But why this error code is coming in the response. Can I use the offset coming in the output?
Thanks for help in advance.
According to reference you can use this offset.
If a double or triple length PVK is used, Error Code 02 is returned as a warning but
processing continues generating the offset using TDES in place of DES.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With