{"id":22931036,"url":"https://github.com/m32/endesive","last_synced_at":"2025-05-16T13:02:59.470Z","repository":{"id":32987243,"uuid":"143915688","full_name":"m32/endesive","owner":"m32","description":"en-crypt, de-crypt, si-gn, ve-rify - smime, pdf, xades and plain files in pure python","archived":false,"fork":false,"pushed_at":"2025-03-20T17:39:43.000Z","size":15389,"stargazers_count":257,"open_issues_count":4,"forks_count":98,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-05-10T14:43:48.778Z","etag":null,"topics":["asn1","cryptography","decrypt","encrypt","pdf","pkcs11","python","signin","smime","xades"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m32.png","metadata":{"files":{"readme":"README.rst","changelog":"changelog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-07T19:03:27.000Z","updated_at":"2025-05-08T16:36:20.000Z","dependencies_parsed_at":"2023-02-14T12:31:14.206Z","dependency_job_id":"62ea4ff2-4cb4-46de-82a8-3c738b97ebcb","html_url":"https://github.com/m32/endesive","commit_stats":{"total_commits":369,"total_committers":16,"mean_commits":23.0625,"dds":"0.33333333333333337","last_synced_commit":"089cb95563141cbbcb57a405c1e6d45c8a5143f2"},"previous_names":[],"tags_count":41,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m32%2Fendesive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m32%2Fendesive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m32%2Fendesive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m32%2Fendesive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m32","download_url":"https://codeload.github.com/m32/endesive/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254535826,"owners_count":22087398,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asn1","cryptography","decrypt","encrypt","pdf","pkcs11","python","signin","smime","xades"],"created_at":"2024-12-14T10:34:47.557Z","updated_at":"2025-05-16T13:02:59.454Z","avatar_url":"https://github.com/m32.png","language":"Python","readme":".. 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","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm32%2Fendesive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm32%2Fendesive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm32%2Fendesive/lists"}