update pass page flow
continuous-integration/drone/push Build is passing Details

This commit is contained in:
ADRN 2024-01-17 19:33:50 +01:00
parent 1b072f69ff
commit 5ebff4c9a4
1 changed files with 26 additions and 9 deletions

View File

@ -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