Skip to content

Writing keys from p12 encrypted with legacy encryption #3080

Answered by Jakuje
msetina asked this question in Q&A
Discussion options

You must be logged in to vote

I think you would have to load the legacy provider for openssl. Then the "cipher" should be available, but the RC2 is really a joke and I do not think this is something we want to support.

We load the legacy provider for some uses already:

static int sc_openssl3_init(sc_context_t *ctx)

So it might be enough just to use the right library context for the operation in the pkcs15-init

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by msetina
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants