pgp

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2024 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