pysaml2-fork 7.5.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. pysaml2_fork-7.5.5/LICENSE +190 -0
  2. pysaml2_fork-7.5.5/PKG-INFO +168 -0
  3. pysaml2_fork-7.5.5/README.md +137 -0
  4. pysaml2_fork-7.5.5/pyproject.toml +273 -0
  5. pysaml2_fork-7.5.5/src/saml2/__init__.py +1023 -0
  6. pysaml2_fork-7.5.5/src/saml2/algsupport.py +80 -0
  7. pysaml2_fork-7.5.5/src/saml2/argtree.py +122 -0
  8. pysaml2_fork-7.5.5/src/saml2/assertion.py +855 -0
  9. pysaml2_fork-7.5.5/src/saml2/attribute_converter.py +510 -0
  10. pysaml2_fork-7.5.5/src/saml2/attribute_resolver.py +46 -0
  11. pysaml2_fork-7.5.5/src/saml2/attributemaps/__init__.py +2 -0
  12. pysaml2_fork-7.5.5/src/saml2/attributemaps/adfs_v1x.py +18 -0
  13. pysaml2_fork-7.5.5/src/saml2/attributemaps/adfs_v20.py +49 -0
  14. pysaml2_fork-7.5.5/src/saml2/attributemaps/basic.py +342 -0
  15. pysaml2_fork-7.5.5/src/saml2/attributemaps/saml_uri.py +492 -0
  16. pysaml2_fork-7.5.5/src/saml2/attributemaps/shibboleth_uri.py +199 -0
  17. pysaml2_fork-7.5.5/src/saml2/authn.py +273 -0
  18. pysaml2_fork-7.5.5/src/saml2/authn_context/__init__.py +211 -0
  19. pysaml2_fork-7.5.5/src/saml2/authn_context/ippword.py +2748 -0
  20. pysaml2_fork-7.5.5/src/saml2/authn_context/mobiletwofactor.py +2600 -0
  21. pysaml2_fork-7.5.5/src/saml2/authn_context/ppt.py +2713 -0
  22. pysaml2_fork-7.5.5/src/saml2/authn_context/pword.py +2623 -0
  23. pysaml2_fork-7.5.5/src/saml2/authn_context/sslcert.py +2533 -0
  24. pysaml2_fork-7.5.5/src/saml2/authn_context/timesync.py +2657 -0
  25. pysaml2_fork-7.5.5/src/saml2/cache.py +188 -0
  26. pysaml2_fork-7.5.5/src/saml2/cert.py +381 -0
  27. pysaml2_fork-7.5.5/src/saml2/client.py +734 -0
  28. pysaml2_fork-7.5.5/src/saml2/client_base.py +1030 -0
  29. pysaml2_fork-7.5.5/src/saml2/config.py +521 -0
  30. pysaml2_fork-7.5.5/src/saml2/country_codes.py +255 -0
  31. pysaml2_fork-7.5.5/src/saml2/cryptography/__init__.py +1 -0
  32. pysaml2_fork-7.5.5/src/saml2/cryptography/asymmetric.py +35 -0
  33. pysaml2_fork-7.5.5/src/saml2/cryptography/errors.py +17 -0
  34. pysaml2_fork-7.5.5/src/saml2/cryptography/pki.py +48 -0
  35. pysaml2_fork-7.5.5/src/saml2/cryptography/symmetric.py +215 -0
  36. pysaml2_fork-7.5.5/src/saml2/data/__init__.py +0 -0
  37. pysaml2_fork-7.5.5/src/saml2/data/schemas/__init__.py +0 -0
  38. pysaml2_fork-7.5.5/src/saml2/data/schemas/eidas-schema-attribute-legalperson.xsd +86 -0
  39. pysaml2_fork-7.5.5/src/saml2/data/schemas/eidas-schema-attribute-naturalperson.xsd +88 -0
  40. pysaml2_fork-7.5.5/src/saml2/data/schemas/eidas-schema-metadata-servicelist.xsd +103 -0
  41. pysaml2_fork-7.5.5/src/saml2/data/schemas/eidas-schema-saml-extensions.xsd +33 -0
  42. pysaml2_fork-7.5.5/src/saml2/data/schemas/envelope.xsd +126 -0
  43. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-assertion-2.0.xsd +283 -0
  44. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-authn-context-2.0.xsd +23 -0
  45. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-authn-context-auth-telephony-2.0.xsd +81 -0
  46. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-authn-context-ip-2.0.xsd +65 -0
  47. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-authn-context-ippword-2.0.xsd +67 -0
  48. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-authn-context-kerberos-2.0.xsd +83 -0
  49. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-authn-context-mobileonefactor-reg-2.0.xsd +186 -0
  50. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-authn-context-mobileonefactor-unreg-2.0.xsd +183 -0
  51. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-authn-context-mobiletwofactor-reg-2.0.xsd +202 -0
  52. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-authn-context-mobiletwofactor-unreg-2.0.xsd +200 -0
  53. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-authn-context-nomad-telephony-2.0.xsd +81 -0
  54. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-authn-context-personal-telephony-2.0.xsd +80 -0
  55. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-authn-context-pgp-2.0.xsd +83 -0
  56. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-authn-context-ppt-2.0.xsd +81 -0
  57. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-authn-context-pword-2.0.xsd +64 -0
  58. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-authn-context-session-2.0.xsd +64 -0
  59. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-authn-context-smartcard-2.0.xsd +64 -0
  60. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-authn-context-smartcardpki-2.0.xsd +129 -0
  61. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-authn-context-softwarepki-2.0.xsd +129 -0
  62. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-authn-context-spki-2.0.xsd +83 -0
  63. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-authn-context-srp-2.0.xsd +82 -0
  64. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-authn-context-sslcert-2.0.xsd +97 -0
  65. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-authn-context-telephony-2.0.xsd +79 -0
  66. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-authn-context-timesync-2.0.xsd +105 -0
  67. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-authn-context-types-2.0.xsd +821 -0
  68. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-authn-context-x509-2.0.xsd +83 -0
  69. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-authn-context-xmldsig-2.0.xsd +83 -0
  70. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-dce-2.0.xsd +29 -0
  71. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-ecp-2.0.xsd +57 -0
  72. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-metadata-2.0.xsd +337 -0
  73. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-protocol-2.0.xsd +302 -0
  74. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-x500-2.0.xsd +20 -0
  75. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-schema-xacml-2.0.xsd +19 -0
  76. pysaml2_fork-7.5.5/src/saml2/data/schemas/saml-subject-id-attr-v1.0.xsd +48 -0
  77. pysaml2_fork-7.5.5/src/saml2/data/schemas/sstc-metadata-attr.xsd +25 -0
  78. pysaml2_fork-7.5.5/src/saml2/data/schemas/sstc-req-attr-ext.xsd +43 -0
  79. pysaml2_fork-7.5.5/src/saml2/data/schemas/sstc-saml-attribute-ext.xsd +25 -0
  80. pysaml2_fork-7.5.5/src/saml2/data/schemas/sstc-saml-metadata-algsupport-v1.0.xsd +54 -0
  81. pysaml2_fork-7.5.5/src/saml2/data/schemas/sstc-saml-metadata-ui-v1.0.xsd +98 -0
  82. pysaml2_fork-7.5.5/src/saml2/data/schemas/xenc-schema-11.xsd +117 -0
  83. pysaml2_fork-7.5.5/src/saml2/data/schemas/xenc-schema.xsd +146 -0
  84. pysaml2_fork-7.5.5/src/saml2/data/schemas/xml.xsd +286 -0
  85. pysaml2_fork-7.5.5/src/saml2/data/schemas/xmldsig-core-schema.xsd +318 -0
  86. pysaml2_fork-7.5.5/src/saml2/data/templates/__init__.py +0 -0
  87. pysaml2_fork-7.5.5/src/saml2/data/templates/template_enc.xml +20 -0
  88. pysaml2_fork-7.5.5/src/saml2/discovery.py +98 -0
  89. pysaml2_fork-7.5.5/src/saml2/ecp.py +202 -0
  90. pysaml2_fork-7.5.5/src/saml2/ecp_client.py +336 -0
  91. pysaml2_fork-7.5.5/src/saml2/entity.py +1654 -0
  92. pysaml2_fork-7.5.5/src/saml2/entity_category/__init__.py +14 -0
  93. pysaml2_fork-7.5.5/src/saml2/entity_category/at_egov_pvp2.py +39 -0
  94. pysaml2_fork-7.5.5/src/saml2/entity_category/edugain.py +21 -0
  95. pysaml2_fork-7.5.5/src/saml2/entity_category/incommon.py +15 -0
  96. pysaml2_fork-7.5.5/src/saml2/entity_category/refeds.py +15 -0
  97. pysaml2_fork-7.5.5/src/saml2/entity_category/swamid.py +136 -0
  98. pysaml2_fork-7.5.5/src/saml2/eptid.py +70 -0
  99. pysaml2_fork-7.5.5/src/saml2/extension/__init__.py +2 -0
  100. pysaml2_fork-7.5.5/src/saml2/extension/algsupport.py +118 -0
  101. pysaml2_fork-7.5.5/src/saml2/extension/dri.py +373 -0
  102. pysaml2_fork-7.5.5/src/saml2/extension/idpdisc.py +41 -0
  103. pysaml2_fork-7.5.5/src/saml2/extension/mdattr.py +79 -0
  104. pysaml2_fork-7.5.5/src/saml2/extension/mdrpi.py +269 -0
  105. pysaml2_fork-7.5.5/src/saml2/extension/mdui.py +383 -0
  106. pysaml2_fork-7.5.5/src/saml2/extension/pefim.py +78 -0
  107. pysaml2_fork-7.5.5/src/saml2/extension/reqinit.py +40 -0
  108. pysaml2_fork-7.5.5/src/saml2/extension/requested_attributes.py +142 -0
  109. pysaml2_fork-7.5.5/src/saml2/extension/shibmd.py +76 -0
  110. pysaml2_fork-7.5.5/src/saml2/extension/sp_type.py +57 -0
  111. pysaml2_fork-7.5.5/src/saml2/filter.py +36 -0
  112. pysaml2_fork-7.5.5/src/saml2/httpbase.py +333 -0
  113. pysaml2_fork-7.5.5/src/saml2/httputil.py +390 -0
  114. pysaml2_fork-7.5.5/src/saml2/ident.py +374 -0
  115. pysaml2_fork-7.5.5/src/saml2/mcache.py +206 -0
  116. pysaml2_fork-7.5.5/src/saml2/md.py +1974 -0
  117. pysaml2_fork-7.5.5/src/saml2/mdbcache.py +193 -0
  118. pysaml2_fork-7.5.5/src/saml2/mdie.py +158 -0
  119. pysaml2_fork-7.5.5/src/saml2/mdstore.py +1766 -0
  120. pysaml2_fork-7.5.5/src/saml2/metadata.py +860 -0
  121. pysaml2_fork-7.5.5/src/saml2/mongo_store.py +419 -0
  122. pysaml2_fork-7.5.5/src/saml2/pack.py +313 -0
  123. pysaml2_fork-7.5.5/src/saml2/population.py +66 -0
  124. pysaml2_fork-7.5.5/src/saml2/profile/__init__.py +2 -0
  125. pysaml2_fork-7.5.5/src/saml2/profile/ecp.py +203 -0
  126. pysaml2_fork-7.5.5/src/saml2/profile/paos.py +142 -0
  127. pysaml2_fork-7.5.5/src/saml2/profile/samlec.py +14 -0
  128. pysaml2_fork-7.5.5/src/saml2/request.py +291 -0
  129. pysaml2_fork-7.5.5/src/saml2/response.py +1412 -0
  130. pysaml2_fork-7.5.5/src/saml2/s2repoze/__init__.py +1 -0
  131. pysaml2_fork-7.5.5/src/saml2/s2repoze/plugins/__init__.py +0 -0
  132. pysaml2_fork-7.5.5/src/saml2/s2repoze/plugins/challenge_decider.py +114 -0
  133. pysaml2_fork-7.5.5/src/saml2/s2repoze/plugins/entitlement.py +77 -0
  134. pysaml2_fork-7.5.5/src/saml2/s2repoze/plugins/formswithhidden.py +121 -0
  135. pysaml2_fork-7.5.5/src/saml2/s2repoze/plugins/ini.py +36 -0
  136. pysaml2_fork-7.5.5/src/saml2/s2repoze/plugins/sp.py +663 -0
  137. pysaml2_fork-7.5.5/src/saml2/s_utils.py +455 -0
  138. pysaml2_fork-7.5.5/src/saml2/saml.py +1907 -0
  139. pysaml2_fork-7.5.5/src/saml2/samlp.py +1820 -0
  140. pysaml2_fork-7.5.5/src/saml2/schema/__init__.py +1 -0
  141. pysaml2_fork-7.5.5/src/saml2/schema/soap.py +544 -0
  142. pysaml2_fork-7.5.5/src/saml2/schema/soapenv.py +312 -0
  143. pysaml2_fork-7.5.5/src/saml2/schema/wsdl.py +965 -0
  144. pysaml2_fork-7.5.5/src/saml2/sdb.py +68 -0
  145. pysaml2_fork-7.5.5/src/saml2/server.py +1112 -0
  146. pysaml2_fork-7.5.5/src/saml2/sigver.py +1898 -0
  147. pysaml2_fork-7.5.5/src/saml2/soap.py +285 -0
  148. pysaml2_fork-7.5.5/src/saml2/time_util.py +318 -0
  149. pysaml2_fork-7.5.5/src/saml2/tools/make_metadata.py +83 -0
  150. pysaml2_fork-7.5.5/src/saml2/tools/mdexport.py +54 -0
  151. pysaml2_fork-7.5.5/src/saml2/tools/mdexport_test.py +41 -0
  152. pysaml2_fork-7.5.5/src/saml2/tools/mdimport.py +32 -0
  153. pysaml2_fork-7.5.5/src/saml2/tools/merge_metadata.py +78 -0
  154. pysaml2_fork-7.5.5/src/saml2/tools/parse_xsd2.py +2162 -0
  155. pysaml2_fork-7.5.5/src/saml2/tools/sync_attrmaps.py +137 -0
  156. pysaml2_fork-7.5.5/src/saml2/tools/update_metadata.sh +3 -0
  157. pysaml2_fork-7.5.5/src/saml2/tools/verify_metadata.py +59 -0
  158. pysaml2_fork-7.5.5/src/saml2/userinfo/__init__.py +54 -0
  159. pysaml2_fork-7.5.5/src/saml2/userinfo/ldapinfo.py +40 -0
  160. pysaml2_fork-7.5.5/src/saml2/validate.py +425 -0
  161. pysaml2_fork-7.5.5/src/saml2/version.py +14 -0
  162. pysaml2_fork-7.5.5/src/saml2/virtual_org.py +79 -0
  163. pysaml2_fork-7.5.5/src/saml2/ws/__init__.py +1 -0
  164. pysaml2_fork-7.5.5/src/saml2/ws/wsaddr.py +584 -0
  165. pysaml2_fork-7.5.5/src/saml2/ws/wspol.py +268 -0
  166. pysaml2_fork-7.5.5/src/saml2/ws/wssec.py +625 -0
  167. pysaml2_fork-7.5.5/src/saml2/ws/wstrust.py +1978 -0
  168. pysaml2_fork-7.5.5/src/saml2/ws/wsutil.py +211 -0
  169. pysaml2_fork-7.5.5/src/saml2/xml/__init__.py +0 -0
  170. pysaml2_fork-7.5.5/src/saml2/xml/schema/__init__.py +75 -0
  171. pysaml2_fork-7.5.5/src/saml2/xmldsig/__init__.py +1828 -0
  172. pysaml2_fork-7.5.5/src/saml2/xmlenc/__init__.py +820 -0
  173. pysaml2_fork-7.5.5/src/saml2test/__init__.py +99 -0
  174. pysaml2_fork-7.5.5/src/saml2test/check.py +287 -0
  175. pysaml2_fork-7.5.5/src/saml2test/interaction.py +391 -0
  176. pysaml2_fork-7.5.5/src/saml2test/opfunc.py +370 -0
  177. pysaml2_fork-7.5.5/src/saml2test/status.py +10 -0
  178. pysaml2_fork-7.5.5/src/saml2test/tool.py +323 -0
