pgp

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractPublicKey

func ExtractPublicKey(entity *openpgp.Entity) ([]byte, error)

func GetFingerprintFromPublicKey added in v0.1.3

func GetFingerprintFromPublicKey(content []byte) (string, error)

func GetKeyring

func GetKeyring(keyRingPath string, publicKeyPath string) (openpgp.EntityList, error)

func VerifySignature

func VerifySignature(file []byte, keyring openpgp.EntityList) (*openpgp.Entity, *io.Reader, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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