Documentation
¶
Overview ¶
Package pepper provides helpers for obtaining and persisting a secret "pepper" value.
The pepper is stored in the system keyring and is used as an additional secret when hashing or deriving cache keys. If the value is missing, the user is prompted on stdin and the result is saved to the keyring.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrPepperNotSet = errors.New("pepper not set in keyring")
Functions ¶
func PepperExists ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.