chiark / gitweb /
test-example: Test new long-term key arrangements
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 16 Nov 2019 17:39:50 +0000 (17:39 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 15 Feb 2020 21:56:53 +0000 (21:56 +0000)
commitc9538f0540842730c5ba823edeba7dbe995a4d9e
tree84736a55fafdafc50bc45e5ac9d9efa3fa59d8ec
parent8c9b0fba1ab3c124a7e51cc4782ad64b8861cada
test-example: Test new long-term key arrangements

Finally we can test this!

Specifically, we switch the defaults to the privkeys directories,
which affects the existing t-basic-kex test.  We introduce two new
tests for testing the old arrangements.

The consequences for the t-basic-kex test are:
 * Use the sites file generated with --install-pubkeys, thus
   testing the new make-secnet-sites.
 * Use peer-keys, so testing secnet's new pubkey loading
   mechanisms.
 * Use priv-cache, so testing secnet's new privkey loading
   mechanisms.
 * Test the new public key choice negotation mechanism.

The old tests tests the compatibility of the key choice negotiation
mechanism, as well as the capability to generate
old-style (compatible) sites.conf files.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
stest/common.tcl
stest/t-nonnego-on [new file with mode: 0755]
stest/t-nonnego-oo [new file with mode: 0755]