Add wider support and validation for valid SHA1/256 fingerprints.

Review Request #14925 — Created March 17, 2026 and updated — Latest diff uploaded

Information

Review Board
release-7.1.x

Reviewers

CertificateFingerprints.from_string() now supports plain SHA1 and
SHA256 strings (without the semicolons used in fingerprints). These will
be converted into the correct format.

The values are also now validated against regexes. This will first check
the line lengths and then follow up with a pattern match.

Unit tests pass.

Commits

Files