mempass

package
v0.0.0-...-e7f2174 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CodesForWord

func CodesForWord(clear string, secrets map[string]string) []string

func EncodeFile

func EncodeFile(path string, secrets map[string]string) string

Read a file, replace the password xyz in "Password: xyz" with an indented set of lines paraphrasing the password.

func EncodeWord

func EncodeWord(clear string, secrets map[string]string) string

func SecretsFromFile

func SecretsFromFile(path string) map[string]string

Reads the users configuration file with one character and its "secret code" (i.e. paraphrase) per line, separated by ": ". The return value is a map with the individual characters as keys and their respective code as values.

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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