Help regarding extracting key from PEM file #448
Unanswered
ranjithravitk
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi I am implementing elgamal provider. I am reaching out as I am facing an issue you might have encountered while developing oqs. I have generated the private key PEM file. Now to generate the public key, I decoded the private key and passing it back to openSSL like this:
but the default file STORE is not able to export it and throwing me an error. To be precise,
struct evp_keymgmt_util_try_import_data_st import_data;
OSSL_FUNC_store_export_object_fn *export_object =
ctx->fetched_loader->p_export_object;
this is giving keydata as null as the export_object is NULL. I am just reaching out to understand how you guys resolved it. It will be really helpful if you can give me any tips at all. Thank you so much and sorry for any inconvenience.
Beta Was this translation helpful? Give feedback.
All reactions