The list of schleuder list can be found in [hiera](https://gitlab.tails.boum.org/tails/puppet-code/-/blob/production/hieradata/node/mta.chameleon.eyaml?ref_type=heads)
## Using Schleuder
...
...
@@ -54,7 +53,7 @@ And then:
## Administration of lists
There are two ways to administer schleuder lists: through the CLI interface of the schleuder API daemon, or by sending PGP encrypted emails with the appropriate commands to `listname-request@withtheemail.org`.
There are two ways to administer schleuder lists: through the CLI interface of the schleuder API daemon (sysadmins only), or by sending PGP encrypted emails with the appropriate commands to `listname-request@withtheemail.org`.
### Pre-requisites
...
...
@@ -68,11 +67,7 @@ The daemon is configured to start automatically, but you can verify it's running
#### Permissions
The `schleuder-cli` program should be executed in the context of the `torschleuder` user account:
sudo -u torchleuder schleuder-cli
For this to work, your user account must be a member of the `torschleuder` group.
The `schleuder-cli` program should be executed in the context of `root`.
#### PGP
...
...
@@ -82,36 +77,23 @@ All email commands must be PGP encrypted with the public key of the mailing list
### List creation
To create a list you can:
To create a list you add the list to [hiera](https://gitlab.tails.boum.org/tails/puppet-code/-/blob/production/hieradata/node/mta.chameleon.eyaml?ref_type=heads).
sudo -u torschleuder schleuder-cli lists new secret-team@lists.torproject.org admin@torproject.org /path/to/public.key
Schleuder will create the list gpg key together with the list. Please not that the created keys do not expires. For more information about how Schleuder creates keys you can check: https://0xacab.org/schleuder/schleuder/blob/master/lib/schleuder/list_builder.rb#L120
Puppet will tell schleuder to create the list gpg key together with the list. Please not that the created keys do not expire. For more information about how Schleuder creates keys you can check: https://0xacab.org/schleuder/schleuder/blob/master/lib/schleuder/list_builder.rb#L120
To export a list public key you can do the following: