Documentation
¶
Overview ¶
Package sshkey implements a provider that derives a 32-byte secret from an SSH private key. The key material is parsed, canonically marshaled, and run through HKDF-SHA256 to produce a deterministic secret.
Supported key types: Ed25519, ECDSA, RSA. Passphrase-protected keys are supported (prompts for passphrase).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProbeKeyFile ¶
ProbeKeyFile checks if an SSH key file exists and whether it needs a passphrase. Returns (needsPassphrase, error). Error is non-nil if the file can't be read or parsed.
Types ¶
type SSHKey ¶
type SSHKey struct{}
SSHKey is the SSH key provider.
func (*SSHKey) Description ¶
func (*SSHKey) InteractiveDerive ¶
Click to show internal directories.
Click to hide internal directories.