Versions in this module Expand all Collapse all v0 v0.2.0 Feb 11, 2026 v0.1.0 Feb 8, 2026 Changes in this version + func Fingerprint(keyBlob []byte) string + type AgentClient interface + Close func() error + List func() ([]*Identity, error) + Sign func(key *Identity, data []byte) ([]byte, error) + func ConnectAgent(socketPath string) (AgentClient, error) + type AuditEvent struct + Action string + Error string + Fingerprint string + Host string + type AuditFunc func(event AuditEvent) + type Identity struct + Comment string + KeyBlob []byte + func (id *Identity) Fingerprint() string + type Proxy struct + func NewProxy(upstream AgentClient) *Proxy + func (p *Proxy) AllowKey(fingerprint string, hosts []string) + func (p *Proxy) Close() error + func (p *Proxy) GetCurrentHost() string + func (p *Proxy) List() ([]*Identity, error) + func (p *Proxy) SetAuditFunc(fn AuditFunc) + func (p *Proxy) SetCurrentHost(host string) + func (p *Proxy) Sign(key *Identity, data []byte) ([]byte, error) + type Server struct + func NewServer(proxy *Proxy, socketPath string) *Server + func NewTCPServer(proxy *Proxy, addr string) *Server + func (s *Server) Proxy() *Proxy + func (s *Server) SocketPath() string + func (s *Server) Start() error + func (s *Server) Stop() error + func (s *Server) TCPAddr() string