dwklint

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2024 License: GPL-3.0 Imports: 10 Imported by: 1

README

dwklint

X.509 Certificate Linter for Debian weak keys

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadBlocklists

func LoadBlocklists(dwkBlocklistPath string) error

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

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL