baccounts

command module
v0.0.0-...-ea5ce41 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

README

Baccounts

Internet account (password) manager, with following goals:

  • Secure: Manage secure passwords (secure = long and complex enough)
  • SMALL: as minimal code required; ~ 1000 LOC for core functionalities
  • Dependent on a few small libraries as less as possible
  • Platform independent: work on Darwin, Windows, Linux or Unix
  • Portable and readable, not breakable persistent data

Under following assumptions or limitations

  • Trust Go standard library
  • No GUI
  • Only work with GnuPG 2.0 / 1.4 generated keyring files (PGP format; GnuPG 2.1 uses .kbx gpgsm format) -> Workaround below
  • on gpg-agent error of pinentry

Build and install

$ go install github.com/kuenishi/baccounts

LICENSE

GPL version 3

Workaround on later GnuPG key format

GnuPG >= 2.2 has a new public and secret key format instead of $HOME/.gnupg/pubring.gpg and $HOME/.gnupg/secring.gpg, while baccounts still reads secret keys from it (This is because Go openpgp module only supports PGP compatible format). But GnuPG supports exporting secret key to old format, like:

$ gpg --export > ~/.gnupg/pubring.gpg
$ gpg --export-secret-keys > ~/.gnupg/secring.gpg

TODO

  • update password (create a new one)
  • Export to other devices that does not have secret keys (Android, other computers)
  • how to share between devices like Android phone?

Test keys

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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