encryption

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeletePasswordMetadata

func DeletePasswordMetadata(db *gorm.DB, labels []string) error

func UpdatePasswordMetadata

func UpdatePasswordMetadata(db *gorm.DB, configuredPrimaryLabel string) error

Types

type Configuration

type Configuration struct {
	Encryptor              storage.Encryptor
	RotationEncryptor      storage.Encryptor
	Changed                bool
	ConfiguredPrimaryLabel string
	StoredPrimaryLabel     string
	ToDeleteLabels         []string
}

func ParseConfiguration

func ParseConfiguration(db *gorm.DB, enabled bool, passwords string) (Configuration, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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