unlock

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BiometricStore added in v1.14.0

type BiometricStore struct{}

func NewBiometricStore added in v1.14.0

func NewBiometricStore(_ string, _ logrus.Level) (*BiometricStore, error)

func (*BiometricStore) Clean added in v1.14.0

func (store *BiometricStore) Clean() error

func (*BiometricStore) Read added in v1.14.0

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

func (*BiometricStore) Write added in v1.14.0

func (store *BiometricStore) Write(_ []byte) error

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