Secure passwords with gopass. It creates a folder tree, where encrypted files are the leaves.
gopass
├── my-company
│ └── [email protected]
└── personal
└── [email protected]
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/[email protected]
gopass generate my-company/[email protected]
gopass search @email.com
gopass show my-company/[email protected]
gopass show -c my-company/[email protected]
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 [email protected]/Woile/keys.git
gopass clone [email protected]/Woile/keys.git my-company --sync gitcli
gopass sync
gopass sync --store my-company
gpg -a --export [email protected] > willy.pub.asc
gopass recipients
gpg --import < willy.pub.asc
gpg --list-keys
gopass recipients add [email protected]
[source][source] | [presentation][presentation] | [santiwilly][santiwilly]