]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Add a test for signing with certificates in Windows store
authorSelva Nair <selva.nair@gmail.com>
Wed, 15 Mar 2023 01:35:16 +0000 (21:35 -0400)
committerGert Doering <gert@greenie.muc.de>
Thu, 16 Mar 2023 09:54:14 +0000 (10:54 +0100)
commit0267649a21a2af1b60fbddcb78b0ed642080d6fd
tree15d2188b82027f04830d1591e1a47e6f358f28db
parent0ad5f4d6c44daedca00dc399a5f914ac5850caa0
Add a test for signing with certificates in Windows store

- For each sample certificate/key pair imported into the store,
  load the key into xkey-provider and sign a test message.
  As the key is "provided", signing will use appropriate
  backend (Windows CNG in this case).

  The signature is then verified using OpenSSL.

Change-Id: I520b34ba51e8c6d0247a82edc52bde181ab5a717
Signed-off-by: Selva Nair <selva.nair@gmail.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20230315013516.1256700-5-selva.nair@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg26416.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
tests/unit_tests/openvpn/Makefile.am
tests/unit_tests/openvpn/test_cryptoapi.c