You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RedHat Enterprise Linux v9 has removed support for SHA1 signatures. When starting up a program that uses Netonsoft.Json.Schema, the program exceptions in CryptographyHelpers.ValidateData.
This can be worked around by changing the base OS cryptographic settings, but not if the OS is running in FIPS mode. For FIPS mode no workaround has been found yet.
Unhandled exception. Interop+Crypto+OpenSslCryptographicException: error:020000AD:rsa routines::invalid key length
at Interop.Crypto.DecodeSubjectPublicKeyInfo(ReadOnlySpan`1 source, EvpAlgorithmId algorithmId)
at System.Security.Cryptography.RSAImplementation.RSAOpenSsl.ImportParameters(RSAParameters parameters)
at Newtonsoft.Json.Schema.Infrastructure.Licensing.CryptographyHelpers.ValidateData(Byte[] data, Byte[] signature)
at Newtonsoft.Json.Schema.Infrastructure.Licensing.LicenseHelpers.ReadLicenseData(DateTime releaseDate, String licenseBase64, Int32 licenseId)
at Newtonsoft.Json.Schema.Infrastructure.Licensing.LicenseHelpers.RegisterLicense(String license, DateTime releaseDate)
at Newtonsoft.Json.Schema.Infrastructure.Licensing.LicenseHelpers.RegisterLicense(String license)
at Newtonsoft.Json.Schema.License.RegisterLicense(String license)
at XXXX.XXXX.JsonSchemaInitializer.RegisterNewtonsoftJsonSchemaLicense() in XXXXX/XXXX/Startup.cs:line 318
The text was updated successfully, but these errors were encountered:
Note: you'll need to reach out to me to get a new key to use with the software. For compatibility, SHA1 and 128bit key is still used by default. A key that uses SHA256 + 256bit key is required to avoid this error.
Sometime in the future, the default for generated keys will change to 256.
RedHat Enterprise Linux v9 has removed support for SHA1 signatures. When starting up a program that uses Netonsoft.Json.Schema, the program exceptions in
CryptographyHelpers.ValidateData
.This can be worked around by changing the base OS cryptographic settings, but not if the OS is running in FIPS mode. For FIPS mode no workaround has been found yet.
The text was updated successfully, but these errors were encountered: