signer

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SSHKeySigner added in v0.7.0

type SSHKeySigner struct {
	*keyfile.TPMKeySigner
	// contains filtered or unexported fields
}

Shim for keyfile.TPMKeySigner We need access to the SSHTPMKey to change the userauth for caching

func NewSSHKeySigner added in v0.7.0

func NewSSHKeySigner(k *key.SSHTPMKey, ownerAuth func() ([]byte, error), tpm func() transport.TPMCloser, auth func(*keyfile.TPMKey) ([]byte, error)) *SSHKeySigner

func (*SSHKeySigner) Sign added in v0.7.0

func (t *SSHKeySigner) Sign(r io.Reader, digest []byte, opts crypto.SignerOpts) ([]byte, error)

Jump to

Keyboard shortcuts

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