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)

        Source Files