package helpers
import "github.com/containers/ocicrypt/helpers"
Index ¶
- func CreateCryptoConfig(recipients []string, keys []string) (encconfig.CryptoConfig, error)
- func CreateDecryptCryptoConfig(keys []string, decRecipients []string) (encconfig.CryptoConfig, error)
Functions ¶
func CreateCryptoConfig ¶
func CreateCryptoConfig(recipients []string, keys []string) (encconfig.CryptoConfig, error)
CreateCryptoConfig from the list of recipient strings and list of key paths of private keys
func CreateDecryptCryptoConfig ¶
func CreateDecryptCryptoConfig(keys []string, decRecipients []string) (encconfig.CryptoConfig, error)
CreateDecryptCryptoConfig creates the CryptoConfig object that contains the necessary information to perform decryption from command line options and possibly LayerInfos describing the image and helping us to query for the PGP decryption keys
Source Files ¶
- Version
- v1.0.0
- Published
- Feb 10, 2020
- Platform
- js/wasm
- Imports
- 12 packages
- Last checked
- 2 hours ago –
Tools for package owners.