M2Crypto


NameM2Crypto JSON
Version 0.41.0 PyPI version JSON
download
home_pagehttps://gitlab.com/m2crypto/m2crypto
SummaryA Python crypto and SSL toolkit
upload_time2024-02-13 22:22:40
maintainerMatej Cepl
docs_urlNone
authorNg Pheng Siong
requires_python
licenseMIT
keywords cryptography openssl
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ========
M2Crypto
========

:Maintainer: Matěj Cepl
:Web-Site: https://gitlab.com/m2crypto/m2crypto
:Documentation: https://m2crypto.readthedocs.io/
:Email list: m2crypto@lists.redcrew.org or http://redcrew.org/mailman/listinfo/m2crypto

M2Crypto = Python + OpenSSL + SWIG
----------------------------------

M2Crypto is a crypto and SSL toolkit for Python.

M2 stands for "me, too!"

M2Crypto comes with the following:

- **RSA**, **DSA**, **DH**, **HMACs**, **message digests**,
  **symmetric ciphers** including **AES**,

- **TLS** functionality to implement **clients and servers**.

- **Example SSL client and server programs**, which are variously
  **threading**, **forking** or based on **non-blocking socket IO**.

- **HTTPS** extensions to Python's **httplib, urllib and xmlrpclib**.

- Unforgeable HMAC'ing **AuthCookies** for **web session management**.

- **FTP/TLS** client and server.

- **S/MIME v2**.

- **ZSmime**: An S/MIME messenger for **Zope**.

We care a lot about stable API and all Python methods should be
preserved, note however that ``m2.`` namespace is considered internal to
the library and it doesn't have to be preserved. If however some change
to it breaks your app, let us know and we will try to make things
working for you.

- And much more.

M2Crypto is released under a very liberal MIT licence. See
LICENCE for details.

To install, see the file INSTALL.

Look at the tests and demos for example use. Recommended reading before
deploying in production is "Network Security with OpenSSL" by John Viega,
Matt Messier and Pravir Chandra, ISBN 059600270X.

Note these caveats:

- Possible memory leaks, because some objects need to be freed on the
  Python side and other objects on the C side, and these may change
  between OpenSSL versions. (Multiple free's lead to crashes very
  quickly, so these should be relatively rare.)

- No memory locking/clearing for keys, passphrases, etc. because AFAIK
  Python does not provide the features needed. On the C (OpenSSL) side
  things are cleared when the Python objects are deleted.

Have fun! Your feedback is welcome.

            

Raw data

            {
    "_id": null,
    "home_page": "https://gitlab.com/m2crypto/m2crypto",
    "name": "M2Crypto",
    "maintainer": "Matej Cepl",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "mcepl@cepl.eu",
    "keywords": "cryptography,openssl",
    "author": "Ng Pheng Siong",
    "author_email": "ngps@sandbox.rulemaker.net",
    "download_url": "https://files.pythonhosted.org/packages/d7/7d/2b414ab83ae8d1e1eb4e8c255f94a8424d41e975f97b25da82f4029f78d2/M2Crypto-0.41.0.tar.gz",
    "platform": null,
    "description": "========\nM2Crypto\n========\n\n:Maintainer: Mat\u011bj Cepl\n:Web-Site: https://gitlab.com/m2crypto/m2crypto\n:Documentation: https://m2crypto.readthedocs.io/\n:Email list: m2crypto@lists.redcrew.org or http://redcrew.org/mailman/listinfo/m2crypto\n\nM2Crypto = Python + OpenSSL + SWIG\n----------------------------------\n\nM2Crypto is a crypto and SSL toolkit for Python.\n\nM2 stands for \"me, too!\"\n\nM2Crypto comes with the following:\n\n- **RSA**, **DSA**, **DH**, **HMACs**, **message digests**,\n  **symmetric ciphers** including **AES**,\n\n- **TLS** functionality to implement **clients and servers**.\n\n- **Example SSL client and server programs**, which are variously\n  **threading**, **forking** or based on **non-blocking socket IO**.\n\n- **HTTPS** extensions to Python's **httplib, urllib and xmlrpclib**.\n\n- Unforgeable HMAC'ing **AuthCookies** for **web session management**.\n\n- **FTP/TLS** client and server.\n\n- **S/MIME v2**.\n\n- **ZSmime**: An S/MIME messenger for **Zope**.\n\nWe care a lot about stable API and all Python methods should be\npreserved, note however that ``m2.`` namespace is considered internal to\nthe library and it doesn't have to be preserved. If however some change\nto it breaks your app, let us know and we will try to make things\nworking for you.\n\n- And much more.\n\nM2Crypto is released under a very liberal MIT licence. See\nLICENCE for details.\n\nTo install, see the file INSTALL.\n\nLook at the tests and demos for example use. Recommended reading before\ndeploying in production is \"Network Security with OpenSSL\" by John Viega,\nMatt Messier and Pravir Chandra, ISBN 059600270X.\n\nNote these caveats:\n\n- Possible memory leaks, because some objects need to be freed on the\n  Python side and other objects on the C side, and these may change\n  between OpenSSL versions. (Multiple free's lead to crashes very\n  quickly, so these should be relatively rare.)\n\n- No memory locking/clearing for keys, passphrases, etc. because AFAIK\n  Python does not provide the features needed. On the C (OpenSSL) side\n  things are cleared when the Python objects are deleted.\n\nHave fun! Your feedback is welcome.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A Python crypto and SSL toolkit",
    "version": "0.41.0",
    "project_urls": {
        "Homepage": "https://gitlab.com/m2crypto/m2crypto"
    },
    "split_keywords": [
        "cryptography",
        "openssl"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d77d2b414ab83ae8d1e1eb4e8c255f94a8424d41e975f97b25da82f4029f78d2",
                "md5": "6164d2c70217b6d530c75d913d72fa0c",
                "sha256": "3a1358c7ee849046d91782a777f1786bf027a1c1d51b5faf8f19435bfc3f1495"
            },
            "downloads": -1,
            "filename": "M2Crypto-0.41.0.tar.gz",
            "has_sig": false,
            "md5_digest": "6164d2c70217b6d530c75d913d72fa0c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 1151680,
            "upload_time": "2024-02-13T22:22:40",
            "upload_time_iso_8601": "2024-02-13T22:22:40.664224Z",
            "url": "https://files.pythonhosted.org/packages/d7/7d/2b414ab83ae8d1e1eb4e8c255f94a8424d41e975f97b25da82f4029f78d2/M2Crypto-0.41.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-13 22:22:40",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "m2crypto",
    "gitlab_project": "m2crypto",
    "lcname": "m2crypto"
}
        
Elapsed time: 0.19070s