camlistore.org: camlistore.org/pkg/misc/pinentry Index | Files

package pinentry

import "camlistore.org/pkg/misc/pinentry"

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

Package Files

pinentry.go

Variables

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

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

type Request Uses

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 Uses

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

Package pinentry imports 6 packages (graph) and is imported by 36 packages. Updated 2018-07-17. Refresh now. Tools for package owners.