diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2023-02-22 20:07:38 +0100 |
---|---|---|
committer | Anne Jan Brouwer <brouwer@annejan.com> | 2023-02-22 20:07:38 +0100 |
commit | 8d757e975b2f6882445a914be6440a2ef4e7be58 (patch) | |
tree | 6689b3cef6114918d5a5d543b5f0c746822f4ab6 /README.md | |
parent | b912ef78ad53346e636c9e818af118be247b93d6 (diff) |
markdownlint --fix && textlint --fix
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -91,20 +91,22 @@ A typical use case is to separate personal and work passwords. The following commands set up two profile folders: ```sh -$ cd ~/.password-store/ -$ git clone https://github.com/vendor/personal-passwords personal && echo "personal/" >> .gitignore -$ git clone https://github.com/company/group-passwords work && echo "work/" >> .gitignore -$ pass init -p personal [personal GnuPG-ID] && git -C personal push -$ pass init -p work [work GnuPG-ID] && git -C work push +cd ~/.password-store/ +git clone https://github.com/vendor/personal-passwords personal && echo "personal/" >> .gitignore +git clone https://github.com/company/group-passwords work && echo "work/" >> .gitignore +pass init -p personal [personal GnuPG-ID] && git -C personal push +pass init -p work [work GnuPG-ID] && git -C work push ``` **Note:** -* Replace `[personal GnuPG-ID]` and `[work GnuPG-ID]` with the id from the related GnuPG key. + +* Replace `[personal GnuPG-ID]` and `[work GnuPG-ID]` with the ID from the related GnuPG key. * The parts `echo ... >> .gitignore` are just needed in case there is a git repository present in the base directory. Once the repositories and GnuPG-ID's have been defined the profiles can be set up in QtPass. ### Links of interest + * [Git Tools - Credential Storage](https://git-scm.com/book/en/v2/Git-Tools-Credential-Storage) * [Dealing with secrets](https://gist.github.com/maelvls/79d49740ce9208c26d6a1b10b0d95b5e) * [Git Credential Manager](https://github.com/GitCredentialManager/git-credential-manager) |