{ "info": { "author": "David Ireland", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "A Python interface to CryptoSys PKI Pro\n=======================================\n\nThis is a Python interface to the **CryptoSys PKI Pro** library. \n\n\nRequires: Python 2 (2.6 or above) on Windows platforms only.\nCryptoSys PKI Pro v12.1 or above must be installed.\nThis is available from\n\n http://www.cryptosys.net/pki/.\n\n\nTo use in Python's REPL\n-----------------------\n\n\n.. code-block:: python\n\n >>> from cryptosyspki import *\n >>> Gen.version() # \"hello world!\" for CryptoSys PKI\n 120100\n >>> Hash.hex_from_data('abc') # compute SHA-1 hash in hex of the string 'abc'\n 'a9993e364706816aba3e25717850c26c9cd0d89d'\n >>> Hash.hex_from_data('abc', Hash.Alg.SHA256) # same but using SHA-256\n 'ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad'\n >>> h = Hash.data('abc') # h is a byte array\n >>> print Cnv.tohex(h) # display the byte array in hex\n A9993E364706816ABA3E25717850C26C9CD0D89D\n\nIf you don't like ``import *`` and find ``cryptosyspki`` a bit long to\ntype each time, try\n\n\n.. code-block:: python\n\n >>> import cryptosyspki as pki\n >>> pki.Gen.version()\n 120100\n >>> pki.__version__\n '12.1.0'\n\n\nExamples\n--------\n\nLook in the file ``test\\test_pki.py`` and you should find an example of use for almost every available method\n(perhaps contrived somewhat so they'll work in the test environment, but you should get the idea).\nSee also the main Python web page https://www.cryptosys.net/pki/python.html.\n\nTests\n-----\n\nThere is a series of tests in ``test\\test_pki.py``. \n\nThe tests require certain files to exist in the current working directory and create extra files when they run.\nTo manage this, ``test_pki.py`` creates a temporary subdirectory.\nIt requires a subdirectory ``work`` to exist in the same folder\nas the ``test_pki.py`` file which should contain all the required test\nfiles, available separately in the file ``pkiPythonTestFiles.zip``. The\ntest function then creates a temporary subdirectory which is deleted\nautomatically.\n\n::\n\n test/\n test_pki.py # this module\n pkiPythonTestFiles.zip # spare copies\n work/ # this _must_ exist\n \n pki.tmp.XXXXXXXX/ # created by `setup_temp_dir()`\n \n \n\n\nContact\n-------\n\nFor more information or to make suggestions, please contact us at\nhttps://cryptosys.net/contact/\n\n| David Ireland\n| DI Management Services Pty Ltd\n| Australia\n| \n| 16 December 2018\n\n\nRevision History\n-----------------\n\n12.1.0 (2018-12-16)\n^^^^^^^^^^^^^^^^^^^\n\n* Changes to match main core module versions 12.0 and 12.1.\n* Added support for RSA-PSS in RSA signatures, CMS signed-data objects and X.509 certificates.\n* Added support for RSA-OAEP in RSA encryption and CMS enveloped-data objects.\n* Added support for ECDSA in X.509 certificates.\n* Added support for ZLIB compression.\n* Added support for AES-GCM authenticated encryption.\n* Added functions to read certificate strings from P7 chain files and PFX files.\n* Added option for quicker single pass in ``Wipe.file()``.\n* Changed parameter in ``Cms.make_sigdata_*()`` functions from ``Cms.HashAlg`` type to ``Cms.SigAlg``.\n\n\n11.3.0 (2017-10-31)\n^^^^^^^^^^^^^^^^^^^\n\n* Changes to match main core module (11.3).\n\n11.2.0 (2017-08-11)\n^^^^^^^^^^^^^^^^^^^\n\n* Synchronized cryptosyspki.py version number with main core module (11.2).\n* Substantial changes to inline documentation.\n* Renamed ``Rng.bytes`` to ``Rng.bytestring`` to avoid clashes with Python built-in function.\n* Changed optional parameters in ``X509.cert_path_is_valid()`` and ``X509.get_cert_count_from_p7()``.\n\n\n0.1.1 (2016-08-27)\n^^^^^^^^^^^^^^^^^^\n\n* Minor changes.\n\n\n0.1.0 (2016-05-25)\n^^^^^^^^^^^^^^^^^^\n\n* First release of cryptosyspki.py v0.1.0.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.cryptosys.net/pki/", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "cryptosyspki", "package_url": "https://pypi.org/project/cryptosyspki/", "platform": "Windows", "project_url": "https://pypi.org/project/cryptosyspki/", "project_urls": { "Homepage": "http://www.cryptosys.net/pki/" }, "release_url": "https://pypi.org/project/cryptosyspki/12.1.0/", "requires_dist": null, "requires_python": "", "summary": "Python interface to CryptoSys PKI", "version": "12.1.0" }, "last_serial": 4605918, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "41e725687405c53f94dc0692c637c408", "sha256": "bf15ce9cbc834f224aa5b14237851356f270afb2f7146aea6e8ce7db6790d4c6" }, "downloads": -1, "filename": "cryptosyspki-0.1.0.zip", "has_sig": false, "md5_digest": "41e725687405c53f94dc0692c637c408", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 145909, "upload_time": "2016-08-27T04:33:31", "url": "https://files.pythonhosted.org/packages/b7/f8/e00202a77bf4224c68ec0558016785ac6e9bebb64b0d3881f98b3a77a69f/cryptosyspki-0.1.0.zip" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "9e6233ae070db6d6fd8e55869ac27c22", "sha256": "476769d0e486d34f0a51ad0127c4fac7920a1dddbb7653e28578b897dd499b64" }, "downloads": -1, "filename": "cryptosyspki-0.1.1.zip", "has_sig": false, "md5_digest": "9e6233ae070db6d6fd8e55869ac27c22", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 145967, "upload_time": "2016-08-27T05:59:24", "url": "https://files.pythonhosted.org/packages/84/6a/a1b741bfb3d496a09c17292b345f7260d64a4fc3ad38f48986b9b0a57231/cryptosyspki-0.1.1.zip" } ], "11.2.0": [ { "comment_text": "", "digests": { "md5": "b4462299d96f3e4b3e8bdeff659fce87", "sha256": "c8c67e820a03bbd2645c741423aa5ab52449f2c865a7d0c43b6958ae015cfd3a" }, "downloads": -1, "filename": "cryptosyspki-11.2.0.zip", "has_sig": false, "md5_digest": "b4462299d96f3e4b3e8bdeff659fce87", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 103872, "upload_time": "2017-08-11T06:33:18", "url": "https://files.pythonhosted.org/packages/45/59/82d6896396e1f14f1b2e727a61ea2dcbe881e9bf2d0a87e3fd4d60bb60c2/cryptosyspki-11.2.0.zip" } ], "11.2.0.post4": [ { "comment_text": "", "digests": { "md5": "bf2228c4ec6e46945fe89ef1af722b7b", "sha256": "7b4eb7bb6b726bfd7b252a45008d4763ed06f66e52340494908026f1c375dc9e" }, "downloads": -1, "filename": "cryptosyspki-11.2.0.post4.zip", "has_sig": false, "md5_digest": "bf2228c4ec6e46945fe89ef1af722b7b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 162837, "upload_time": "2017-08-11T10:10:20", "url": "https://files.pythonhosted.org/packages/f8/fb/07e7dcfa406dbd98242b82d3cf0bce083ddff31db2440d686853b5c18c96/cryptosyspki-11.2.0.post4.zip" } ], "11.2.0.post5": [ { "comment_text": "", "digests": { "md5": "3c5e7d0ec33a36be81f7af417cc91ff9", "sha256": "e50bd33107abda72204cc8bf6caeec1f1e643a49173e909f0457dce41888aac1" }, "downloads": -1, "filename": "cryptosyspki-11.2.0.post5.zip", "has_sig": false, "md5_digest": "3c5e7d0ec33a36be81f7af417cc91ff9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 162908, "upload_time": "2017-08-11T10:32:43", "url": "https://files.pythonhosted.org/packages/a2/29/1be71a6fc2caa813661ad11fa03ac3778b1a31a6ba9b999462bd4de81431/cryptosyspki-11.2.0.post5.zip" } ], "12.1.0": [ { "comment_text": "", "digests": { "md5": "405290b5d5f8e6ff7e8d230db30b8a16", "sha256": "bfbaef06a117d65cb901326c9ef6bedf0d3a0d8673e006ad03edf80ab1d72f57" }, "downloads": -1, "filename": "cryptosyspki-12.1.0.zip", "has_sig": false, "md5_digest": "405290b5d5f8e6ff7e8d230db30b8a16", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 173727, "upload_time": "2018-12-17T00:51:55", "url": "https://files.pythonhosted.org/packages/1b/1c/350975fba08050da8069dcc66f36603ada6b80c74251bf4d95c5d00a1c58/cryptosyspki-12.1.0.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "405290b5d5f8e6ff7e8d230db30b8a16", "sha256": "bfbaef06a117d65cb901326c9ef6bedf0d3a0d8673e006ad03edf80ab1d72f57" }, "downloads": -1, "filename": "cryptosyspki-12.1.0.zip", "has_sig": false, "md5_digest": "405290b5d5f8e6ff7e8d230db30b8a16", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 173727, "upload_time": "2018-12-17T00:51:55", "url": "https://files.pythonhosted.org/packages/1b/1c/350975fba08050da8069dcc66f36603ada6b80c74251bf4d95c5d00a1c58/cryptosyspki-12.1.0.zip" } ] }