package
0.6.1
Repository: https://github.com/ovh/symmecrypt.git
Documentation: pkg.go.dev

# Functions

ConfigFilter returns a new SealedConfigFilter.
Exists returns true if a global singleton seal is configured and initialized.
Global returns the global singleton seal.
InitFromConfig initializes the global singleton seal from the configstore.
InitFromStore initializes the global singleton seal from a specific store instance.
KnownSealedConfigs returns a list of known sealed config items.
NewRandom instantiates a new random Seal.
NewSealFromConfig instantiates a new Seal from the configstore.
NewSealFromStore instantiates a new Seal from a specific store instance.
SealConfigWith seals the configstore item with a given seal, and returns the sealed value.
SealedConfigName returns the suffixed name to use for a configstore (sealed) item.
UnsealConfig can be used with configstore.ItemList.Transform() to unseal configstore items.
WaitUnseal waits for the global singleton instance to become unsealed.

# Constants

ConfigName is the name of the config item in the configstore.

# Variables

SealConfigFilter is the configstore manipulation filter used to retrieve the seal definition.

# Structs

Seal is a shamir-sharded encryption key.
SealedConfigFilter helps managing configstore items encrypted with the seal.
SealError is the concrete type returned for all errors originating from seal mis-use: Wrong parameters, incoherent state, etc.