Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	// Signer returns a security.Signer for the specified key, which will
	// generally be referred to as a filename. Credentials
	// will generally be a passphrase for accessing the key.
	Signer(ctx context.Context, key string, credentials []byte) (security.Signer, error)

	// Close releases/closes all resources associated with the service instance.
	Close(ctx context.Context) error
}

Service defines the interface for a signing service.

Source Files

Directories

Path Synopsis
internal
keyfile Package keyfile provides a signing service that uses files to store keys.
sshagent Package sshagent provides the ability to use openssh's ssh-agent to carry out key signing operations using keys stored therein.