Versions in this module Expand all Collapse all v0 v0.1.0 Mar 30, 2026 Changes in this version + var ErrEncryptedKeyUnsupported = errors.New("encrypted GPG private keys are not supported") + var ErrNoPrivateKey = errors.New("no private key found") + var ErrNoPrivateKeyInAgent = errors.New("no private key found in SSH agent") + var ErrPassphraseUnsupported = errors.New("passphrase-protected SSH keys are not supported") + var ErrUnsupportedFormat = errors.New("unsupported signing format") + type Config struct + FS billy.Basic + Format Format + SSHAgent agent.Agent + SigningKey string + type Format string + const FormatOpenPGP + const FormatSSH + type Signer interface + Sign func(message io.Reader) ([]byte, error) + func FromConfig(cfg Config) (Signer, error)