Pass and Git

Ben Burwell password-store at benburwell.com
Thu Dec 13 17:12:47 CET 2018


On Thu, Dec 13, 2018 at 03:50:56PM +0000, Nicolas wrote:
> If I just checkout the git repo, I will only have gpg files.
> I tried to "pass init", and then "pass git ...." to get the repo.
> But when I do "pass" I don't have any password.
> 	What is the good process to restore my password using git repo ?

Normally, your password-store should only contain the gpg-encrypted files (and
your .gpg-id). Simply running

    git clone you at example.com:remote/repo.git ~/.password-store

should be all you need. You'll also need to make sure that your private key is
also in the gpg keyring on the new machine, otherwise you won't be able to
decrypt any of the passwords.


More information about the Password-Store mailing list