]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Implement KEYMGMT in the xkey provider
authorSelva Nair <selva.nair@gmail.com>
Tue, 14 Dec 2021 16:59:12 +0000 (11:59 -0500)
committerGert Doering <gert@greenie.muc.de>
Thu, 20 Jan 2022 13:49:50 +0000 (14:49 +0100)
commit44509116da50b53a5588318fb27b2e4a3da4ab6c
tree87e8c9b7e0868e02c174a037d23d89c1489e50f3
parent5910eb6cd5308720d5e4f197b83763d572fce8a1
Implement KEYMGMT in the xkey provider

A minimal set of functions for keymgmt are implemented.
No support for external key import as yet, only native
keys. Support for native keys is required as keys may
get imported into us for some operations as well as
for comparison with unexportable external keys that we hold.

Implementation of signature callbacks is in the next commit.

v2 changes: This was commit 3/9 in v1
v3 changes: When OpenSSL native key is imported instead of duplicating
the whole key, use only the public components for public key.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
Acked-by: Arne Schwabe <arne@rfc2549.org>
Message-Id: <20211214165928.30676-3-selva.nair@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg23438.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/xkey_provider.c