pinentry

package
v0.0.0-...-d6cb8d1 Latest Latest
Warning

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

Go to latest
Published: May 17, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package pinentry interfaces with the pinentry(1) command to securely prompt the user for a password using whichever user interface the user is currently using.

Index

Constants

This section is empty.

Variables

View Source
var ErrCancel = errors.New("pinentry: Cancel")

ErrCancel is returned when the user explicitly aborts the password request.

Functions

This section is empty.

Types

type Request

type Request struct {
	Desc, Prompt, OK, Cancel, Error string
}

Request describes what the user should see during the request for their password.

func (*Request) GetPIN

func (r *Request) GetPIN() (pin string, outerr error)

Jump to

Keyboard shortcuts

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