Commit Graph

7 Commits (master)

Author SHA1 Message Date
Jeremy Rand ba3a981852
certdehydrate: Fix unit test for Golang issue 40458
CreateCertificate now checks the resulting signature as of Go 1.16+.
This was confusing our unit test for invalid dehydrated certs, which was
expecting to need to verify the cert after the cert was created.
4 years ago
Jeremy Rand eef31fbdc4
Use splicesign and standard x509
Thanks to Filippo Valsorda for the tip.
4 years ago
JeremyRand 7db5b5a2d2
Move x509 subpackage to its own repo
This avoids tying the ncdns repo to a specific Go version; we can maintain
separate branches of the x509-signature-splice repo per Go version with
much less hassle.
5 years ago
JeremyRand 5d508f62e2
goimports -w certdehydrate/certdehydrate_test.go 6 years ago
JeremyRand cb55a50bef
certdehydrate: Add tests for known valid and invalid signatures. 6 years ago
JeremyRand 8ec3281780
gofmt -s certdehydrate/certdehydrate_test.go 7 years ago
JeremyRand e16ad6f62c
TLS dehydrated certificate injection for CryptoAPI trust store (triggered by hooking DNS lookups). 7 years ago