{ "info": { "author": "Rob Martin @version2beta", "author_email": "rob@version2beta.com", "bugtrack_url": null, "classifiers": [], "description": "pysamlsp\n--------\n\n**pysamlsp** is a Python library for implementing a Service Provider within a SAML2.0 SSO environment.\n\nThis package is under active development but is currently incomplete. Please don't try to use it.\n\nRequirements\n____________\n\nPython packages\n===============\n\n* python-setuptools\n* python 2.7\n* lxml\n\nand for tests:\n\n* nose\n* expecter\n* dingus\n\nNon-Python packages\n===================\n\n* xmlsec1\n* openssl (though xmlsec1 may be built with GnuTLS, Libgcrypt, or NSS)\n* libxml2\n* libxslt\n\nInstallation\n____________\n\nAt this point in development, I have not uploaded to Pypi. Once I have, installation will be as easy as::\n\n pip install pysqlsp\n\nIn the meantime you can clone this repository and run::\n\n python setup.py install\n\nUsage\n_____\n\nInitialize the class with a configuration dictionary::\n\n sp_config = dict( ... )\n\nThe configuration dictionary may have the following entries:\n\n * 'assertion_consumer_service_url': The URL of the SSO provider.\n * 'issuer': A unique identifier for the service provider; probably should match the entityID attribute of the SP metadata.\n * 'private_key': A path for the private key PEM file, required for signing AuthnRequests.\n * 'sign_authnrequests': True / False flag to indicate whether AuthnRequests should be signed.\n * 'certificate': A path for the certificate file against which a SAMLResponse signature can be verified.\n\nCreate a redirect URL with the SAMLRequest query parameter::\n\n sp = Pysamlsp(sp_config)\n redirect_url = sp.redirect_for_idp()\n\nThe identity provider will post to the address specified in the service providers metadata.xml. The posted field \"SAMLResponse\" will contain a (base64encoded, gzip'd) XML response::\n\n saml_response = query['SAMLResponse']\n if sp.idp_response_is_valid(saml_response):\n ...\n\nSigned AuthnRequests\n====================\n\nIf you are signing your AuthnRequests, you'll need an RSA private key. Here is a procedure for creating the keys using openssl.\n\nCreate a private key, good for 10 years::\n\n openssl req -x509 -days 3650 -newkey rsa:1024 -keyout saml_key_pw.pem -out saml.crt\n\nRemove the passphrase from your new key. This library does not currently support keys with passphrases::\n\n openssl rsa -in saml_key_pw.pem -out saml_key.pem\n\nCreate a public key from the private key. You'll need this for metadata::\n\n openssl rsa -in saml_key.pem -pubout > saml.pub", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/pysamlsp", "keywords": "SAML2 SSO single sign on service provider only,for use with a remote IdP.", "license": "LICENSE.txt", "maintainer": null, "maintainer_email": null, "name": "pysamlsp", "package_url": "https://pypi.org/project/pysamlsp/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pysamlsp/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/pysamlsp" }, "release_url": "https://pypi.org/project/pysamlsp/0.1.4/", "requires_dist": null, "requires_python": null, "summary": "A service provider implementation for SAML2.0.", "version": "0.1.4" }, "last_serial": 797705, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "85b9962afad465b8d9f210009f675f12", "sha256": "f5e4603239e915bfa4b292e7dc92507411140f410397c83d470316ea52596e26" }, "downloads": -1, "filename": "pysamlsp-0.1.0.tar.gz", "has_sig": false, "md5_digest": "85b9962afad465b8d9f210009f675f12", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6117, "upload_time": "2013-05-07T14:38:34", "url": "https://files.pythonhosted.org/packages/8d/0a/2ac856edd71834c7294eb72da7c3965fc476fbd48d63ad4ccfa43119884d/pysamlsp-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "48a2fe692f5bfa281ffc215e3f1a8597", "sha256": "7fb8f3553f1e556cfacddf9580da00bbe1c467e6225095f7673236a160d6ae56" }, "downloads": -1, "filename": "pysamlsp-0.1.1.tar.gz", "has_sig": false, "md5_digest": "48a2fe692f5bfa281ffc215e3f1a8597", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7220, "upload_time": "2013-05-07T14:45:43", "url": "https://files.pythonhosted.org/packages/98/87/fc3ff5f6ea62981df4fd870908e8072ebed56825707c6a0e2aa2641f18f9/pysamlsp-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "b8ed6b2de2558145be666d200213ed10", "sha256": "e08af1d808bdad2b96d29cb68b4d550d848cbce0c7d3946f2bce1a97c75a7524" }, "downloads": -1, "filename": "pysamlsp-0.1.2.tar.gz", "has_sig": false, "md5_digest": "b8ed6b2de2558145be666d200213ed10", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7235, "upload_time": "2013-05-07T14:54:40", "url": "https://files.pythonhosted.org/packages/e4/ff/9f7b93618bd9adec3b1739e5d6a86f042b9a6a9ebd74bd4825627fa96b09/pysamlsp-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "e8ee52112a7d727eec9d2ec9f50ab87f", "sha256": "0931f6696a8115858f8f15712d297c445905e6cff373579ec8f88cd15a15451a" }, "downloads": -1, "filename": "pysamlsp-0.1.3.tar.gz", "has_sig": false, "md5_digest": "e8ee52112a7d727eec9d2ec9f50ab87f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7214, "upload_time": "2013-05-07T14:58:21", "url": "https://files.pythonhosted.org/packages/fe/a9/e44fd8a4044a79bd72bf5a863220b0802ac899c307315d147aeac60e2ae5/pysamlsp-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "f0f15f0cc3ed47fedb6413cf5db86c24", "sha256": "ee6515ed184bc8c2a138eb5fd674b89082924ddc63bc6ef22f8f134aebf3046d" }, "downloads": -1, "filename": "pysamlsp-0.1.4.tar.gz", "has_sig": false, "md5_digest": "f0f15f0cc3ed47fedb6413cf5db86c24", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7218, "upload_time": "2013-05-07T15:47:53", "url": "https://files.pythonhosted.org/packages/8f/9e/70c20a22aec3caa3d88d26d64559f37ccbfcf55a4cf9544a25118f86c915/pysamlsp-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f0f15f0cc3ed47fedb6413cf5db86c24", "sha256": "ee6515ed184bc8c2a138eb5fd674b89082924ddc63bc6ef22f8f134aebf3046d" }, "downloads": -1, "filename": "pysamlsp-0.1.4.tar.gz", "has_sig": false, "md5_digest": "f0f15f0cc3ed47fedb6413cf5db86c24", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7218, "upload_time": "2013-05-07T15:47:53", "url": "https://files.pythonhosted.org/packages/8f/9e/70c20a22aec3caa3d88d26d64559f37ccbfcf55a4cf9544a25118f86c915/pysamlsp-0.1.4.tar.gz" } ] }