opendnssec / SoftHSMv2

SoftHSM version 2
http://www.softhsm.org/
Other
740 stars 335 forks source link

decrypting scrambled ciphered text with RSA succeeded on RHEL9 unexpectedly #739

Open guiyang2011 opened 5 months ago

guiyang2011 commented 5 months ago

We have a test case to wrap an AES key with RSA key, shuffle the first 4 bytes of the ciphered key, and then tried to decrypt it with our service backed by SoftHSMv2. In the current Centos7 environment, the decrypt would fail in SoftHSMv2, which is expected. However, when switching to the RHEL9 environment, the same test becomes succeed. Is this a known issue?