{ "info": { "author": "Nick Satterly", "author_email": "nick.satterly@theguardian.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Plugins", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Utilities" ], "description": "httpie-hmac-auth\n================\n\n`HMAC `_ auth plugin for `HTTPie `_.\n\n\nHTTP requests will be signed with a shared secret key using HMAC. The string to sign format is:\n\n.. code-block:: bash\n\n \\n\n \\n\n \\n\n \\n\n \n\nExample String-to-sign\n\n.. code-block:: bash\n\n POST\n vVqHE1k/uBRCoWe0FAh95g==\n application/json\n Tue, 12 Jan 2016 14:57:28 GMT\n /api/v1/avatars\n\nExample Authorization Header with HMAC signature\n\n.. code-block:: bash\n\n Authorization: HMAC XH+v0qhV4i/89y/DT2OOJx9Kjf3f/0j+w2aGZk625nU=\n\nInstallation\n------------\n\n.. code-block:: bash\n\n $ pip install httpie-hmac-auth\n\nYou should now see ``hmac`` under ``--auth-type`` in ``$ http --help`` output.\n\nUsage\n-----\n\n.. code-block:: bash\n\n $ http --auth-type=hmac --auth='client:secret' example.org\n\nExamples\n--------\n\nTo authenticate a client request when an access key is required by the server to lookup the shared secret:\n\n.. code-block:: bash\n\n $ http --auth-type=hmac --auth=\"client:secret\" example.org\n\nTo authenticate a client request when there is no requirement for a client to supply an access key:\n\n.. code-block:: bash\n\n $ http --auth-type=hmac --auth=\":secret\" example.org\n\nLicense\n-------\n\nCopyright (c) 2016 The Guardian. Available under the MIT License.", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/guardian/httpie-hmac-auth", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/guardian/httpie-hmac-auth", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "httpie-hmac-auth", "package_url": "https://pypi.org/project/httpie-hmac-auth/", "platform": "", "project_url": "https://pypi.org/project/httpie-hmac-auth/", "project_urls": { "Download": "https://github.com/guardian/httpie-hmac-auth", "Homepage": "https://github.com/guardian/httpie-hmac-auth" }, "release_url": "https://pypi.org/project/httpie-hmac-auth/0.2.3/", "requires_dist": null, "requires_python": "", "summary": "HMAC Auth plugin for HTTPie.", "version": "0.2.3" }, "last_serial": 2552229, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "add3ca35469f592bb89b1e1e32c5b4a0", "sha256": "f84dedc74e4f1251334cd5d4fb6093f37f66d7f2184f3e006336f50f46640b0c" }, "downloads": -1, "filename": "httpie-hmac-auth-0.1.0.tar.gz", "has_sig": false, "md5_digest": "add3ca35469f592bb89b1e1e32c5b4a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2282, "upload_time": "2016-01-15T15:48:57", "url": "https://files.pythonhosted.org/packages/e1/ee/8d127c12bf98381a1f46ca0918c07a351f376d08da58fe480398802b78bd/httpie-hmac-auth-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "09c8ce377db0025be3065eba74f6d3ec", "sha256": "739cdb63de83f521e31933dc669738dd85cb978655341f332015fccb23c3fa81" }, "downloads": -1, "filename": "httpie-hmac-auth-0.2.0.tar.gz", "has_sig": false, "md5_digest": "09c8ce377db0025be3065eba74f6d3ec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2719, "upload_time": "2016-01-16T13:21:51", "url": "https://files.pythonhosted.org/packages/2e/3e/f4b531c7e25dd609260bfd509f0aa4492aa6fde14fab88dc4de4a432fe31/httpie-hmac-auth-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "68d293aa7522fd45bb2a44c11df60e84", "sha256": "b3423e66dca0cfb812af43e38275b6c5e07fdcf761b46f962c4d57bbf9e11622" }, "downloads": -1, "filename": "httpie-hmac-auth-0.2.1.tar.gz", "has_sig": false, "md5_digest": "68d293aa7522fd45bb2a44c11df60e84", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2723, "upload_time": "2016-09-23T23:49:55", "url": "https://files.pythonhosted.org/packages/67/39/72703f5ef9a19e3ef2496451072b22a47fb484ae96d9621b011c531e2b6e/httpie-hmac-auth-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "7cea86861431a7ea8c71baaa381737a5", "sha256": "f124d872b29df0b4608ff4fd48b348283a0c9f2dc1edb0aaf2469e715b99b231" }, "downloads": -1, "filename": "httpie-hmac-auth-0.2.2.tar.gz", "has_sig": false, "md5_digest": "7cea86861431a7ea8c71baaa381737a5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2743, "upload_time": "2016-11-29T15:07:23", "url": "https://files.pythonhosted.org/packages/61/be/996fc9f5e531df6d1c8cb90ed129c10d94acd10ed3aa0cbc2b39a0b329a7/httpie-hmac-auth-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "69af3e043e277f936f87eb1bbee5a8ff", "sha256": "c8912ddf803c5d66aa4409d034f592f268f612c7d31451bde54c05edfd82e7b9" }, "downloads": -1, "filename": "httpie-hmac-auth-0.2.3.tar.gz", "has_sig": false, "md5_digest": "69af3e043e277f936f87eb1bbee5a8ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2765, "upload_time": "2017-01-03T20:05:46", "url": "https://files.pythonhosted.org/packages/b1/b7/c4877e0c5b565166bc5b9df5dd1552aa2ba43983b1c9176fbbd8d9528b27/httpie-hmac-auth-0.2.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "69af3e043e277f936f87eb1bbee5a8ff", "sha256": "c8912ddf803c5d66aa4409d034f592f268f612c7d31451bde54c05edfd82e7b9" }, "downloads": -1, "filename": "httpie-hmac-auth-0.2.3.tar.gz", "has_sig": false, "md5_digest": "69af3e043e277f936f87eb1bbee5a8ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2765, "upload_time": "2017-01-03T20:05:46", "url": "https://files.pythonhosted.org/packages/b1/b7/c4877e0c5b565166bc5b9df5dd1552aa2ba43983b1c9176fbbd8d9528b27/httpie-hmac-auth-0.2.3.tar.gz" } ] }