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, 7 Dec 2019 21:52:07 +0000 (21:52 +0000)
commitf8f323a40f8e0b9f8fa77322628e7fa0664b8cba
treeb0f6f3254824be73352bdcf35f4240e7cd712652
parentff216d83da0e4101a723a4521c24a29eeaa12f8c
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]