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
I'm not able to decrypt a jwe file with a RSA jwk key file. jose_jwe_dec function returns NULL.
I can do the same job with OpenSSL 1 but not with updated version.
p.s. I added legacy providers like this:
#if OPENSSL_VERSION_NUMBER >= 0x30000000
OSSL_PROVIDER *provider = OSSL_PROVIDER_load(NULL, "legacy");
if (!provider) {
fprintf(stderr, "Failed to load the legacy provider\n");
}
#endif
.........
#if OPENSSL_VERSION_NUMBER >= 0x30000000
printf("Unloading OpenSSL Legacy Provider\n");
if (provider) {
OSSL_PROVIDER_unload(provider);
}
#endif
The text was updated successfully, but these errors were encountered:
I'm not able to decrypt a jwe file with a RSA jwk key file. jose_jwe_dec function returns NULL.
I can do the same job with OpenSSL 1 but not with updated version.
p.s. I added legacy providers like this:
#if OPENSSL_VERSION_NUMBER >= 0x30000000
OSSL_PROVIDER *provider = OSSL_PROVIDER_load(NULL, "legacy");
if (!provider) {
fprintf(stderr, "Failed to load the legacy provider\n");
}
#endif
.........
#if OPENSSL_VERSION_NUMBER >= 0x30000000
printf("Unloading OpenSSL Legacy Provider\n");
if (provider) {
OSSL_PROVIDER_unload(provider);
}
#endif
The text was updated successfully, but these errors were encountered: