Documentation
¶
Overview ¶
Package sshagent implements a provider that derives a 32-byte secret by having the SSH agent sign a deterministic challenge. The secret is the HKDF-SHA256 of the resulting Ed25519 signature.
Only Ed25519 keys are supported because their signatures are deterministic (same key + same message = same signature), which is required for reliable key reconstruction.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentKeyInfo ¶
AgentKeyInfo holds metadata about an Ed25519 key in the agent.
func ListEd25519Keys ¶
func ListEd25519Keys() ([]AgentKeyInfo, error)
ListEd25519Keys connects to the SSH agent and returns Ed25519 keys.
type SSHAgent ¶
type SSHAgent struct{}
SSHAgent is the SSH agent provider.
func (*SSHAgent) Description ¶
func (*SSHAgent) InteractiveDerive ¶
Click to show internal directories.
Click to hide internal directories.