cli

package
v1.15.14 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2024 License: MIT Imports: 3 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

New creates a new client.

func (*Client) GetPIN added in v1.14.0

func (c *Client) GetPIN() (string, 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) 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