Categorygithub.com/micromaomao/go-ecbpass
modulepackage
0.0.0-20220220212512-68aa0f6e8e42
Repository: https://github.com/micromaomao/go-ecbpass.git
Documentation: pkg.go.dev

# README

go-ecbpass

go-ecbpass is a tool to generate pseudorandom password that can safely be used on various websites. The generated password is deterministic and is based on the user's master password and the domain of the URL provided.

Features

  • Accepts URL, domain is extracted automatically.
  • Automatic 'copy to clipboard' via xclip. (Linux only)
  • Entirely stateless. No backup needed.
  • A "password hint" which can help you detect typo in your master password.

Install

AUR package

go-ecbpass: https://aur.archlinux.org/packages/go-ecbpass/

Build from source

go get && go install

Documentation

man page: man go-ecbpass or view from source

How it works

sitekey := scrypt.Key(password, domain, 262144 /* 2^18 */, 8, 3, 12)
sitepassword := encode(sitekey)

where encode is some simple encoding function that turn []byte to ASCII string.

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
Extract the registerable part of the domain from the url and turn it into []byte.