sshagent

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterCertificateEKU added in v1.0.3

func FilterCertificateEKU(cert *capi.Certificate) bool

Types

type CAPIAgent

type CAPIAgent struct {
	// contains filtered or unexported fields
}

func (*CAPIAgent) Add

func (*CAPIAgent) Add(key agent.AddedKey) error

func (*CAPIAgent) Close added in v1.0.1

func (s *CAPIAgent) Close() (err error)

func (*CAPIAgent) Extension

func (s *CAPIAgent) Extension(extensionType string, contents []byte) ([]byte, error)

func (*CAPIAgent) List

func (s *CAPIAgent) List() (keys []*agent.Key, err error)

func (*CAPIAgent) Lock

func (*CAPIAgent) Lock(passphrase []byte) error

func (*CAPIAgent) Remove

func (*CAPIAgent) Remove(key ssh.PublicKey) error

func (*CAPIAgent) RemoveAll

func (*CAPIAgent) RemoveAll() error

func (*CAPIAgent) Sign

func (s *CAPIAgent) Sign(key ssh.PublicKey, data []byte) (*ssh.Signature, error)

func (*CAPIAgent) SignWithFlags

func (s *CAPIAgent) SignWithFlags(key ssh.PublicKey, data []byte, flags agent.SignatureFlags) (*ssh.Signature, error)

func (*CAPIAgent) Signers

func (*CAPIAgent) Signers() ([]ssh.Signer, error)

func (*CAPIAgent) Unlock

func (*CAPIAgent) Unlock(passphrase []byte) error

type Server

type Server struct {
	Agent agent.Agent
}

func (*Server) SSHAgentHandler

func (s *Server) SSHAgentHandler(conn io.ReadWriteCloser)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL