encryption

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2017 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncryptValue

func EncryptValue(encryptionKey, value, description string) (string, string, error)

EncryptValue encrypts the given value with the given encryption key. Description should be set such that errors return a meaningful user-facing response.

func RetrieveGPGKey

func RetrieveGPGKey(pgpKey string) (string, error)

RetrieveGPGKey returns the PGP key specified as the pgpKey parameter, or queries the public key from the keybase service if the parameter is a keybase username prefixed with the phrase "keybase:"

Types

This section is empty.

Jump to

Keyboard shortcuts

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