ssh

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Eq

func Eq(a, b ssh.PublicKey) bool

func NewSSHKeyCipher

func NewSSHKeyCipher(name string, keyring *crypto.Keyring) (models.Cipher, string, error)

func SSHKeyCipherFromKey added in v0.3.3

func SSHKeyCipherFromKey(name string, privateKey string, keyring *crypto.Keyring) (models.Cipher, string, error)

todo refactor to share code

Types

type SSHAgentServer

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

func NewVaultAgent

func NewVaultAgent(vault *vault.Vault, config *config.Config, runtimeConfig *config.RuntimeConfig) SSHAgentServer

func (SSHAgentServer) Serve

func (v SSHAgentServer) Serve()

func (*SSHAgentServer) SetUnlockRequestAction

func (v *SSHAgentServer) SetUnlockRequestAction(action func() bool)

Jump to

Keyboard shortcuts

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