{ "info": { "author": "Tres Seaver, Agendaless Consulting", "author_email": "tseaver@agendaless.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Zope2", "Intended Audience :: Developers", "License :: OSI Approved :: Zope Public License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Internet :: WWW/HTTP :: Session", "Topic :: Security :: Cryptography", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "``zope2.sessioncookie``\n=============================\n\nBridge to allow using Pyramid's `cookie session implementation\n`_\nin Zope2.\n\n.. note::\n\n Initial development of this library was sponsored by ZeOmega Inc.\n\nInstallation\n------------\n\n1. Clone the repository. E.g.::\n\n $ cd /path/to/\n $ git clone git@github.com:zopefoundation/zope2.sessioncookie\n\n2. Get ``zope2.sessioncookie`` installed on the Python path. E.g.::\n\n $ cd /path/to/zope2.sessioncookie\n $ /path/to/virtualenv_with_zope2/bin/pip install -e .\n ...\n\n3. Copy / link the ``zope2.sessioncookie-meta.zcml`` file into the\n ``$INSTANCE_HOME/etc/package-includes`` of your Zope instance. (You might\n need to create the directory first.) E.g.::\n\n $ cd /path/to/zopes_instance\n $ mkdir -p etc/package-includes\n $ cd etc/package-includes\n $ ln -s \\\n /path/to/zope2.sessioncookie/zope2.sessioncookie-meta.zcml .\n\n4. Generate a 32-byte, hexlified secret::\n\n $ /path/to/virtualenv_with_zope2/bin/print_secret\n DEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEF\n\n4. Edit the ``site.zcml`` for your instance. E.g.::\n\n $ cd /path/to/zopes_instance\n $ vim etc/site.zcml\n\n Add an XML namespace declaration at the top, e.g.::\n \n xmlns:sc=\"https://github.com/zopefoundation/zope2.sessioncookie\"\n\n Add a stanza near the end, configuring the cookie session. E.g.::\n\n \n\n5. Run the installation script, which disables the standard session\n manager and adds the new hook. E.g.::\n\n $ bin/zopectl run \\\n /path/to/zope2.sessioncookie/zope2/sessioncookie/scripts/install.py\n\n6. (Re)start your Zope instance. Test methods which set session variables,\n and inspect request / response cookies to see that ``_ZopeId`` is no longer\n being set, while ``session`` *is* set (with encrypted, base64-encoded data).\n\n\nChangelog\n=========\n\n0.8 (2016-04-28)\n----------------\n\n- Add a ``ZopeCookieSession.set`` method (PR #4).\n\n0.7.1 (2015-12-16)\n------------------\n\n- Packaging bug: fix rendering of ``README.txt`` in ``--long-description``\n output.\n\n0.7 (2015-12-16)\n----------------\n\n- Fix example ZCML snippet in ``README.rst`` (PR #3).\n\n- Fix ZCML namespace in ``zope2/sessioncookie/meta.zcml`` (PR #3).\n\n- Add script for uninstalling the root traversal hook (PR #2).\n\n0.6.1 (2015-12-08)\n------------------\n\n- Packaging bug: add missing ``MANIFEST.in``.\n\n0.6 (2015-11-23)\n----------------\n\n- Transferred copyright to Zope Foundation, relicensed to ZPL 2.1.\n\n- Rename from ``zope2.signedsessioncookie`` -> ``zope2.sessioncookie``.\n\n- Replace locally-defined ``EncryptingPickleSerialzer`` with\n ``pyramid_nacl_session.EncryptedSerializer``. Closes #8 and #9.\n\n0.5 (2015-10-08)\n----------------\n\n- Add support for (optionally) encrypting session cookies, rather than\n signing them.\n\n0.4 (2015-10-05)\n----------------\n\n- Add an attribute, ``signedsessioncookie_installed``, to the root object\n during installation.\n\n0.3 (2015-09-30)\n----------------\n\n- Fix rendering ``http_only`` cookie attribute.\n\n0.2 (2015-09-29)\n----------------\n\n- Add support for extra Pyramid session configuration via ZCML:\n ``hash_algorithm``, ``timeout``, ``reissue_time``.\n\n- Suppress empty / None values in cookie attributes passed to\n ``ZPublisher.HTTPResponse.setCookie``.\n\n- Refactor install script to allow reuse from other modules.\n\n- Fix compatibility w/ ``zope.configuration 3.7.4``.\n\n0.1 (2015-09-18)\n----------------\n\n- Initial release.", "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/zopefoundation/zope2.sessioncookie", "keywords": null, "license": "ZPL 2.1", "maintainer": null, "maintainer_email": null, "name": "zope2.sessioncookie", "package_url": "https://pypi.org/project/zope2.sessioncookie/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/zope2.sessioncookie/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/zopefoundation/zope2.sessioncookie" }, "release_url": "https://pypi.org/project/zope2.sessioncookie/0.8/", "requires_dist": null, "requires_python": null, "summary": "Allow use of Pyramid-style signed or encrypted cookie for scallable Zope2 session storage", "version": "0.8" }, "last_serial": 2089932, "releases": { "0.6": [ { "comment_text": "", "digests": { "md5": "d62349c752dfd8f2c5aa9fbeaa798ea0", "sha256": "32c68db3e8d1663d4f9f64a2f30621a8e4742de7bae57df72851faa3d2900044" }, "downloads": -1, "filename": "zope2.sessioncookie-0.6.tar.gz", "has_sig": true, "md5_digest": "d62349c752dfd8f2c5aa9fbeaa798ea0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9018, "upload_time": "2015-11-23T21:29:24", "url": "https://files.pythonhosted.org/packages/aa/12/0444ce7ef3feb986816f3a98b94e742d48e244c98e48275b5d1f10805b48/zope2.sessioncookie-0.6.tar.gz" } ], "0.6.1": [ { "comment_text": "", "digests": { "md5": "758fc0fe31ea44f918c7481bed107fde", "sha256": "6a427c097186282bc88b4caae6494a44b8516965da7ac1cce15e36bfce127cd0" }, "downloads": -1, "filename": "zope2.sessioncookie-0.6.1.tar.gz", "has_sig": true, "md5_digest": "758fc0fe31ea44f918c7481bed107fde", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10728, "upload_time": "2015-12-08T18:19:08", "url": "https://files.pythonhosted.org/packages/56/0e/e76be5483f5aff7c46dc3fcc02ef200bd37f76bf1e53793b7ac1b6f1dfac/zope2.sessioncookie-0.6.1.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "22a1b8bf6328a274334cbf4b8fc56994", "sha256": "fa125cc9f395d56e7db31746bf1d5b5f5fab12606277daaddf6287eb8f8362c8" }, "downloads": -1, "filename": "zope2.sessioncookie-0.7.tar.gz", "has_sig": true, "md5_digest": "22a1b8bf6328a274334cbf4b8fc56994", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10980, "upload_time": "2015-12-16T19:06:30", "url": "https://files.pythonhosted.org/packages/17/56/900513c53b94bf214f23a958cc43d638c6b7934cd9737458742667e8d26c/zope2.sessioncookie-0.7.tar.gz" } ], "0.7.1": [ { "comment_text": "", "digests": { "md5": "d7dbc702c4ebc76258d342f6a03bd6ed", "sha256": "a407e7245bce10750aafea73bf7f20721f4943dd00e05c63b934182769be8ebf" }, "downloads": -1, "filename": "zope2.sessioncookie-0.7.1.tar.gz", "has_sig": true, "md5_digest": "d7dbc702c4ebc76258d342f6a03bd6ed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11061, "upload_time": "2015-12-16T19:13:24", "url": "https://files.pythonhosted.org/packages/12/bd/e3dc5145c4522d93f038b0017ad674fbf559946bbce22843aa6d6d87b2b7/zope2.sessioncookie-0.7.1.tar.gz" } ], "0.8": [ { "comment_text": "", "digests": { "md5": "edaaf33408212f74658d3935f6d5ae66", "sha256": "6e8791ed7a47d059994541962748b098c576f828c8e8539465af20db6da57bda" }, "downloads": -1, "filename": "zope2.sessioncookie-0.8.tar.gz", "has_sig": true, "md5_digest": "edaaf33408212f74658d3935f6d5ae66", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16958, "upload_time": "2016-04-29T00:50:33", "url": "https://files.pythonhosted.org/packages/aa/30/8352576ceef9145694555d7b8ed3008e83b34c27bf311f8a25f30b86fbc9/zope2.sessioncookie-0.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "edaaf33408212f74658d3935f6d5ae66", "sha256": "6e8791ed7a47d059994541962748b098c576f828c8e8539465af20db6da57bda" }, "downloads": -1, "filename": "zope2.sessioncookie-0.8.tar.gz", "has_sig": true, "md5_digest": "edaaf33408212f74658d3935f6d5ae66", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16958, "upload_time": "2016-04-29T00:50:33", "url": "https://files.pythonhosted.org/packages/aa/30/8352576ceef9145694555d7b8ed3008e83b34c27bf311f8a25f30b86fbc9/zope2.sessioncookie-0.8.tar.gz" } ] }