gpgutil

package
v0.65.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GPGEncrypt added in v0.47.0

type GPGEncrypt struct {
	PublicKeyringPath string
	// contains filtered or unexported fields
}

func NewGPGEncrypt added in v0.47.0

func NewGPGEncrypt(sPublicKeyringPath string) (GPGEncrypt, error)

func (*GPGEncrypt) EncryptFile added in v0.47.0

func (g *GPGEncrypt) EncryptFile(pathPlain string, pathCrypt string, sEmail string) error

func (*GPGEncrypt) EncryptStringToFile added in v0.47.0

func (g *GPGEncrypt) EncryptStringToFile(plaintext string, sPath string, sEmail string) error

func (*GPGEncrypt) GetKeyByEmail added in v0.47.0

func (g *GPGEncrypt) GetKeyByEmail(keyring openpgp.EntityList, email string) *openpgp.Entity

func (*GPGEncrypt) LoadPublicKeyRing added in v0.47.0

func (g *GPGEncrypt) LoadPublicKeyRing() error

Jump to

Keyboard shortcuts

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