crypt

package
v0.29.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommitSignKey

func CommitSignKey(name, email, passphrase, path string) (entity *openpgp.Entity,
	err error)

CommitSignKey creates an openPGP Entity based on a user's name, email, armoredKeyRing and passphrase for the key ring. This commitSignKey can then be used to GPG sign Git commits

func EncryptedServiceAccountKey

func EncryptedServiceAccountKey(key, kmsKey string) (encKey []byte)

EncryptedServiceAccountKey uses github.com/ovotech/mantle to encrypt the key string that's passed in

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL