From 05e5735267bae22d6ae302fde8b58dfbecf34313 Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Sun, 18 Aug 2019 22:46:02 -0500 Subject: [PATCH] Added basic instructions on setting up password store --- Password-Store setup.wiki | 26 ++++++++++++++++++++++++++ index.wiki | 1 + 2 files changed, 27 insertions(+) create mode 100644 Password-Store setup.wiki diff --git a/Password-Store setup.wiki b/Password-Store setup.wiki new file mode 100644 index 0000000..2dead6b --- /dev/null +++ b/Password-Store setup.wiki @@ -0,0 +1,26 @@ +=Password Store Setup= + +This is a quick reference for setting up `pass` on a new filesystem. + +1. Install `pass` via the most official means possible +2. Import secret key to gpg keyring +3. Initialize the password store with the key ID +{{{class='prettyprint' +pass init +}}} +4. Initialize the git repo inside the password store +{{{class='prettyprint' +pass git init +}}} +5. Set remote origin +{{{class='prettyprint' +pass git remote add origin user@site.com:pass.git +}}} +6. Fetch origin +{{{class='prettyprint' +pass git fetch origin +}}} +7. Reset hard to origin/master (overwriting anything that existed in the password store thus far) +{{{class='prettyprint' +pass git reset --hard origin/master +}}} diff --git a/index.wiki b/index.wiki index 60bf500..23f7bb6 100644 --- a/index.wiki +++ b/index.wiki @@ -18,6 +18,7 @@ Half brain dump, half documentation practice. * [[Pkglists]] * [[SSH]] * [[Keyboard Mapping]] +* [[Password-Store setup]] ===Misc.===