gpg

package
v0.0.0-...-ecf7e73 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2016 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCachedPrompter

func NewCachedPrompter(prompter func(string) ([]byte, error)) func(string) ([]byte, error)

NewCachedPrompter wraps provided prompter into new one, that caches responses

func NewGpgReader

func NewGpgReader(originalReader func(string) ([]byte, error), prompter func(string) ([]byte, error)) func(string) ([]byte, error)

NewGpgReader returns reader for GPG-encoded armored files (with extension .asc)

func TerminalPasswordPrompter

func TerminalPasswordPrompter(filename string) (password []byte, err error)

TerminalPasswordPrompter prompts password from terminal input

Types

This section is empty.

Jump to

Keyboard shortcuts

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