package pkcs11config
import "github.com/containers/ocicrypt/config/pkcs11config"
Index ¶
Constants ¶
const CONFIGFILE = "ocicrypt.conf"
const ENVVARNAME = "OCICRYPT_CONFIG"
Functions ¶
func GetUserPkcs11Config ¶
func GetUserPkcs11Config() (*pkcs11.Pkcs11Config, error)
GetUserPkcs11Config gets the user's Pkcs11Conig either from a configuration file or if none is found the default ones are returned
Types ¶
type OcicryptConfig ¶
type OcicryptConfig struct { Pkcs11Config pkcs11.Pkcs11Config `yaml:"pkcs11"` }
OcicryptConfig represents the format of an imgcrypt.conf config file
Source Files ¶
- Version
- v1.1.5
- Published
- Jun 1, 2022
- Platform
- js/wasm
- Imports
- 7 packages
- Last checked
- 4 hours ago –
Tools for package owners.