passman

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(filename string, password []byte) (data []byte, err error)

Load reads data from an encrypted file.

func LoadDB

func LoadDB(filename string, masterpass []byte) (*store.DB, error)

func Save

func Save(filename string, password []byte, data []byte) error

Save compresses and writes a slice of data to disk as an encrypted file.

func SaveDB

func SaveDB(filename string, password []byte, db *store.DB) error

func WriteToClipboard

func WriteToClipboard(value string) error

Types

type CommandFunc

type CommandFunc func(args []string) error

type PassManager

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

func NewPassManager

func NewPassManager(db *store.DB, dbname string) *PassManager

func (*PassManager) Close

func (pm *PassManager) Close() error

func (*PassManager) Run

func (pm *PassManager) Run() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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