I am looking for a simple, open-source password manager for linux with a CLI. It has to have a way of retrieving a password via the command line, so I can use it in several scripts (that sync my email for example).
I came across pass
(https://www.passwordstore.org/). It looks very promising and exactly like the program I was looking for, however there is one thing I can't figure out.
Using pass git init
and pass git push
, I can synchronize the passwords to an external git repository.
However: this is not enough to use the passwords on a different machine, because the gpg keys are not synchronised. How can I synchronize the gpg keys/pass passwords in a safe way?
I found this question: synchronising gnupg and pass but is doesn't really answer my question. It just says "don't put your gpg keys on the web".