pinentry

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindPinentryGUIPath

func FindPinentryGUIPath() string

Types

type Pinentry

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

func New

func New() *Pinentry

func (*Pinentry) ConfirmGeneric added in v0.2.0

func (pe *Pinentry) ConfirmGeneric(prompt string) (chan Result, error)

ConfirmGeneric shows a confirmation dialog without challenge-based deduplication. Use this for CTAP2 operations where browser retries don't occur.

func (*Pinentry) ConfirmPresence

func (pe *Pinentry) ConfirmPresence(prompt string, challengeParam, applicationParam [32]byte) (chan Result, error)

type Result

type Result struct {
	OK    bool
	Error error
}

Jump to

Keyboard shortcuts

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