{ "info": { "author": "Dolph Mathews", "author_email": "dolph.mathews@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Topic :: Security", "Topic :: Software Development :: Libraries" ], "description": "==============\nkeyless-fernet\n==============\n\nA Python library to parse `Fernet tokens `_ as much\nas possible without using a key. This is useful for doing limited,\nnon-cryptographic validation or introspection of Fernet tokens.\n\nUsage\n-----\n\n.. code:: python\n\n >>> token = 'gAAAAAAdwJ6wAAECAwQFBgcICQoLDA0ODy021cpGVWKZ_eEwCGM4BLLF_5CV9dOPmrhuVUPgJobwOz7JcbmrR64jVmpU4IwqDA=='\n >>> import keyless_fernet\n >>> t = keyless_fernet.Token(token) # tokens are validated on init\n >>> t.validate(ttl=60) # but you can also validate a token against any TTL\n >>> t.version # retrieve the token's version, as an integer\n 128\n >>> t.timestamp # retrieve the token's timestamp, as a datetime\n datetime.datetime(1985, 10, 26, 8, 20)\n >>> t.iv # and see the hex representations of the other attributes\n '000102030405060708090a0b0c0d0e0f'\n >>> t.ciphertext\n '2d36d5ca46556299fde13008633804b2'\n >>> t.hmac\n 'c5ff9095f5d38f9ab86e5543e02686f03b3ec971b9ab47ae23566a54e08c2a0c'\n\nTesting\n-------\n\n.. image:: https://travis-ci.org/dolph/keyless-fernet.svg?branch=master\n :target: https://travis-ci.org/dolph/keyless-fernet\n\nNo external testing dependencies are required:\n\n.. code:: bash\n\n $ python -m unittest discover\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/dolph/keyless-fernet", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "keyless_fernet", "package_url": "https://pypi.org/project/keyless_fernet/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/keyless_fernet/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/dolph/keyless-fernet" }, "release_url": "https://pypi.org/project/keyless_fernet/1.0.0/", "requires_dist": null, "requires_python": null, "summary": "Parse Fernet tokens as much as possible without using a key.", "version": "1.0.0" }, "last_serial": 1436830, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "d60149531797460ce9f4095766ccd6bf", "sha256": "18bb3033bbf14d891fd36c84045df16994097456dfe41e365a5448dfc581c3e0" }, "downloads": -1, "filename": "keyless_fernet-1.0.0.tar.gz", "has_sig": false, "md5_digest": "d60149531797460ce9f4095766ccd6bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7239, "upload_time": "2015-02-25T00:16:26", "url": "https://files.pythonhosted.org/packages/60/13/dfe56344c8a96cadad33ac482b5585e4656edf2f51926fe06ef95f9739f5/keyless_fernet-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d60149531797460ce9f4095766ccd6bf", "sha256": "18bb3033bbf14d891fd36c84045df16994097456dfe41e365a5448dfc581c3e0" }, "downloads": -1, "filename": "keyless_fernet-1.0.0.tar.gz", "has_sig": false, "md5_digest": "d60149531797460ce9f4095766ccd6bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7239, "upload_time": "2015-02-25T00:16:26", "url": "https://files.pythonhosted.org/packages/60/13/dfe56344c8a96cadad33ac482b5585e4656edf2f51926fe06ef95f9739f5/keyless_fernet-1.0.0.tar.gz" } ] }