gpgx

package
v0.30.4 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadArmoredKeyFile

func ReadArmoredKeyFile(path string) (openpgp.EntityList, error)

ReadArmoredKeyFile attempts to read the filepath and parses an armored GPG key

func ReadPrivateKeyFile

func ReadPrivateKeyFile(path string, password []byte) (openpgp.EntityList, error)

ReadPrivateKeyFile attempts to read the filepath and parses an armored GPG private key

func Sign

func Sign(message []byte, pubKey openpgp.EntityList) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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