aboutsummaryrefslogtreecommitdiff
path: root/content/operations/pass.md
diff options
context:
space:
mode:
authorADRN <adrien@luxeylab.net>2024-01-17 19:33:50 +0100
committerADRN <adrien@luxeylab.net>2024-01-17 19:33:50 +0100
commit5ebff4c9a46f6f18452dea23e5e3de085edf69f0 (patch)
tree3c20972c7e4d0539c67babb796e52d19d5f1840e /content/operations/pass.md
parent1b072f69ff9d529630e01902a1027ca78b6d6bf3 (diff)
downloadguide.deuxfleurs.fr-5ebff4c9a46f6f18452dea23e5e3de085edf69f0.tar.gz
guide.deuxfleurs.fr-5ebff4c9a46f6f18452dea23e5e3de085edf69f0.zip
update pass page flow
Diffstat (limited to 'content/operations/pass.md')
-rw-r--r--content/operations/pass.md35
1 files changed, 26 insertions, 9 deletions
diff --git a/content/operations/pass.md b/content/operations/pass.md
index 0414e12..b68c783 100644
--- a/content/operations/pass.md
+++ b/content/operations/pass.md
@@ -31,7 +31,32 @@ gpg2 --export --armor <your email address>
It is now publicly accessible at `https://git.deuxfleurs.fr/<your_gitea_username>.gpg`
-Inform all the other sysadmins that you have published your key for them to import/verify/sign it.
+### Inform the other sysadmins that you have published your key
+
+
+Download the `secrets` repository:
+
+```
+mkdir -p ~/.password-store
+cd ~/.password-store
+git clone git@git.deuxfleurs.fr:Deuxfleurs/secrets.git deuxfleurs
+```
+
+
+Get the `<hexa_of_your_gpg_key>`, which you can get with `gpg --list-keys --keyid-format 0xLONG `.
+It's in the format `0x0123456789ABCDEF`.
+Beware to take the key of your main key (line begins with `pub`, not with `sub`).
+
+Add your key address to the `Import keys` section of the repo's `README.md`:
+
+```
+curl https://git.deuxfleurs.fr/<your_gitea_username>.gpg | gpg2 --import # <hexa_of_your_gpg_key>
+```
+
+Also add your `<hexa_of_your_gpg_key>` to the `.gpg-id` file.
+
+Now `git commit/pull/push`, and tell yo' friends that you're all set.
+
### Import/verify/sign every other sysadmin's key into your keychain
@@ -79,14 +104,6 @@ pkg install password-store # FreeBSD
*Go to [passwordstore.org](https://www.passwordstore.org/) for more information about pass*.
-Download the repository:
-
-```
-mkdir -p ~/.password-store
-cd ~/.password-store
-git clone git@git.deuxfleurs.fr:Deuxfleurs/secrets.git deuxfleurs
-```
-
Finally check that everything works:
```bash