package pecu

  1. Overview
  2. Docs
Encoder/Decoder of Quoted-Printable (RFC2045 & RFC2047)

Install

Dune Dependency

Authors

Maintainers

Sources

pecu-0.7.tbz
sha256=ad7477b5b16428d33c32440067684953d94efaa43faaf620857918bace9fd778
sha512=8b2dd94af614d99f67c49fddb55bf7ed1ef280378acf862eb3269964bc515a963d28efa4fdcc09d07bfc966aced44e41195451ead13bee59d30d482ab17fcdf5

Description

A non-blocking encoder/decoder of Quoted-Printable according to RFC2045 and RFC2047 (about encoded-word). Useful to translate contents of emails.

Published: 05 Apr 2024

README

Pecu (PQ/QP - Quoted Printable)

Pecu is a little library to encode and decode quoted-printable according to RFC2045 (§ 6.7). It provides a non-blocking encoder/decoder and ensure to respect the 80 characters rule. It provides a fuzzer which test isomorphism between encoder and decoder (and if we respect correctly the 80 characters rule).

This project is a part of an encoder/decoder of e-mail.

Decoder can decode input which does not respect 80 characters rule but it signals to the client if this case appear - which can be an attack entry point. By this way, the decoder provide a best-effort case to the client.

Dependencies (2)

  1. dune >= "1.4"
  2. ocaml >= "4.03.0"

Dev Dependencies (4)

  1. astring with-test
  2. crowbar with-test
  3. alcotest with-test
  4. fmt with-test & >= "0.8.7"

Used by (4)

  1. emile >= "0.4"
  2. mrmime >= "0.3.2"
  3. multipart_form
  4. piaf

Conflicts

None