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>
Mon, 30 Dec 2019 13:15:50 +0000 (13:15 +0000)
commit90045af7e8f176a999aba3485e4de9f2d8cd5130
treee43a38c930bbf5365d1b93725376ffeaadba6b34
parentd426e798d17ae340971413415421c49273d41454
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]