5

我正在尝试使用 HSM (Thales) 中的 DE 命令创建加密引脚的偏移量。我正在使用 Python 代码来执行此操作。发出命令后,我在响应中得到 02。错误代码手册将其描述为

Key inappropriate length for algorithm

我还可以看到输出中生成的偏移量。但是为什么这个错误代码会出现在响应中。我可以使用输出中的偏移量吗?

提前感谢您的帮助。

4

1 回答 1

2

根据参考,您可以使用此偏移量。

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.
于 2016-03-16T16:13:16.683 回答