cli

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client is pinentry CLI drop-in

func New

func New() (*Client, error)

New creates a new client

func (*Client) Close

func (c *Client) Close()

Close is a no-op

func (*Client) Confirm

func (c *Client) Confirm() bool

Confirm is a no-op

func (*Client) GetPin

func (c *Client) GetPin() ([]byte, error)

GetPin prompts for the pin in the termnial and returns the output

func (*Client) Option

func (c *Client) Option(string) error

Option is a no-op

func (*Client) Set

func (c *Client) Set(key string, _ string) error

Set is a no-op unless you're requesting a repeat

Jump to

Keyboard shortcuts

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