CAERP Sign PDF
Cette librairie a pour objectif de fournir un ensemble cohérent pour la signature et l’horodatage électronique des fichiers PDF issus de [CAERP](https://framagit.org/caerp/caerp).
Activation du module
L’API publique est configurable dans CAERP au travers du fichier de configuration .ini.
** Assurez-vous que la librairie caerp_sign_pdf est bien dans les pyramid.includes **
pyramid.includes = ...
...
caerp_sign_pdf
** Configurez le service **
caerp.services.sign_pdf_service = caerp_sign_pdf.public.SignPDFService
** Configurez le chemin vers le certificat à utiliser pour signer et sa clé secrète **
caerp.sign_certificate_path = /path/to/certificate.p12
caerp.sign_certificate_passphrase = **************************
** Configurez les journaux de caerp_sign_pdf **
Voir la [documentation sur le module Python logging](https://docs.python.org/2/library/logging.html) pour le détail ainsi que les exemples dans le fichier development.ini.sample.
Vérification de la signature d’un document
La plupart des clients PDF permettent de visualiser et contrôler la signature numérique des documents, mais pas tous : les navigateurs web ne les affichent pas par défaut, de même pour certaines applications mobiles ou volontairement très simple.
Sous linux la signature d’un document PDF peut être vérifiée facilement en ligne de commande grâce à l’utilitaire pdfsig de la librairie poppler-utils :
pdfsig <monfichierpdf.pdf>
Build
On utilise désormais pyproject.toml afin de satisfaire aux exigences des versions modernes de python.
pip install build
python -m build
Metadata
Release files for caerp-sign-pdf 2026.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| caerp_sign_pdf-2026.1.3.tar.gz | 44.0 kB | Without provenance | Details for caerp_sign_pdf-2026.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| caerp_sign_pdf-2026.1.3-py3-none-any.whl | Python 3 | none | any | Details for caerp_sign_pdf-2026.1.3-py3-none-any.whl |
Total release size: 74.4 kB
Release files / caerp_sign_pdf-2026.1.3.tar.gz
| Download URL | caerp_sign_pdf-2026.1.3.tar.gz |
|---|---|
| Size | 44.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
73a89bdf063c2a0a372f3d9266ce2d9d3e23d8c87cd2fc33ad550296842d46b3
|
|
BLAKE2b-256 checksum How to use checksums |
24b8ccac6c436f238e02902863af2d438fc0d4dcb432d68c940f1f063de1f72b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / caerp_sign_pdf-2026.1.3-py3-none-any.whl
| Download URL | caerp_sign_pdf-2026.1.3-py3-none-any.whl |
|---|---|
| Size | 30.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d499786b1f7a22a1367f522106a04eecc082a213539eaa18efedd97af232f049
|
|
BLAKE2b-256 checksum How to use checksums |
bc5fa3117b88881d5969ef3aece937cc4b6a6a5aad66944d21764efba868769e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Security for caerp-sign-pdf 2026.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.