Versions in this module Expand all Collapse all v0 v0.56.0 Sep 2, 2026 GO-2026-5932 GO-2026-5932: The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues Changes in this version + func HashHostname(hostname string) string + func Line(addresses []string, key ssh.PublicKey) string + func New(files ...string) (ssh.HostKeyCallback, error) + func Normalize(address string) string + type KeyError struct + Want []KnownKey + func (u *KeyError) Error() string + type KnownKey struct + Filename string + Key ssh.PublicKey + Line int + func (k *KnownKey) String() string + type RevokedError struct + Revoked KnownKey + func (r *RevokedError) Error() string