-
I want to write keys and cert from an old p12 file. pkcs15-init returns: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
The encryption is RC2-40-CBC |
Beta Was this translation helpful? Give feedback.
-
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: Line 838 in a94af7f So it might be enough just to use the right library context for the operation in the pkcs15-init |
Beta Was this translation helpful? Give feedback.
-
Thank you. I hope that when I collect the new version of p12, I do not get the same packaging. |
Beta Was this translation helpful? Give feedback.
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:
OpenSC/src/libopensc/ctx.c
Line 838 in a94af7f
So it might be enough just to use the right library context for the operation in the pkcs15-init