💾 Archived View for gemini.ctrl-c.club › ~nristen › gemlog › 20220722.gmi captured on 2023-01-29 at 03:08:48. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
Nristen's (g)log
2022-07-22
tag: pass,git,gpg,password,manager
I use pass (Linux Password Manager) with a git repository encrypted by gpg. I like the simplicity and feel confident in the security of gpg. I also have my own remote git repo on a raspberry pi so I don't have to worry about using a questionable 3rd party host.
pass is installed on several of my computers and recently, decided to add it to my Linux Pinephone.
I don't add my password repo to new systems frequently so when I wanted to add it to my phone, I realized after several failures that I needed to make notes on the simple steps so I don't forget the next time.
Most of the instructions and tutorials on the web for setting up pass as a password manager are for setting it up on a single computer, not adding an existing repository to a new system.
Usually, what messes me up is I will try to first use (after installing pass) the command to create a new password store with "pass init <gpg id>". The problem is that after doing this it is difficult to add the git remote repo and then merge or rebase the remote repo over the newly created one.
1. Make sure pass is installed
2. Make sure that your gpg private key is setup
3. Go to the home directory
cd
4. clone the existing repo into the ~/.password-store directory:
git clone git://<remote git server>:<repo name> ~/.password-store
Guess what? That's it!
After I had made a mess trying to merge the newly created, empty git repository with one from the remote. I deleted the existing .password-store directory and used the above git clone command it pass worked perfectly after that.
https://www.passwordstore.org/
https://github.com/drduh/YubiKey-Guide
mailto:nristen@ctrl-c.club
xmpp:karl@chat.theharrisclan.net
--------