Skip to content

Generate test certificates at runtime - #1486

Open
Kaptnik wants to merge 2 commits into
NLnetLabs:masterfrom
Kaptnik:generate-test-certificates
Open

Generate test certificates at runtime#1486
Kaptnik wants to merge 2 commits into
NLnetLabs:masterfrom
Kaptnik:generate-test-certificates

Conversation

@Kaptnik

@Kaptnik Kaptnik commented Aug 5, 2026

Copy link
Copy Markdown

Summary

  • Generate TLS keys, certificates, and PKCS#7 signatures before long tests run
  • Remove 151 reproducible cryptographic fixtures from source control
  • Add clear recovery instructions when fixture generation fails
  • Document manual generation with sh testdata/gen_testkeys.sh testdata
  • Retain fixed DNSSEC and DNSCrypt test vectors

Testing

  • make distclean
  • ./configure
  • make
  • make test
  • make longtest

The certificate-dependent tests, including 10-unbound-anchor, pass. stat_values still fails because its checked-in DNSSEC signatures have expired; this is unrelated to these changes.

Karthik Umashankar and others added 2 commits August 5, 2026 22:43
Generate reusable TLS keys, certificates, and unbound-anchor signatures before tdir tests run. Document manual generation and provide actionable errors when generation fails.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Stop tracking TLS keys, certificates, and PKCS#7 signatures that are now recreated by the long-test harness. Keep fixed DNSSEC and DNSCrypt vectors in source.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant