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 81bca8ccae Try to detect some more stranges cases 2022-03-31 02:26:13 +02:00
.gitignore Initial commit 2016-10-12 00:31:50 +02:00
README.md Initial commit 2016-10-12 00:31:50 +02:00
adlin.py Add new script to automate adlin mail challenge validation 2022-03-31 02:20:16 +02:00
archive.py When stdout buffer is full, process is paused: read stdout continuously 2022-03-31 02:24:15 +02:00
check.py New arguments to pass students list 2022-03-31 02:22:04 +02:00
envelope.py Try to detect some more stranges cases 2022-03-31 02:26:13 +02:00
gpg_status_parser.py ngkeyid 2021-09-19 15:42:09 +02:00
late.py Project done with some hardcoded string 2016-10-12 00:33:40 +02:00
login.py Handle long keyid 2021-09-19 15:42:22 +02:00
signature.py There are some reported case where windows hack causes Broken pipe 2022-03-31 02:21:03 +02:00
test.py Project done with some hardcoded string 2016-10-12 00:33:40 +02:00
tests.py If a file /submission/.sh is present, run it as a tests suite 2022-02-19 16:13:24 +01: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
}