package
0.1.4
Repository: https://github.com/diamondburned/gotktrix.git
Documentation: pkg.go.dev

# Functions

EncryptedFileDriver creates a new encrypted file driver with the given passphrase.
KeyringDriver creates a new keyring driver.
New creates a new service.
PathIsEncrypted returns true if the given path is encrypted.
SaltedFileDriver creates a new encrypted file driver with a generated passphrase.

# Variables

ErrIncorrectPassword is returned if the provided user password does not match what is on disk.
ErrNotFound is returned for unknown keys.
No description provided by the author

# Structs

EncryptedFile is an implementation of a secret driver that encrypts the value stored using a generated salt.
Keyring is an implementation of a secret driver using the system's keyring driver.
Service wraps multiple drivers to provide fallbacks.

# Interfaces

Driver is a basic getter-setter interface that describes a secret driver.