Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadBlocklists ¶
Load Debian weak key blocklists from the given directory, which should contain the CSV files from https://github.com/CVE-2008-0166/dwk_blocklists
Types ¶
type DebianWeakKeyStatus ¶
type DebianWeakKeyStatus int
const ( // Pass: NotWeak DebianWeakKeyStatus = iota UnknownButTLSBRExceptionGranted // Fail: Weak Unknown Error )
func HasDebianWeakKey ¶
func HasDebianWeakKey(cert *x509.Certificate) DebianWeakKeyStatus
Click to show internal directories.
Click to hide internal directories.