package helpers

import "github.com/containers/ocicrypt/helpers"

Index

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

parse_helpers.go

Version
v1.0.1
Published
Feb 10, 2020
Platform
js/wasm
Imports
12 packages
Last checked
13 hours ago

Tools for package owners.