mailman_pgp.commands package

Submodules

mailman_pgp.commands.eml_key module

The key email command.

class mailman_pgp.commands.eml_key.KeyCommand[source]

Bases: object

The key command.

argument_description = '<revoke|receive|set|sign|change|confirm>'
description = ' A general command for PGP key management for PGP enabled mailing lists.\n\n `key set <token>`\n A command used to set the address public key during subscription to a\n mailing list. Is only required on the first subscription of a given\n address to a PGP enabled mailing list. This command requires the command\n message to have exactly one PGP public key attached (either PGP/MIME or\n inline). This command should be encrypted to the mailing list public key.\n\n `key confirm <token>`\n A command used to confirm the setting of a new public key, either during\n subscription or later after a `key change` command. Is only required on\n the first subscription of a given address to a PGP enabled mailing list.\n This command requires the command message to contain the statement sent\n from the mailing list in response to the `key set <token>` command, and\n requires this statement signed by the key that was attached to the `key\n set` command message.\n\n `key change`\n A command used to change the address public key.\n\n `key revoke`\n A command used to revoke a part of/the whole address public key, when the\n user has access to a revocation certificate (but not the signing\n capability of the key to use `key change`). A revocation certificate\n must be attached to the message like a PGP key would. The revocation\n signature is verified, and the proper revocation is performed, if the\n key is left unusable after that, you will be prompted to set and confirm\n a new one.\n\n `key sign`\n A command used to add your signature to the list key, if you trust it. It\n requires exactly one PGP public key attached, which should be the list\n public key, signed with your address key. It is scanned for all new\n certifications by your address key and the valid ones are imported. A\n list might be configured to allow even a non-subscriber to sign its key.\n\n `key receive`\n A command used to request the list public key. The list public key will\n be sent in a response.\n '
name = 'key'
process(mlist, msg, msgdata, arguments, results)[source]

See IEmailCommand.

short_description = 'PGP key management.'

Module contents