Documentation
¶
Overview ¶
Package attemptcode is a team host's ATTEMPT CODE (team sharing 2b.2 follow-up; internal/mirror's teamhold.go): drawn by muster-mirror, checked by the hub, shown by `muster doctor`. 🔴 A LEAF: it imports only the standard library, so the CLI links it without the mirror package.
Index ¶
Constants ¶
const Header = "X-Muster-Attempt-Code"
Header carries a muster-mirror process's attempt code on /mirror/connect, and on `muster doctor`'s GET /mirror/host.
Variables ¶
This section is empty.
Functions ¶
func Fingerprint ¶
Fingerprint is the short hex that logs and audit rows carry for a code's hash: an HMAC under a per-process random key (#688 round 1, Z1), so it matches a log line to an audit row written by the SAME server process, and a log or audit reader cannot test guesses against it offline.
func Hash ¶
Hash is the hash the hub keeps of a code (canonical or as typed), and false for a malformed one.
Types ¶
This section is empty.