Skip to content

Commit

Permalink
Merge pull request #621 from IJHack/mdl-natural-text
Browse files Browse the repository at this point in the history
markdownlint --fix && textlint --fix
  • Loading branch information
annejan authored Feb 22, 2023
2 parents b912ef7 + 8d757e9 commit fef1b1b
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fef1b1b

Please sign in to comment.