-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels