derk

package module
v0.0.0-...-daa7d95 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: Unlicense Imports: 5 Imported by: 0

README

derk is a tool to derive passwords from a master password in a deterministic way. It is indended for my personal use, so breaking changes are possible and even likely.

The key derivation method is the same one that's used in lesspass. The password encoding approach is different, though. The following procedure is used:

  1. The last 12 bytes of the secret key are taken;
  2. They are encoded using Base58 algorithm;
  3. A single hyphen (-) is inserted at the end.

similar projects:

usage example: in order to paste a password for me@example.com into the clibpoard, run echo '[{"username": "me", "domain": "example.com", "method": "v1"}]' | derk

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeriveAndFormat

func DeriveAndFormat(masterPassword string, spec map[string]string) (string, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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