.. image:: https://img.shields.io/pypi/v/endesive.svg
:target: https://pypi.python.org/pypi/endesive
Description
===========
Python library for digital signing and verification of digital signatures in mail,
PDF and XML documents.
The ASN.1 implementation depends on `asn1crypto`_.
Cryptographic routines depends on `cryptography`_ library.
For certificate verification `CertValidator`_ is used.
This library implements S/MIME handler which can encrypt and decrypt S/MIME messages
using a public RSA key, in AES-128/192/256 CBC/OFB modes.
It can also sign and verify S/MIME messages.
This library implements CAdES-B handler for signing and verifying PDF documents in
Adobe.PPKLite/adbe.pkcs7.detached form.
It can sign documents during generation using a modified version of `pyfpdf`_ which is
included in this library. It can also sign documents generated by external programms.
This library implements XADES BES/T with enveloped and enveloping format for creating
signed xml files.
This library implements CMS handler for signing and verifying plain text files with
detached signature files.
License
=======
This software is licensed under the MIT License. See the LICENSE file in
the top distribution directory for the full license text.
## Requirements
* Python 3.*
* `cryptography`_
* `asn1crypto`_
* `certvalidator`_
* `lxml`_
* `pykcs11`_
* `Pillow`_
Examples
========
cert-make.py
Create required certificates (password is 1234)
cert-make-hsm.py
Create required certificates for SoftHSM (password is secret1)
pdf-make.py
Create simple two paged PDF document which is used in pdf-sign-cms.py.
pdf-sign-cms.py
Create signature in externally created PDF.
pdf-sign-cms-hsm.py
Create signature in externally created PDF but signed with key stored in SoftHSM.
pdf-sign-fpdf.py
Create signature while creating PDF.
pdf-verify.py
Verify prevously generated files (cms/pdf).
plain-make.py
Create simple UTF-8 text file.
plain-openssl.sh
Sign, encrypt and decrypt text file with help of openssl executable.
plain-sign-attr.py
Sign text file with 'extended' CMS attributes.
plain-sign-noattr.py
Sign text file without 'extended' CMS attributes.
plain-verify.py
Verify all generated signatures for text file.
smime-make.py
Create simple UTF-8 text file for use in following examples.
smime-openssl.sh
Create signed S/MIME file, encrypted S/MIME file and decrypt generated S/MIME file
with help of openssl executable.
smime-encrypt.py
Create encrypted S/MIME file.
smime-decrypt.py
Decrypt encrypted S/MIME file.
smime-sign-attr.py
Create signed S/MIME file with 'extended' CMS attributes.
smime-sign-noattr.py
Create signed S/MIME file without 'extended' CMS attributes.
smime-verify.py
Verify all generated S/MIME files.
xml-make.py
Create simple xml file for use in following examples.
xml-hsm-certum-enveloped.py
XADES enveloped mode with real certificate (BES/T).
xml-hsm-certum-enveloping.py
XADES enveloping mode with real certificate (BES/T).
xml-hsm-softhsm2-enveloped.py
XADES enveloped mode with SoftHSM certificate (BES).
xml-hsm-softhsm2-enveloping.py
XADES enveloping mode with SoftHSM certificate (BES).
Tools
=====
Online pdf validator `pdfvalidator`_ or `verapdf`_.
Offline Apache `pdfbox`_ java based validator.
Validate electronic signatures: `ec_europa`_ or `pkitools_net`_.
.. _cryptography: https://github.com/pyca/cryptography
.. _asn1crypto: https://github.com/wbond/asn1crypto
.. _certvalidator: https://github.com/wbond/certvalidator
.. _pyfpdf: https://github.com/reingart/pyfpdf
.. _lxml: https://pypi.org/project/lxml/
.. _pykcs11: https://pypi.org/project/pykcs11/
.. _Pillow: https://pypi.org/project/Pillow/
.. _pdfvalidator: https://www.pdf-online.com/osa/validate.aspx
.. _verapdf: https://demo.verapdf.org/
.. _pdfbox: https://pdfbox.apache.org/
.. _ec_europa: https://ec.europa.eu/cefdigital/DSS/webapp-demo/validation
.. _pkitools_net: https://pkitools.net/pages/validator/pdf.html
Raw data
{
"_id": null,
"home_page": "https://github.com/m32/endesive",
"name": "endesive",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "cryptography pki x509 smime email pdf pkcs11 asn1 xades",
"author": "Grzegorz Makarewicz",
"author_email": "mak@trisoft.com.pl",
"download_url": null,
"platform": "all",
"description": ".. image:: https://img.shields.io/pypi/v/endesive.svg\n :target: https://pypi.python.org/pypi/endesive\n\nDescription\n===========\n\nPython library for digital signing and verification of digital signatures in mail,\nPDF and XML documents.\n\nThe ASN.1 implementation depends on `asn1crypto`_.\nCryptographic routines depends on `cryptography`_ library.\n\nFor certificate verification `CertValidator`_ is used.\n\nThis library implements S/MIME handler which can encrypt and decrypt S/MIME messages\nusing a public RSA key, in AES-128/192/256 CBC/OFB modes.\nIt can also sign and verify S/MIME messages.\n\nThis library implements CAdES-B handler for signing and verifying PDF documents in\nAdobe.PPKLite/adbe.pkcs7.detached form.\nIt can sign documents during generation using a modified version of `pyfpdf`_ which is\nincluded in this library. It can also sign documents generated by external programms.\n\nThis library implements XADES BES/T with enveloped and enveloping format for creating\nsigned xml files.\n\nThis library implements CMS handler for signing and verifying plain text files with\ndetached signature files.\n\n\nLicense\n=======\n\nThis software is licensed under the MIT License. See the LICENSE file in\nthe top distribution directory for the full license text.\n\n\n## Requirements\n\n* Python 3.*\n* `cryptography`_\n* `asn1crypto`_\n* `certvalidator`_\n* `lxml`_\n* `pykcs11`_\n* `Pillow`_\n\n\nExamples\n========\n\ncert-make.py\n Create required certificates (password is 1234)\ncert-make-hsm.py\n Create required certificates for SoftHSM (password is secret1)\n\npdf-make.py\n Create simple two paged PDF document which is used in pdf-sign-cms.py.\npdf-sign-cms.py\n Create signature in externally created PDF.\npdf-sign-cms-hsm.py\n Create signature in externally created PDF but signed with key stored in SoftHSM.\npdf-sign-fpdf.py\n Create signature while creating PDF.\npdf-verify.py\n Verify prevously generated files (cms/pdf).\n\nplain-make.py\n Create simple UTF-8 text file.\nplain-openssl.sh\n Sign, encrypt and decrypt text file with help of openssl executable.\nplain-sign-attr.py\n Sign text file with 'extended' CMS attributes.\nplain-sign-noattr.py\n Sign text file without 'extended' CMS attributes.\nplain-verify.py\n Verify all generated signatures for text file.\n\nsmime-make.py\n Create simple UTF-8 text file for use in following examples.\nsmime-openssl.sh\n Create signed S/MIME file, encrypted S/MIME file and decrypt generated S/MIME file\n with help of openssl executable.\nsmime-encrypt.py\n Create encrypted S/MIME file.\nsmime-decrypt.py\n Decrypt encrypted S/MIME file.\nsmime-sign-attr.py\n Create signed S/MIME file with 'extended' CMS attributes.\nsmime-sign-noattr.py\n Create signed S/MIME file without 'extended' CMS attributes.\nsmime-verify.py\n Verify all generated S/MIME files.\n\nxml-make.py\n Create simple xml file for use in following examples.\nxml-hsm-certum-enveloped.py\n XADES enveloped mode with real certificate (BES/T).\nxml-hsm-certum-enveloping.py\n XADES enveloping mode with real certificate (BES/T).\nxml-hsm-softhsm2-enveloped.py\n XADES enveloped mode with SoftHSM certificate (BES).\nxml-hsm-softhsm2-enveloping.py\n XADES enveloping mode with SoftHSM certificate (BES).\n\nTools\n=====\n\nOnline pdf validator `pdfvalidator`_ or `verapdf`_.\nOffline Apache `pdfbox`_ java based validator.\n\nValidate electronic signatures: `ec_europa`_ or `pkitools_net`_.\n\n.. _cryptography: https://github.com/pyca/cryptography\n.. _asn1crypto: https://github.com/wbond/asn1crypto\n.. _certvalidator: https://github.com/wbond/certvalidator\n.. _pyfpdf: https://github.com/reingart/pyfpdf\n.. _lxml: https://pypi.org/project/lxml/\n.. _pykcs11: https://pypi.org/project/pykcs11/\n.. _Pillow: https://pypi.org/project/Pillow/\n.. _pdfvalidator: https://www.pdf-online.com/osa/validate.aspx\n.. _verapdf: https://demo.verapdf.org/\n.. _pdfbox: https://pdfbox.apache.org/\n.. _ec_europa: https://ec.europa.eu/cefdigital/DSS/webapp-demo/validation\n.. _pkitools_net: https://pkitools.net/pages/validator/pdf.html\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Library for digital signing and verification of digital signatures in mail, PDF and XML documents.",
"version": "2.18.1",
"project_urls": {
"Homepage": "https://github.com/m32/endesive"
},
"split_keywords": [
"cryptography",
"pki",
"x509",
"smime",
"email",
"pdf",
"pkcs11",
"asn1",
"xades"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "df260560a0b4c47d81fc9ff593ecac0e6c04fa927b289178e2856cf250d97987",
"md5": "b2983dea56f8aa298af6a4be8165af1b",
"sha256": "04c7422e2226a08ac449aec1b12858cd66b05c6aaf37e1d26e2863f704c26309"
},
"downloads": -1,
"filename": "endesive-2.18.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b2983dea56f8aa298af6a4be8165af1b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 345125,
"upload_time": "2025-02-10T07:00:58",
"upload_time_iso_8601": "2025-02-10T07:00:58.558536Z",
"url": "https://files.pythonhosted.org/packages/df/26/0560a0b4c47d81fc9ff593ecac0e6c04fa927b289178e2856cf250d97987/endesive-2.18.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-10 07:00:58",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "m32",
"github_project": "endesive",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"circle": true,
"requirements": [
{
"name": "cryptography",
"specs": []
},
{
"name": "asn1crypto",
"specs": []
},
{
"name": "oscrypto",
"specs": []
},
{
"name": "certvalidator",
"specs": []
},
{
"name": "lxml",
"specs": []
},
{
"name": "pykcs11",
"specs": []
},
{
"name": "Pillow",
"specs": []
},
{
"name": "pytz",
"specs": []
},
{
"name": "requests",
"specs": []
},
{
"name": "paramiko",
"specs": []
},
{
"name": "attrs",
"specs": []
}
],
"lcname": "endesive"
}