{ "info": { "author": "Dustin Oprea", "author_email": "myselfasunder@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "--------\nOverview\n--------\n\nThe purpose of this project is to package the logic needed to:\n\n- Build a CA certificates\n- Build a regular certificate\n- Sign the regular certificate with the CA certificate\n- Verify that the regular certificate is signed with the CA certificate\n\nI find that I often need to do this, and/or need to do this as part of other \nprojects to prove a design. This project assumes some defaults, and makes it \nridiculously easy to establish a CA and build certificates. You can pass\nparameters to change the name of the output files, and the path that they are\nwritten to.\n\nThe scripts are comprised of Python logic. So, for those who'd like a quick \ntutorial on how to do these tasks via Python, they can use this project as a \nroadmap.\n\n\n-------\nScripts\n-------\n\nThis project encapsulates four executable scripts.\n\n============ ============================================================\nName Description\n============ ============================================================\nck_create_ca Create CA keys and certificate\nck_create Create normal keys\nck_sign Create a signed certificate using the CA certificate and key\nck_verify_ca Verify that the signed certificate was issued by the CA\n============ ============================================================\n\nThe Python scripts use M2Crypto_ to manipulate the keys/certificates.\n\n\n------------\nInstallation\n------------\n\nThis project can not be installed. Clone it from the GitHub project, and run \nthe following to install the dependencies::\n\n $ sudo pip install -r requirements.txt\n\n\n-----\nUsage\n-----\n\nTo specify a directory, use the \"-o\" parameter. If none is given, you will be \nprompted to confirm.\n\n1. Create the CA::\n\n $ ck_create_ca\n Please confirm output directory []: output\n\n This generates:\n\n - *ca.crt.pem*\n - *ca.csr.pem*\n - *ca.key.pem*\n - *ca.public.pem*\n\n2. Create the normal keys::\n\n $ ck_create\n Please confirm output directory []: output\n\n This generates:\n\n - *normal.csr.pem*\n - *normal.key.pem*\n - *normal.public.pem*\n\n3. Sign the request::\n\n $ ck_sign\n Please confirm output directory []: output\n\n This generates:\n\n - *normal.crt.pem*\n\n4. Verify that the certificate was signed by our CA::\n\n $ ck_verify_ca\n Please confirm input directory []: output\n Is valid? True\n\n.. _M2Crypto: https://github.com/martinpaljak/M2Crypto", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dsoprea/CaKit", "keywords": "ssl openssl ca certificate", "license": "GPL 2", "maintainer": null, "maintainer_email": null, "name": "ca_kit", "package_url": "https://pypi.org/project/ca_kit/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/ca_kit/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/dsoprea/CaKit" }, "release_url": "https://pypi.org/project/ca_kit/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "Certificate-authority test harness.", "version": "0.2.1" }, "last_serial": 1152920, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "6b1cac55af8da4716b1337b2460f5678", "sha256": "0e9f3aac9cf2bfae19ddbe18dcf9fee47bcb9d8cb397fe222ada6c543b86b53d" }, "downloads": -1, "filename": "ca_kit-0.2.0-py2-none-any.whl", "has_sig": false, "md5_digest": "6b1cac55af8da4716b1337b2460f5678", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 13294, "upload_time": "2014-07-10T03:07:57", "url": "https://files.pythonhosted.org/packages/eb/b7/2c92e891a993a8c1fe810a80fd75c5b14f392b6f52e0faffa1a98bea6c86/ca_kit-0.2.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2d30d87de5063744d9930adaab30ca03", "sha256": "54ca74b44eeeb2ce934ff0baef3711ef575c32d24bfb63f43e4460f0f3322590" }, "downloads": -1, "filename": "ca_kit-0.2.0.tar.gz", "has_sig": false, "md5_digest": "2d30d87de5063744d9930adaab30ca03", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5362, "upload_time": "2014-07-10T03:07:55", "url": "https://files.pythonhosted.org/packages/3e/54/4f6e45f09639e6361d7bc187a08b9d80fc83564fd1d66b64266b44afffea/ca_kit-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "62272bcf6ebc25b310633fe1e60dde45", "sha256": "cf7ac3e83ebb0035be353c18504b85bb73bae41b5c39626effb209829e247a8d" }, "downloads": -1, "filename": "ca_kit-0.2.1-py2-none-any.whl", "has_sig": false, "md5_digest": "62272bcf6ebc25b310633fe1e60dde45", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 13298, "upload_time": "2014-07-10T03:50:37", "url": "https://files.pythonhosted.org/packages/37/ce/bd87cbafa2360e2d21e8c1c36fb7a87123d8dbf9190a07eb8f48c1fe7452/ca_kit-0.2.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9d05f19edcf575e190e802bbb000cc93", "sha256": "e534132da8c616a32704a88fac8183d509bc73590351366fda05e64b82afb075" }, "downloads": -1, "filename": "ca_kit-0.2.1.tar.gz", "has_sig": false, "md5_digest": "9d05f19edcf575e190e802bbb000cc93", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5319, "upload_time": "2014-07-10T03:50:35", "url": "https://files.pythonhosted.org/packages/f5/79/5e6ff5b9c08540af5bd95b9831ebf72df7e10b68a337a641e4868ed8fc4e/ca_kit-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "62272bcf6ebc25b310633fe1e60dde45", "sha256": "cf7ac3e83ebb0035be353c18504b85bb73bae41b5c39626effb209829e247a8d" }, "downloads": -1, "filename": "ca_kit-0.2.1-py2-none-any.whl", "has_sig": false, "md5_digest": "62272bcf6ebc25b310633fe1e60dde45", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 13298, "upload_time": "2014-07-10T03:50:37", "url": "https://files.pythonhosted.org/packages/37/ce/bd87cbafa2360e2d21e8c1c36fb7a87123d8dbf9190a07eb8f48c1fe7452/ca_kit-0.2.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9d05f19edcf575e190e802bbb000cc93", "sha256": "e534132da8c616a32704a88fac8183d509bc73590351366fda05e64b82afb075" }, "downloads": -1, "filename": "ca_kit-0.2.1.tar.gz", "has_sig": false, "md5_digest": "9d05f19edcf575e190e802bbb000cc93", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5319, "upload_time": "2014-07-10T03:50:35", "url": "https://files.pythonhosted.org/packages/f5/79/5e6ff5b9c08540af5bd95b9831ebf72df7e10b68a337a641e4868ed8fc4e/ca_kit-0.2.1.tar.gz" } ] }