lacre.admin: Add more 'queue' documentation, clean up

This commit is contained in:
Piotr F. Mieszkowski 2024-02-23 08:33:47 +01:00
parent 80c25f6d2e
commit f601080e87

View file

@ -33,6 +33,19 @@ To find out how many keys are waiting to be confirmed, run:
python -m lacre.admin queue
```
To see identities (emails) waiting for confirmation, use `--list` (or `-l`)
option:
```sh
python -m lacre.admin queue -l
```
To delete one of these emails, use `--delete` (or `-d`) option:
```sh
python -m lacre.admin queue -d malory@example.org
```
## Inspecting identities registered
To list all identities, run:
@ -49,12 +62,12 @@ python -m lacre.admin identities -e alice@example.com
## Importing identities from existing GnuPG keyring
If you already have a GnuPG keyring with your users' public keys or for some
If you already have a GnuPG keyring with your users' public keys or for some
reason Lacre's identity database needs to be re-populated with identities,
there's a command to do that:
there's a command to do that:
```sh
python -m lacre.admin import -d /path/to/gnupg/directory
python -m lacre.admin import -d /path/to/gnupg/directory
```
If you want to just re-populate the database, Lacre can remove all identities