unlock

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecureStore

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

func NewSecureStore

func NewSecureStore(name string, logLevel logrus.Level) (*SecureStore, error)

func (*SecureStore) Clean

func (store *SecureStore) Clean() error

func (*SecureStore) GeneratePassphrase

func (store *SecureStore) GeneratePassphrase(pin string, pepper string, kdfIterCount int) error

func (*SecureStore) Read

func (store *SecureStore) Read() ([]byte, error)

func (*SecureStore) Write

func (store *SecureStore) Write(dbKey []byte) error

Jump to

Keyboard shortcuts

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