Documentation ¶
Index ¶
Constants ¶
const FingerprintByteLength = 64
FingerprintByteLength is our fingerprint byte length
const Shake256MinBytesRequired = 64
Shake256MinBytesRequired is our minimum bytes required for input to SHAKE-256
Variables ¶
var InvalidFingerprintMsg = fmt.Sprintf("The fingerprint in use is not %d bytes long and a valid hexidecimal string", FingerprintByteLength)
InvalidFingerprintMsg is the user-friendly error message if fingerprint is invalid
var VersionGitCommit string
VersionGitCommit The git commit this build is from. Do not change variable name as used by CI build through -ldflags.
var VersionGitTag string
VersionGitTag The git tag this build is from. Do not change variable name as used by CI build through -ldflags.
Functions ¶
func ConfigureCommandFunc ¶ added in v0.0.3
ConfigureCommandFunc is a handler for the configure command
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func IsValidFingerprint ¶ added in v0.0.4
IsValidFingerprint determines if a fingerprint is valid.
func RootCommandFunc ¶
RootCommandFunc is a handler for the bare application
func VersionCommandFunc ¶ added in v0.0.3
VersionCommandFunc is a handler for the version command
Types ¶
This section is empty.