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

config.go

Version
v1.2.0
Published
Jul 1, 2024
Platform
linux/amd64
Imports
6 packages
Last checked
1 hour ago

Tools for package owners.