Peret checks PGP signed mails and extract submissions
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
nemunaire eff10e0cda When the tarball is too heavy, don't display its content
This avoid an infinite wait due to a full buffer
1 year ago
.gitignore Initial commit 7 years ago
README.md Initial commit 7 years ago
adlin.py Add new script to automate adlin mail challenge validation 1 year ago
archive.py When the tarball is too heavy, don't display its content 1 year ago
check.py Can include post-scriptum 1 year ago
envelope.py Try to detect some more stranges cases 1 year ago
gpg_status_parser.py ngkeyid 2 years ago
late.py Project done with some hardcoded string 7 years ago
login.py Handle long keyid 2 years ago
signature.py There are some reported case where windows hack causes Broken pipe 1 year ago
test.py Project done with some hardcoded string 7 years ago
tests.py If a file /submission/.sh is present, run it as a tests suite 1 year 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
}