0 votes

Our application has a problem with license for mail.dll in case when it is installed on Alma Linux. Logs from library:

Public key acquired. Checking license signature.
Exception occurred: Interop+Crypto+OpenSslCryptographicException: error:03000098:digital envelope routines::invalid digest
at Interop.Crypto.RsaVerifyHash(SafeEvpPKeyHandle pkey, RSASignaturePaddingMode paddingMode, IntPtr digestAlgorithm, ReadOnlySpan1 hash, ReadOnlySpan1 signature)
at System.Security.Cryptography.RSAOpenSsl.VerifyHash(ReadOnlySpan1 hash, ReadOnlySpan1 signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
at System.Security.Cryptography.RSACryptoServiceProvider.VerifyHash(Byte[] hash, Byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
at System.Security.Cryptography.RSAPKCS1SignatureDeformatter.VerifySignature(Byte[] rgbHash, Byte[] rgbSignature)
at System.Security.Cryptography.Xml.SignedXml.CheckSignature(AsymmetricAlgorithm key)
at 00000.0(AsymmetricAlgorithm _0, XmlDocument )
at __000_00.
000(0000
0 0, 0_0_____ __)
at __0_0_0_00.
()

after some digging we found out that SHA1 is by default treated as insufficient, it can be baypass with command "update-crypto-policies --set LEGACY" but we can't do it in every case.

Is there a way to obatin license in other form, signed with stronger algorithm?

by

1 Answer

0 votes

Yes, please contact support directly.

You can find the email address in the page footer.

by (302k points)
...