Peret checks PGP signed mails and extract submissions
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nemunaire da10a7bc26 If a file /submission/.sh is present, run it as a tests suite 2 weeks ago
.gitignore Initial commit 5 years ago
README.md Initial commit 5 years ago
archive.py Fix error reporting 4 weeks ago
check.py If a file /submission/.sh is present, run it as a tests suite 2 weeks ago
envelope.py When encode is not possible, assume it's already bytes, so return it raw with a warning 2 weeks ago
gpg_status_parser.py ngkeyid 4 weeks ago
late.py Project done with some hardcoded string 5 years ago
login.py Handle long keyid 4 weeks ago
signature.py Add windows hack 4 weeks ago
test.py Project done with some hardcoded string 5 years ago
tests.py If a file /submission/.sh is present, run it as a tests suite 2 weeks ago

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
}