Repository navigation
WIP: OpenSSL PKCS#11 Engine - #8200
opensignature wants to merge 124 commits into
Conversation
|
Note: @opensignature it might help to take a look at our Coding Style Guide. |
|
Here's another test case for you. Consider a certificate chain A → B → CA. The server has only the CA, not the intermediate B. Client authenticates, using a simple specifier for the cert e.g. The client code should automatically find the intermediate B in the same token and present it on the wire, otherwise the client certificate authentication cannot work. This works for example with OpenConnect, when built against GnuTLS. Because of historical Cisco/OpenSSL issues we try really hard to present a full and accurate chain on the wire to prevent the server from having to piece it together for itself. cf. http://git.infradead.org/users/dwmw2/openconnect.git/blob/HEAD:/gnutls.c#l1597 |
|
This feature is great! |
|
I got this error while testing: |
|
If your also interested in a pkcs 11 provider, see #10265 . We try to identify everything thats still missing to enable a pkcs11 provider implementation. |
|
I'm not sure whether this solution is fork-suitable. If you load your private key and fork afterward, the key handle has many chances to become invalid. |
@beldmit thanks for looking at this code.
|
|
I'm not sure it will make you safe in the case of forking. |
|
@opensignature Please close this one if you intend to use the provider interface instead. |
ok @t8m |
|
I extrapolated the engine code and created a separate project. |
|
I've added that repo on my watch list, thank you |
|
Do you think this will never be included in the final distribution of openssl? |
None of us are making that kind of effort for them moment, so it looks like this is going to remain an external engine/provider for the near future. |
Checklist