Peret checks PGP signed mails and extract submissions
This repository has been archived on 2022-04-27. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
nemunaire 4df7393069 envelope: test first for old style PGP, as this kind of message also contains 'BEGIN PGP SIGNATURE' matched earlier instead 2018-03-18 14:06:32 +01:00
.gitignore Initial commit 2016-10-12 00:31:50 +02:00
README.md Initial commit 2016-10-12 00:31:50 +02:00
archive.py ortograph 2017-11-09 00:37:53 +01:00
check.py New option to skip public key discovery in attachments 2018-03-18 14:05:20 +01:00
envelope.py envelope: test first for old style PGP, as this kind of message also contains 'BEGIN PGP SIGNATURE' matched earlier instead 2018-03-18 14:06:32 +01:00
gpg_status_parser.py Don't fail on non-utf-8 chars 2017-10-26 00:22:50 +02:00
late.py Project done with some hardcoded string 2016-10-12 00:33:40 +02:00
login.py As each year comes with a new CSV with different column order, place columns in variables 2017-10-20 13:46:35 +02:00
signature.py Don't fail on non-utf-8 chars 2017-10-26 00:22:50 +02:00
test.py Project done with some hardcoded string 2016-10-12 00:33:40 +02:00

README.md

Peret

Peret checks PGP signed mails and extract submissions contained in it.

Usage

A basic usage is through procmail; append thoses lines into your ~/.procmailrc:

:0H
* ^Delivered-To: peret@domain\.tld
{
    :0c
    * !^X-loop:
    | /path/to/peret/check.py --real-send --submissions /path/to/shemu/submissions/TP3 --soft-max-submission "october 20 08:42" --hard-max-submission "october 20 09:21"

    :0
    $DEFAULT
}