{ "info": { "author": "Mozilla Services", "author_email": "services-dev@mozilla.org", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)", "Programming Language :: Python" ], "description": "===============\npyramid_macauth\n===============\n\nThis is a Pyramid authenitcation plugin for MAC Access Authentication:\n\n http://tools.ietf.org/html/draft-ietf-oauth-v2-http-mac-01\n\nTo access resources using MAC Access Authentication, the client must have\nobtained a set of MAC credentials including an id and secret key. They use\nthese credentials to make signed requests to the server.\n\nWhen accessing a protected resource, the server will generate a 401 challenge\nresponse with the scheme \"MAC\" as follows::\n\n > GET /protected_resource HTTP/1.1\n > Host: example.com\n\n < HTTP/1.1 401 Unauthorized\n < WWW-Authenticate: MAC\n\nThe client will use their MAC credentials to build a request signature and\ninclude it in the Authorization header like so::\n\n > GET /protected_resource HTTP/1.1\n > Host: example.com\n > Authorization: MAC id=\"h480djs93hd8\",\n > ts=\"1336363200\",\n > nonce=\"dj83hs9s\",\n > mac=\"bhCQXTVyfj5cmA9uKkPFx1zeOXM=\"\n\n < HTTP/1.1 200 OK\n < Content-Type: text/plain\n <\n < For your eyes only: secret data!\n\n\nThis plugin uses the tokenlib library for verifying MAC credentials:\n\n https://github.com/mozilla-services/tokenlib\n\nIf this library does not meet your needs, you can provide a custom callback\nfunction to decode the MAC id token.\n\n\n0.3.0 - 2012-11-27\n==================\n\n* Support for Python3 via source-level compatibility.\n\n\n0.2.0 - 2012-10-04\n==================\n\n * Add encode_mac_id() method as a dual of decode_mac_id().\n * Add \"macauth.master_secret\" setting to specify the secret used\n when encoding/decoding MAC Auth tokens.\n\n\n0.1.1 - 2012-07-11\n==================\n\n * Update tests for compatability with macauthlib>=0.3.0.\n\n\n0.1.0 - 2012-06-15\n==================\n\n * Initial release; based on repoze.who.plugins.macauth codebase.", "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/mozilla-services/pyramid_macauth", "keywords": "authentication token MAC", "license": "MPLv2.0", "maintainer": null, "maintainer_email": null, "name": "pyramid_macauth", "package_url": "https://pypi.org/project/pyramid_macauth/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pyramid_macauth/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/mozilla-services/pyramid_macauth" }, "release_url": "https://pypi.org/project/pyramid_macauth/0.3.0/", "requires_dist": null, "requires_python": null, "summary": "pyramid_macauth", "version": "0.3.0" }, "last_serial": 1164028, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "25c1ca9243f59d6f8a0f8713030ae6a3", "sha256": "76fe4bcaca0593b700c831e367d2a15466b09ce33ccbb876da1b9ed68da8b665" }, "downloads": -1, "filename": "pyramid_macauth-0.1.0.tar.gz", "has_sig": false, "md5_digest": "25c1ca9243f59d6f8a0f8713030ae6a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8742, "upload_time": "2012-06-15T14:16:41", "url": "https://files.pythonhosted.org/packages/5c/42/97cbc7c5b743aa913ee3ccb5107f0d58e1d4646097d6a2baf19c36933a7a/pyramid_macauth-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "9d1878dd78ad5ab79a3d2930200013c8", "sha256": "52b23741503968167277a938f967be68827e8920354b509ff906959253eade79" }, "downloads": -1, "filename": "pyramid_macauth-0.1.1.tar.gz", "has_sig": false, "md5_digest": "9d1878dd78ad5ab79a3d2930200013c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8796, "upload_time": "2012-07-12T08:14:54", "url": "https://files.pythonhosted.org/packages/a2/a4/e979c1fe929e0c846a9f751814a81a9a628967c753e2254f99117c605bde/pyramid_macauth-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "2ebc4e21adda935c68fb47c97957ed93", "sha256": "40bc876e61eab3bcd963cd08d236acc6ba17495b348877a31e6975aa322fb468" }, "downloads": -1, "filename": "pyramid_macauth-0.2.0.tar.gz", "has_sig": false, "md5_digest": "2ebc4e21adda935c68fb47c97957ed93", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9821, "upload_time": "2012-10-04T12:58:49", "url": "https://files.pythonhosted.org/packages/00/56/764c63d343547877ad7bf106c40b2f5858492baf5741acb5e19cc835910d/pyramid_macauth-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "5628c4598e961e63bf7066b627e568b1", "sha256": "073790d9a37253f036088f78ab1b83bad935c7103f5f9524937ccdebc26b65aa" }, "downloads": -1, "filename": "pyramid_macauth-0.3.0.tar.gz", "has_sig": false, "md5_digest": "5628c4598e961e63bf7066b627e568b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9952, "upload_time": "2012-11-27T06:03:55", "url": "https://files.pythonhosted.org/packages/1f/11/573f668d5bea31bd2cb609a8f8d95b82e5c351d1afa8f4edb02c0df62cba/pyramid_macauth-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5628c4598e961e63bf7066b627e568b1", "sha256": "073790d9a37253f036088f78ab1b83bad935c7103f5f9524937ccdebc26b65aa" }, "downloads": -1, "filename": "pyramid_macauth-0.3.0.tar.gz", "has_sig": false, "md5_digest": "5628c4598e961e63bf7066b627e568b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9952, "upload_time": "2012-11-27T06:03:55", "url": "https://files.pythonhosted.org/packages/1f/11/573f668d5bea31bd2cb609a8f8d95b82e5c351d1afa8f4edb02c0df62cba/pyramid_macauth-0.3.0.tar.gz" } ] }