keydb

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthorisedKey

type AuthorisedKey struct {
	U2FKeyHandle, PublicKeyHash []byte
}

func DecodeString

func DecodeString(str string) (AuthorisedKey, error)

func (AuthorisedKey) AppendKeyfile

func (a AuthorisedKey) AppendKeyfile(filename string) error

func (AuthorisedKey) Decrypt

func (a AuthorisedKey) Decrypt(password string) (AuthorisedKey, error)

func (AuthorisedKey) Encrypt

func (a AuthorisedKey) Encrypt(password string) (AuthorisedKey, error)

func (AuthorisedKey) KeyHandle

func (a AuthorisedKey) KeyHandle() u2fhost.KeyHandle

KeyHandler interface

func (AuthorisedKey) String

func (a AuthorisedKey) String() string

type AuthorisedKeys

type AuthorisedKeys []AuthorisedKey

func LoadKeyfile

func LoadKeyfile(filename string) (AuthorisedKeys, error)

func (AuthorisedKeys) Decrypt

func (aks AuthorisedKeys) Decrypt(password string) (AuthorisedKeys, error)

func (AuthorisedKeys) KeyHandlers

func (aks AuthorisedKeys) KeyHandlers() []u2fhost.KeyHandler

Jump to

Keyboard shortcuts

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