package pecu

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

Install

Dune Dependency

Authors

Maintainers

Sources

pecu-v0.6.tbz
sha256=a9d2b7da444c83b20f879f6c3b7fc911d08ac1e6245ad7105437504f9394e5c7
sha512=8cae31da1fcb8b684a949846b1668131de244fbb89faf7421761da208f87092523a9e184e91a04c26739e6793501307b30ed255d540dcb268b171b7a56b56e24

Description

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

Published: 26 Jul 2021

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 (5)

  1. astring with-test
  2. crowbar with-test
  3. alcotest with-test
  4. fmt with-test
  5. ocaml with-test & < "5.2"

Used by (4)

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

Conflicts

None