keychain

package
v0.0.0-...-681ab0a Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Bootstrapped bool
View Source
var Encrypted bool
View Source
var Password string

Functions

func EncryptDatabase

func EncryptDatabase(password string) error

func Open

func Open(p string) error

func Put

func Put(key string, record *Record) error

func Remove

func Remove(key string) error

Types

type ErrNotFound

type ErrNotFound struct {
	Key string
}

func (ErrNotFound) Error

func (err ErrNotFound) Error() string

type Record

type Record struct {
	Password   string
	PrivateKey string
}

func Get

func Get(host string) (k *Record, err error)

Jump to

Keyboard shortcuts

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