interactive

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PinEntryMode string

Functions

func AuthenticateVault

func AuthenticateVault(v *api.VaultInfo, attempt int, lastErr error) ([]byte, error)

func GetNewPassword

func GetNewPassword(label string) ([]byte, error)

func GetOnePassword

func GetOnePassword(ref string) ([]byte, error)

func GetPassword

func GetPassword(long, short string, rd gopass.FdReader, errw io.Writer, mask bool) ([]byte, error)

func ResolveOnePassword

func ResolveOnePassword(itemName, fieldLabel string) (string, error)

Types

type OnePasswordField

type OnePasswordField struct {
	ID        string `json:"id"`
	Type      string `json:"type"`
	Label     string `json:"label"`
	Value     string `json:"value"`
	Reference string `json:"reference"`
}

Jump to

Keyboard shortcuts

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