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.

Source Files

parse_helpers.go

Version
v1.2.1 (latest)
Published
Dec 16, 2024
Platform
linux/amd64
Imports
10 packages
Last checked
2 months ago

Tools for package owners.