@@ -0,0 +1,190 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ Copyright 2018 Roland Hedberg
179
+
180
+ Licensed under the Apache License, Version 2.0 (the "License");
181
+ you may not use this file except in compliance with the License.
182
+ You may obtain a copy of the License at
183
+
184
+ http://www.apache.org/licenses/LICENSE-2.0
185
+
186
+ Unless required by applicable law or agreed to in writing, software
187
+ distributed under the License is distributed on an "AS IS" BASIS,
188
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
189
+ See the License for the specific language governing permissions and
190
+ limitations under the License.
@@ -0,0 +1,168 @@
1
+ Metadata-Version: 2.4
2
+ Name: pysaml2-fork
3
+ Version: 7.5.5
4
+ Summary: Python implementation of SAML Version 2 Standard
5
+ License-Expression: Apache-2.0
6
+ License-File: LICENSE
7
+ Keywords: saml,saml2,standard,federation,identity,idpy,IdentityPython
8
+ Author: IdentityPython
9
+ Author-email: discuss@idpy.org
10
+ Maintainer: IdentityPython
11
+ Maintainer-email: discuss@idpy.org
12
+ Requires-Python: >= 3.9.2
13
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
14
+ Provides-Extra: s2repoze
15
+ Requires-Dist: cryptography (>=46.0.5)
16
+ Requires-Dist: defusedxml
17
+ Requires-Dist: paste ; extra == "s2repoze"
18
+ Requires-Dist: pyopenssl (>=25.3.0)
19
+ Requires-Dist: python-dateutil
20
+ Requires-Dist: repoze.who ; extra == "s2repoze"
21
+ Requires-Dist: requests (>=2.0.0,<3.0.0)
22
+ Requires-Dist: xmlschema (>=2.0.0,<3.0.0)
23
+ Requires-Dist: zope.interface ; extra == "s2repoze"
24
+ Project-URL: Changelog, https://github.com/IdentityPython/pysaml2/blob/master/CHANGELOG.md
25
+ Project-URL: Documentation, https://pysaml2.readthedocs.io
26
+ Project-URL: Homepage, https://idpy.org
27
+ Project-URL: Issues, https://github.com/IdentityPython/pysaml2/issues
28
+ Project-URL: Repository, https://github.com/IdentityPython/pysaml2
29
+ Description-Content-Type: text/markdown
30
+
31
+ # PySAML2 - SAML2 for Python
32
+
33
+ [![Version](https://img.shields.io/pypi/v/pysaml2)](https://pypi.org/project/pysaml2/)
34
+ [![Supported Python versions](https://img.shields.io/pypi/pyversions/pysaml2)](https://pypi.org/project/pysaml2/)
35
+ [![Total downloads](https://pepy.tech/badge/pysaml2)](https://pepy.tech/project/pysaml2)
36
+ [![Weekly downloads](https://pepy.tech/badge/pysaml2/week)](https://pepy.tech/project/pysaml2)
37
+ [![License](https://img.shields.io/github/license/IdentityPython/pysaml2)](https://github.com/IdentityPython/pysaml2/blob/master/LICENSE)
38
+
39
+ PySAML2 is a pure python implementation of SAML Version 2 Standard.
40
+ It contains all necessary pieces for building a SAML2 service provider
41
+ or an identity provider. The distribution contains examples of both.
42
+ Originally written to work in a WSGI environment
43
+ there are extensions that allow you to use it with other frameworks.
44
+
45
+ **Website**: https://idpy.org/
46
+
47
+ **Documentation**: https://pysaml2.readthedocs.io/
48
+
49
+ **Contribution guidelines**: [CONTRIBUTING.md][contributing]
50
+
51
+ **Security policies**: [SECURITY.md][sec]
52
+
53
+ **Source code**: https://github.com/IdentityPython/pysaml2/
54
+
55
+ **Developer guidelines**: [DEVELOPERS.md][dev]
56
+
57
+ **PyPI project**: https://pypi.org/project/pysaml2/
58
+
59
+ **License**: [LICENSE][license]
60
+
61
+
62
+ ## Specifications
63
+
64
+ Retrieved from https://wiki.oasis-open.org/security/FrontPage
65
+
66
+ #### SAML V2.0 Standard
67
+
68
+ - SAML2 Core (aka Assertions and Protocols): http://www.oasis-open.org/committees/download.php/56776/sstc-saml-core-errata-2.0-wd-07.pdf
69
+ - Assertion schema: http://docs.oasis-open.org/security/saml/v2.0/saml-schema-assertion-2.0.xsd
70
+ - Protocols schema: http://docs.oasis-open.org/security/saml/v2.0/saml-schema-protocol-2.0.xsd
71
+ - Bindings: http://www.oasis-open.org/committees/download.php/56779/sstc-saml-bindings-errata-2.0-wd-06.pdf
72
+ - Profiles: http://www.oasis-open.org/committees/download.php/56782/sstc-saml-profiles-errata-2.0-wd-07.pdf
73
+ - Metadata: http://www.oasis-open.org/committees/download.php/56785/sstc-saml-metadata-errata-2.0-wd-05.pdf
74
+ - Metadata schema: http://docs.oasis-open.org/security/saml/v2.0/saml-schema-metadata-2.0.xsd
75
+ - Authentication Context: http://docs.oasis-open.org/security/saml/v2.0/saml-authn-context-2.0-os.pdf
76
+ - Conformance Requirements: https://docs.oasis-open.org/security/saml/v2.0/saml-conformance-2.0-os.pdf
77
+ - Security and Privacy Considerations: http://docs.oasis-open.org/security/saml/v2.0/saml-sec-consider-2.0-os.pdf
78
+ - Glossary: http://docs.oasis-open.org/security/saml/v2.0/saml-glossary-2.0-os.pdf
79
+
80
+ #### Profiles and extensions
81
+
82
+ - Metadata Extension for SAML V2.0 and V1.x Query Requesters: http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-metadata-ext-query-os.pdf
83
+ - SAML V2.0 Metadata Interoperability Profile: https://docs.oasis-open.org/security/saml/Post2.0/sstc-metadata-iop-os.pdf
84
+ - SAML V2.0 Metadata Extensions for Login and Discovery User Interface Version 1.0: https://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-metadata-ui/v1.0/os/sstc-saml-metadata-ui-v1.0-os.pdf
85
+ - SAML V2.0 LDAP/X.500 Attribute Profile: http://www.oasis-open.org/committees/download.php/28042/sstc-saml-attribute-x500-cs-01.pdf
86
+ - SAML V2.0 Enhanced Client or Proxy Profile Version 2.0: https://docs.oasis-open.org/security/saml/Post2.0/saml-ecp/v2.0/cs01/saml-ecp-v2.0-cs01.pdf
87
+
88
+ #### Committee Specifications
89
+
90
+ - SAML V2.0 Subject Identifier Attributes Profile Version 1.0: https://docs.oasis-open.org/security/saml-subject-id-attr/v1.0/cs01/saml-subject-id-attr-v1.0-cs01.pdf
91
+
92
+
93
+ ## Installation
94
+
95
+ You can install PySAML2 through pip:
96
+
97
+ ```shell
98
+ pip install pysaml2
99
+ ```
100
+
101
+ ### External dependencies
102
+
103
+ PySAML2 works with the [`xmlsec`][xmlsec] binary.
104
+ Notice that support for xmlsec `1 1.3` was added with `v7.4.2`.
105
+
106
+ `xmlsec` should be readily available in most Linux distributions:
107
+
108
+ ```shell
109
+ $ apt-get install xmlsec1
110
+ $ dnf install xmlsec1-openssl
111
+ $ yum install xmlsec1-openssl
112
+ $ pacman -S xmlsec
113
+ ...
114
+ ```
115
+
116
+ and on MacOS through [`homebrew`][brew]
117
+
118
+ ```shell
119
+ $ brew install libxmlsec1
120
+ ```
121
+
122
+
123
+ ## Changelog
124
+
125
+ See the [CHANGELOG][clog] to learn about the latest developments.
126
+
127
+
128
+ ## Contributing
129
+
130
+ We've set up a separate document for our [contribution guidelines][contributing].
131
+
132
+
133
+ ## Community
134
+
135
+ [IdentityPython][idpy] is a community around
136
+ a collection of libraries and tools to manage identity related concepts with Python code.
137
+ You can interact with the community though the [mailing list](https://lists.sunet.se/postorius/lists/idpy-discuss.lists.sunet.se/)
138
+ or on the [Slack workspace](https://identity-python.slack.com/) ([invitation](https://join.slack.com/t/identity-python/shared_invite/enQtNzEyNjU1NDI1MjUyLTM2MWI5ZGNhMTk1ZThiOTIxNWY2OTY1ODVmMWNjMzUzMTYxNTY5MzE5N2RlYjExZTIyM2MwYjBjZGE4MGVlMTM)).
139
+
140
+
141
+ ## Development
142
+
143
+ We've set up a separate document for [developers][dev].
144
+
145
+
146
+ ### Releasing
147
+
148
+ We've set up a separate document for our [release process][rel].
149
+
150
+
151
+ ### Pre-commit
152
+
153
+ (TODO)
154
+
155
+
156
+ [idpy]: https://idpy.org/
157
+ [docs]: https://pysaml2.readthedocs.io/
158
+ [contributing]: https://github.com/IdentityPython/pysaml2/blob/master/CONTRIBUTING.md
159
+ [sec]: https://github.com/IdentityPython/pysaml2/blob/master/SECURITY.md
160
+ [repo]: https://github.com/IdentityPython/pysaml2/
161
+ [dev]: https://github.com/IdentityPython/pysaml2/blob/master/DEVELOPERS.md
162
+ [pypi]: https://pypi.org/project/pysaml2/
163
+ [license]: https://github.com/IdentityPython/pysaml2/blob/master/LICENSE
164
+ [clog]: https://github.com/IdentityPython/pysaml2/blob/master/CHANGELOG.md
165
+ [rel]: https://github.com/IdentityPython/pysaml2/blob/master/RELEASE.md
166
+ [xmlsec]: http://www.aleksey.com/xmlsec/
167
+ [brew]: https://brew.sh/
168
+
@@ -0,0 +1,137 @@
1
+ # PySAML2 - SAML2 for Python
2
+
3
+ [![Version](https://img.shields.io/pypi/v/pysaml2)](https://pypi.org/project/pysaml2/)
4
+ [![Supported Python versions](https://img.shields.io/pypi/pyversions/pysaml2)](https://pypi.org/project/pysaml2/)
5
+ [![Total downloads](https://pepy.tech/badge/pysaml2)](https://pepy.tech/project/pysaml2)
6
+ [![Weekly downloads](https://pepy.tech/badge/pysaml2/week)](https://pepy.tech/project/pysaml2)
7
+ [![License](https://img.shields.io/github/license/IdentityPython/pysaml2)](https://github.com/IdentityPython/pysaml2/blob/master/LICENSE)
8
+
9
+ PySAML2 is a pure python implementation of SAML Version 2 Standard.
10
+ It contains all necessary pieces for building a SAML2 service provider
11
+ or an identity provider. The distribution contains examples of both.
12
+ Originally written to work in a WSGI environment
13
+ there are extensions that allow you to use it with other frameworks.
14
+
15
+ **Website**: https://idpy.org/
16
+
17
+ **Documentation**: https://pysaml2.readthedocs.io/
18
+
19
+ **Contribution guidelines**: [CONTRIBUTING.md][contributing]
20
+
21
+ **Security policies**: [SECURITY.md][sec]
22
+
23
+ **Source code**: https://github.com/IdentityPython/pysaml2/
24
+
25
+ **Developer guidelines**: [DEVELOPERS.md][dev]
26
+
27
+ **PyPI project**: https://pypi.org/project/pysaml2/
28
+
29
+ **License**: [LICENSE][license]
30
+
31
+
32
+ ## Specifications
33
+
34
+ Retrieved from https://wiki.oasis-open.org/security/FrontPage
35
+
36
+ #### SAML V2.0 Standard
37
+
38
+ - SAML2 Core (aka Assertions and Protocols): http://www.oasis-open.org/committees/download.php/56776/sstc-saml-core-errata-2.0-wd-07.pdf
39
+ - Assertion schema: http://docs.oasis-open.org/security/saml/v2.0/saml-schema-assertion-2.0.xsd
40
+ - Protocols schema: http://docs.oasis-open.org/security/saml/v2.0/saml-schema-protocol-2.0.xsd
41
+ - Bindings: http://www.oasis-open.org/committees/download.php/56779/sstc-saml-bindings-errata-2.0-wd-06.pdf
42
+ - Profiles: http://www.oasis-open.org/committees/download.php/56782/sstc-saml-profiles-errata-2.0-wd-07.pdf
43
+ - Metadata: http://www.oasis-open.org/committees/download.php/56785/sstc-saml-metadata-errata-2.0-wd-05.pdf
44
+ - Metadata schema: http://docs.oasis-open.org/security/saml/v2.0/saml-schema-metadata-2.0.xsd
45
+ - Authentication Context: http://docs.oasis-open.org/security/saml/v2.0/saml-authn-context-2.0-os.pdf
46
+ - Conformance Requirements: https://docs.oasis-open.org/security/saml/v2.0/saml-conformance-2.0-os.pdf
47
+ - Security and Privacy Considerations: http://docs.oasis-open.org/security/saml/v2.0/saml-sec-consider-2.0-os.pdf
48
+ - Glossary: http://docs.oasis-open.org/security/saml/v2.0/saml-glossary-2.0-os.pdf
49
+
50
+ #### Profiles and extensions
51
+
52
+ - Metadata Extension for SAML V2.0 and V1.x Query Requesters: http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-metadata-ext-query-os.pdf
53
+ - SAML V2.0 Metadata Interoperability Profile: https://docs.oasis-open.org/security/saml/Post2.0/sstc-metadata-iop-os.pdf
54
+ - SAML V2.0 Metadata Extensions for Login and Discovery User Interface Version 1.0: https://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-metadata-ui/v1.0/os/sstc-saml-metadata-ui-v1.0-os.pdf
55
+ - SAML V2.0 LDAP/X.500 Attribute Profile: http://www.oasis-open.org/committees/download.php/28042/sstc-saml-attribute-x500-cs-01.pdf
56
+ - SAML V2.0 Enhanced Client or Proxy Profile Version 2.0: https://docs.oasis-open.org/security/saml/Post2.0/saml-ecp/v2.0/cs01/saml-ecp-v2.0-cs01.pdf
57
+
58
+ #### Committee Specifications
59
+
60
+ - SAML V2.0 Subject Identifier Attributes Profile Version 1.0: https://docs.oasis-open.org/security/saml-subject-id-attr/v1.0/cs01/saml-subject-id-attr-v1.0-cs01.pdf
61
+
62
+
63
+ ## Installation
64
+
65
+ You can install PySAML2 through pip:
66
+
67
+ ```shell
68
+ pip install pysaml2
69
+ ```
70
+
71
+ ### External dependencies
72
+
73
+ PySAML2 works with the [`xmlsec`][xmlsec] binary.
74
+ Notice that support for xmlsec `1 1.3` was added with `v7.4.2`.
75
+
76
+ `xmlsec` should be readily available in most Linux distributions:
77
+
78
+ ```shell
79
+ $ apt-get install xmlsec1
80
+ $ dnf install xmlsec1-openssl
81
+ $ yum install xmlsec1-openssl
82
+ $ pacman -S xmlsec
83
+ ...
84
+ ```
85
+
86
+ and on MacOS through [`homebrew`][brew]
87
+
88
+ ```shell
89
+ $ brew install libxmlsec1
90
+ ```
91
+
92
+
93
+ ## Changelog
94
+
95
+ See the [CHANGELOG][clog] to learn about the latest developments.
96
+
97
+
98
+ ## Contributing
99
+
100
+ We've set up a separate document for our [contribution guidelines][contributing].
101
+
102
+
103
+ ## Community
104
+
105
+ [IdentityPython][idpy] is a community around
106
+ a collection of libraries and tools to manage identity related concepts with Python code.
107
+ You can interact with the community though the [mailing list](https://lists.sunet.se/postorius/lists/idpy-discuss.lists.sunet.se/)
108
+ or on the [Slack workspace](https://identity-python.slack.com/) ([invitation](https://join.slack.com/t/identity-python/shared_invite/enQtNzEyNjU1NDI1MjUyLTM2MWI5ZGNhMTk1ZThiOTIxNWY2OTY1ODVmMWNjMzUzMTYxNTY5MzE5N2RlYjExZTIyM2MwYjBjZGE4MGVlMTM)).
109
+
110
+
111
+ ## Development
112
+
113
+ We've set up a separate document for [developers][dev].
114
+
115
+
116
+ ### Releasing
117
+
118
+ We've set up a separate document for our [release process][rel].
119
+
120
+
121
+ ### Pre-commit
122
+
123
+ (TODO)
124
+
125
+
126
+ [idpy]: https://idpy.org/
127
+ [docs]: https://pysaml2.readthedocs.io/
128
+ [contributing]: https://github.com/IdentityPython/pysaml2/blob/master/CONTRIBUTING.md
129
+ [sec]: https://github.com/IdentityPython/pysaml2/blob/master/SECURITY.md
130
+ [repo]: https://github.com/IdentityPython/pysaml2/
131
+ [dev]: https://github.com/IdentityPython/pysaml2/blob/master/DEVELOPERS.md
132
+ [pypi]: https://pypi.org/project/pysaml2/
133
+ [license]: https://github.com/IdentityPython/pysaml2/blob/master/LICENSE
134
+ [clog]: https://github.com/IdentityPython/pysaml2/blob/master/CHANGELOG.md
135
+ [rel]: https://github.com/IdentityPython/pysaml2/blob/master/RELEASE.md
136
+ [xmlsec]: http://www.aleksey.com/xmlsec/
137
+ [brew]: https://brew.sh/