|
|
|
@ -123,6 +123,8 @@ public class CryptoSensitiveHsmServiceImpl implements ICryptoSensitiveHsmService |
|
|
|
} |
|
|
|
try { |
|
|
|
String decryptedPassword = hsmDecryptToPlain(record.getFieldIv(), record.getCipherText()); |
|
|
|
log.info("HSM解密密码验证, tableName={}, bizId={}, decryptedPassword={}", tableName, bizId, decryptedPassword); |
|
|
|
log.info("HSM解密密码验证, tableName={}, bizId={}, plainPassword={}", tableName, bizId, plainPassword); |
|
|
|
return decryptedPassword.equals(plainPassword); |
|
|
|
} catch (Exception e) { |
|
|
|
log.error("HSM解密密码验证失败, tableName={}, bizId={}", tableName, bizId, e); |
|
|
|
|