lib: add base64 hex encoding; linter fixes.

This commit is contained in:
2025-11-18 23:43:08 -08:00
parent ff34eb4eff
commit bf29d214c5
4 changed files with 134 additions and 126 deletions

View File

@@ -182,7 +182,7 @@ func main() {
continue
}
if _, err := verify.CertWith(cert, roots, nil, false); err != nil {
if _, err = verify.CertWith(cert, roots, nil, false); err != nil {
fmt.Printf("%s: INVALID\n", arg)
} else {
fmt.Printf("%s: OK (expires %s)\n", arg, cert.NotAfter.Format(lib.DateShortFormat))