Add bounded DER certificate explorer

This commit is contained in:
sergeych committed 2026-08-16 20:42:11 +04:00
1 parent be751f4b51
commit 216afb6c18
10 files changed
+384 -12

No files matched your search

+1
View File
@@ -28,6 +28,7 @@ function printReport({ facts, findings, caveats }) {
console.log(`${index + 1}. ${certificate.subject}`);
console.log(` SHA-256 ${certificate.sha256}`);
console.log(` ${certificate.validFrom} — ${certificate.validUntil}${certificate.isCa ? " · CA" : ""}${certificate.selfSigned ? " · self-signed" : ""}`);
if (certificate.keyUsages.length) console.log(` Key Usage: ${certificate.keyUsages.join(", ")}`);
});
console.log("\nFindings:");
if (findings.length === 0) console.log("- No failure found by the current checks.");