util

package
v0.0.0-...-b0d25e1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultRSAKeyAlgorithm = ssh.KeyAlgoRSASHA256

DefaultRSAKeyAlgorithm is the default algorithm with RSA keys.

Variables

This section is empty.

Functions

func DialAuthSock

func DialAuthSock(name string) (net.Conn, error)

func LocalListen

func LocalListen(name string) (net.Listener, error)

func RandB64

func RandB64(n int) string

func RandBytes

func RandBytes(n int) []byte

func SignatureFormatFromSigningOptionAndCA

func SignatureFormatFromSigningOptionAndCA(opt string, ca ssh.PublicKey) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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