diff options
| author | J08nY | 2017-08-22 00:01:47 +0200 |
|---|---|---|
| committer | J08nY | 2017-08-22 00:01:47 +0200 |
| commit | 60624b9113ab55d493ea3560f0350f686be2676c (patch) | |
| tree | 1701f3e8e4fdbbdaa852b39aa7fce765b8803fac /docs/keys.rst | |
| parent | 28b35f7b5cac0a3d2950bdc8077f5223dd6318c3 (diff) | |
| download | mailman-pgp-60624b9113ab55d493ea3560f0350f686be2676c.tar.gz mailman-pgp-60624b9113ab55d493ea3560f0350f686be2676c.tar.zst mailman-pgp-60624b9113ab55d493ea3560f0350f686be2676c.zip | |
Diffstat (limited to 'docs/keys.rst')
| -rw-r--r-- | docs/keys.rst | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/docs/keys.rst b/docs/keys.rst new file mode 100644 index 0000000..8e07c62 --- /dev/null +++ b/docs/keys.rst @@ -0,0 +1,39 @@ +==== +Keys +==== + +Mailman-pgp stores PGP keys in ASCII-Armored files in directories. +The ``[keydirs]`` section of the config specifies three directories, one for list +keypairs, one for user public keys(per-address) and one for list archive public keys. + +List keypairs +============= + +Mailman-pgp can be configured to generate the list keypair on PGP enabled list creation. +This is done via the ``[keypairs].autogenerate`` option. + +The type and size of the key and subkey that is generated is also configurable, +via the ``[keypairs].primary_key`` and ``.sub_key`` options. The options are listed +in the `src/mailman_pgp/config/mailman_pgp.cfg` config file and also in +the :doc:`config` docs. + +Mailman-pgp generates keys that look like so:: + + pub secp256k1/0x651AD9483EB388DD 2017-08-21 [SC] + Key fingerprint = 2767 BEE0 E502 00DA 4A2F 131E 651A D948 3EB3 88DD + uid Name <name@example.com> + uid Name <name-request@example.com> + sub secp256k1/0x5D972B21F6D1C7D7 2017-08-21 [E] + + +For a list called ``name`` at the ``example.com`` domain, with the ``ECDSA`` and ``ECDH`` algorithms over secp256k1 +, respectively. + +As the list keypair is stored as an ASCII-Armored text file in the ``[keydirs].list_keydir`` +directory, named ``<list-id>.asc`` , replacing it with a custom keypair just works. However, doing so to +an established mailing list with subscribers, might confuse them, and if they +still encrypt to the old key, mailman-pgp will bounce their messages. + +Mailman-pgp can delete and or shred the list keypair on list deletion, this +is also configured in the ``[keypairs]`` config section, via ``shred``, ``shred_command`` and +``delete`` options.
\ No newline at end of file |
