Secure passwords with gopass. It creates a folder tree, where encrypted files are the leaves.
gopass
├── my-company
│ └── pepe@my-company.com
└── personal
└── pepe@personal.com
gpg -K
gpg --full-generate-key
echo "source <(gopass completion bash)" >> ~/.bashrc
gopass init
Note: backup your private key in an encrypted disk.
gopass ls
Default store location ~/.password-store/
gopass insert my-company/willy@email.com
gopass generate my-company/anothername@rmail.com
gopass search @email.com
gopass show my-company/willy@email.com
gopass show -c my-company/willy@email.com
Stores (AKA mounts) let you group your passwords. Example:
personal
, company
. Each one can live
in a different repository, and you could share
company
with your peers.
Creates a new store located at
~/.password-store-my-company
.
gopass init --store my-company
gopass git remote add --store my-company origin git@gh.com/Woile/keys.git
gopass clone git@gh.com/Woile/keys.git my-company --sync gitcli
gopass sync
gopass sync --store my-company
gpg -a --export willy@email.com > willy.pub.asc
gopass recipients
gpg --import < willy.pub.asc
gpg --list-keys
gopass recipients add willy@email.com