pageant

package
v0.0.0-...-fd51b52 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

View Source
const MaxMessageLen = 8192

Maximum size of message can be sent to pageant

Variables

View Source
var (
	ErrPageantNotFound = errors.New("pageant process not found")
	ErrSendMessage     = errors.New("error sending message")

	ErrMessageTooLong       = errors.New("message too long")
	ErrInvalidMessageFormat = errors.New("invalid message format")
	ErrResponseTooLong      = errors.New("response too long")
)

Functions

func Available

func Available() bool

Available returns true if Pageant is running

Types

type PageantAgent

type PageantAgent struct {
	agent.Agent
	// contains filtered or unexported fields
}

func New

func New() *PageantAgent

New returns new ssh-agent instance (see http://golang.org/x/crypto/ssh/agent)

func (*PageantAgent) LoadHackCertificate

func (p *PageantAgent) LoadHackCertificate(c string) error

Jump to

Keyboard shortcuts

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