audit

package
v1.14.4 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package audit contains the password-strength auditing implementation. It reads all decrypted passwords and applies different heuristics and external password strength checks to determine the quality of the password (i.e. the first line of the secret - only!).

Index

Constants

This section is empty.

Variables

View Source
var DefaultExpiration = time.Hour * 24 * 365

DefaultExpiration is the default expiration time for secrets.

Functions

func Batch

func Batch(ctx context.Context, secrets []string, secStore secretGetter, expiration int) error

Batch runs a password strength audit on multiple secrets. Expiration is in days.

func Single

func Single(ctx context.Context, password string)

Single runs a password strength audit on a single password.

Types

This section is empty.

Jump to

Keyboard shortcuts

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