package
Version:
v0.9.0
Opens a new window with list of versions in this module.
Published: Oct 14, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package runneridentity holds the local runner key and its organisation binding.
DefaultDir is shared by runnerd and the owner's local claim command.
Generate persists a new key before it can be submitted for registration.
Existing keys are never overwritten, including identities a server revoked.
Save records the server's registration while preserving the generated key.
type Identity struct {
RunnerID uuid.UUID `json:"runner_id"`
PrivateKey ed25519.PrivateKey `json:"-"`
Fingerprint string `json:"key_fingerprint"`
OrgURLSHA256 string `json:"org_url_sha256"`
}
Identity never serializes its private key or a person's identity.
Load validates the organisation before returning a key that could sign a connection.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.