package pgp

import "github.com/containers/ocicrypt/keywrap/pgp"

Index

Variables

var (
	// GPGDefaultEncryptConfig is the default configuration for layer encryption/decryption
	GPGDefaultEncryptConfig = &packet.Config{
		Rand:              rand.Reader,
		DefaultHash:       crypto.SHA256,
		DefaultCipher:     packet.CipherAES256,
		CompressionConfig: &packet.CompressionConfig{Level: 0},
		RSABits:           2048,
	}
)

Functions

func NewKeyWrapper

func NewKeyWrapper() keywrap.KeyWrapper

NewKeyWrapper returns a new key wrapping interface for pgp

Source Files

keywrapper_gpg.go

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

Tools for package owners.