From 5ebff4c9a46f6f18452dea23e5e3de085edf69f0 Mon Sep 17 00:00:00 2001 From: ADRN Date: Wed, 17 Jan 2024 19:33:50 +0100 Subject: update pass page flow --- content/operations/pass.md | 35 ++++++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 9 deletions(-) (limited to 'content') 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 It is now publicly accessible at `https://git.deuxfleurs.fr/.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 ``, 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/.gpg | gpg2 --import # +``` + +Also add your `` 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 -- cgit v1.2.3