{ "info": { "author": "OPS", "author_email": "noreply@mail.orpheus.network", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "\n# XLD Logchecker\n\n![Travis-CI Status](https://img.shields.io/travis/com/OPSnet/xld_logchecker.py/master.svg) \n![PyPI](https://img.shields.io/pypi/v/xld_logchecker.svg)\n\nThis is a fork of https://github.com/puddly/xld_logsigner, to be used within our \ndownstream applications, removing unnecessary functionality that we do not need. \n\nBased heavily on [barrybingo/xld_sign](https://github.com/barrybingo/xld_sign).\nThis is a complete disassembly of the XLD log signing algorithm, re-implemented in\nPython 3.5+.\n\n# Usage\n\n usage: xld.py [-h] (--verify | --sign) FILE\n\n Verifies and resigns XLD logs\n\n positional arguments:\n FILE path to the log file\n\n optional arguments:\n -h, --help show this help message and exit\n --verify verify a log\n --sign sign or fix an existing log\n\n# Overview\n\nThe final code isn't pretty, but it is simple enough to describe the algorithm.\n\n 1. The log is encoded as UTF-8 and hashed with a SHA-256 variant that uses a different IV.\n 2. The digest is converted to hex and the string `\\nVersion=0001` is appended onto the end.\n 3. The versioned hex-digest is then passed through an unidentified scrambling function that operates on pairs of bytes (open an issue if you recognize it).\n 4. The resulting bytestring is then encoded using a 65-character lookup table with a strange mapping.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/OPSnet/xld_logchecker.py", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "xld-logchecker", "package_url": "https://pypi.org/project/xld-logchecker/", "platform": "", "project_url": "https://pypi.org/project/xld-logchecker/", "project_urls": { "Homepage": "https://github.com/OPSnet/xld_logchecker.py" }, "release_url": "https://pypi.org/project/xld-logchecker/0.7.0/", "requires_dist": null, "requires_python": ">=3.5.0", "summary": "Logchecker for logs generated by XLD", "version": "0.7.0" }, "last_serial": 4524973, "releases": { "0.7.0": [ { "comment_text": "", "digests": { "md5": "a70e75c072d8f72bdd989e4f31fa3025", "sha256": "049af21adea11993a1f5b1e8b6f9f187a2c1398683af4849d6e93a164d605b6c" }, "downloads": -1, "filename": "xld_logchecker-0.7.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a70e75c072d8f72bdd989e4f31fa3025", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5.0", "size": 6050, "upload_time": "2018-11-25T02:07:39", "url": "https://files.pythonhosted.org/packages/03/dd/6b66ba360215d9f1ecba71b8f5cb39a29bbe24860431845327440f96deae/xld_logchecker-0.7.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "43fcb203f97feec1af1835ab905041d6", "sha256": "96efa902f2ccf808eccb2893f29bc058d98c92bae09c0828e0e61dff80eabc98" }, "downloads": -1, "filename": "xld_logchecker-0.7.0.tar.gz", "has_sig": false, "md5_digest": "43fcb203f97feec1af1835ab905041d6", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.0", "size": 5441, "upload_time": "2018-11-25T02:07:41", "url": "https://files.pythonhosted.org/packages/2b/17/010fd00bdc703140123c5d69c39cb4be1fbd6890027513e42370450d5e79/xld_logchecker-0.7.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a70e75c072d8f72bdd989e4f31fa3025", "sha256": "049af21adea11993a1f5b1e8b6f9f187a2c1398683af4849d6e93a164d605b6c" }, "downloads": -1, "filename": "xld_logchecker-0.7.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a70e75c072d8f72bdd989e4f31fa3025", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5.0", "size": 6050, "upload_time": "2018-11-25T02:07:39", "url": "https://files.pythonhosted.org/packages/03/dd/6b66ba360215d9f1ecba71b8f5cb39a29bbe24860431845327440f96deae/xld_logchecker-0.7.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "43fcb203f97feec1af1835ab905041d6", "sha256": "96efa902f2ccf808eccb2893f29bc058d98c92bae09c0828e0e61dff80eabc98" }, "downloads": -1, "filename": "xld_logchecker-0.7.0.tar.gz", "has_sig": false, "md5_digest": "43fcb203f97feec1af1835ab905041d6", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.0", "size": 5441, "upload_time": "2018-11-25T02:07:41", "url": "https://files.pythonhosted.org/packages/2b/17/010fd00bdc703140123c5d69c39cb4be1fbd6890027513e42370450d5e79/xld_logchecker-0.7.0.tar.gz" } ] }