gpgutils

package
v0.0.0-...-ca21c3d Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptMessageArmored

func DecryptMessageArmored(key, fileIn, passphrase, fileOut string) error

func DecryptVerifyMessageArmored

func DecryptVerifyMessageArmored(pubkey, privkey, passphrase, fileIn, fileOut string) error

func EncryptMessageArmored

func EncryptMessageArmored(key, fileIn, fileOut string) error

func EncryptSignMessageArmored

func EncryptSignMessageArmored(pubkey, privkey, passphrase, fileIn, fileOut string) error

func KeyPairWriter

func KeyPairWriter(filePath, name, comment, email, passphrase string, expirationDate *time.Time, keySize int) error

func UpdatePrivateKeyPassphrase

func UpdatePrivateKeyPassphrase(privateKey string, oldPassphrase string, newPassphrase string) error

func VerifyKeyPair

func VerifyKeyPair(publicKeyPath, privateKeyPath string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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