Go to file
Oleg Girko dd58f3dfe9 Open metadata in binary mode for Python 3 compatibility.
Python 3 handles character data read from a file differently
than Python 2 does.

Python 3 opens files in text mode by default, causing file reads
to return string data decoded from file using encoding specified
as argument of open() builtin function.
If encoding is not specified, open() uses some default encoding
that can even be ASCII.

Hence, using open() in text mode without specifying encoding
is dangerous in Python 3 and can lead to unexpected results.

However, it's safe to open metadata in binary mode, it gets encoded
to UTF-8 later anyway.

Signed-off-by: Oleg Girko <ol@infoserver.lv>
2015-11-05 03:25:42 +00:00
2014-04-08 17:36:51 +02:00
2015-11-01 15:27:52 -08:00
2015-05-15 11:52:15 -07:00
2012-05-23 18:56:51 +02:00
2012-05-23 18:56:51 +02:00
2015-07-13 09:04:15 +02:00
2012-05-23 18:56:51 +02:00
2015-06-25 15:21:19 +02:00

PySAML2 - SAML2 in Python

Author

Roland Hedberg

Version

3.0.0

PySAML2 is a pure python implementation of SAML2. It contains all necessary pieces for building a SAML2 service provider or an identity provider. The distribution contains examples of both. Originally written to work in a WSGI environment there are extensions that allow you to use it with other frameworks.

Description
RETIRED, further work has moved to Debian project infrastructure
Readme 7.4 MiB
Languages
Python 99.7%
Mako 0.1%