sshkey

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateKey

func GenerateKey() (sshkey, error)

GenerateKey generates an ed25519 sshkey

func ParseKey

func ParseKey(b []byte) (sshkey, error)

ParseKey parses a raw RSA or Ed22519 ssh key

func ParseKeyWithPassphrase added in v0.20.0

func ParseKeyWithPassphrase(b, passphrase []byte) (sshkey, error)

ParseKey parses a raw RSA or Ed22519 ssh key encrypted with a passphrase

Types

This section is empty.

Jump to

Keyboard shortcuts

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