Documentation
¶
Overview ¶
Package credentialhash creates keyed, domain-separated credential digests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hasher ¶
type Hasher struct {
// contains filtered or unexported fields
}
Hasher holds the derived root key used to produce credential digests.
type Purpose ¶
type Purpose string
Purpose identifies the credential type to hash.
const ( PurposeOperatorAPIKey Purpose = "operator-api-key" PurposeOperatorSession Purpose = "operator-session" PurposeEnrollmentToken Purpose = "enrollment-token" PurposeMeshImportToken Purpose = "mesh-import-token" // #nosec G101 -- public domain label, not credential material PurposeTOTPRecoveryCode Purpose = "totp-recovery-code" )
Click to show internal directories.
Click to hide internal directories.