Yo Ian! On Sun, 30 Jun 2019 12:35:40 -0500 Ian Bruene via devel <devel@ntpsec.org> wrote:
> I have been trying to write tests for the NTS packet extension code > in nts_extens.c. Almost all of the functions end up needing to > encrypt or decrypt something. It is simple enough to feed in random > data for encryption, but for decryption the various keys and other > data needs to match up. > > This is a problem because the key generation code requires an SSL > context. How do I generate a set of keys that can be used in the > tests? Create your own. Something like this: https://deliciousbrains.com/ssl-certificate-authority-for-local-https-development/ Then ship some test keys with the code. RGDS GARY --------------------------------------------------------------------------- Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703 g...@rellim.com Tel:+1 541 382 8588 Veritas liberabit vos. -- Quid est veritas? "If you can’t measure it, you can’t improve it." - Lord Kelvin
pgpXflkgeJIAb.pgp
Description: OpenPGP digital signature
_______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel