Package: python-openid2
python-openid2Python OpenID library - OpenID support for servers and consumers.This is a set of Python packages to support use of the OpenID decentralized identity system in your application.
Want to enable single sign-on for your web site?
Use theopenid.consumer package.
Want to run your own OpenID server?
Check outopenid.server.
Includes example code and support for a variety of storage back-ends.REQUIREMENTSPython 2.7, >=3.5lxmlsixcryptographyINSTALLATIONTo install the base library, just run the following command:pip install python-openid2GETTING STARTEDThe examples directory includes an example server and consumer
implementation.  See the README file in that directory for more
information on running the examples.Library documentation is available in html form in the doc directory.LOGGINGThis library offers a logging hook that will record unexpected
conditions that occur in library code. If a condition is recoverable,
the library will recover and issue a log message. If it is not
recoverable, the library will raise an exception. See the
documentation for the openid.oidutil module for more on the logging
hook.DOCUMENTATIONThe documentation in this library is in Epydoc format, which is
detailed at:http://epydoc.sourceforge.net/CONTACTSend bug reports, suggestions, comments, and questions tohttps://github.com/ziima/python-openid/issues/newIf you have a bugfix or feature you'd like to contribute, don't
hesitate to send it to us on GitHub.Changelog3.2Add support for python 3.8.Drop support for python 3.4.Fix false positive redirect error in consumer verification.Do not percent escape sub delimiters in path in URI normalization. Thanks Colin Watson for report.Fix tests and static code checks. Thanks Colin Watson.3.1Convert data values for extensions to text.Fixes in Python 2/3 support.Fix examples.Add support for python 3.7Fix static code checksUse bumpversion3.0Support Python3.Change most of the API to the text strings. UTF-8 encoded byte string should be compatible.Authentication methods based on SHA-256 are now preferred over SHA-1.Usecryptographylibrary for cryptography tasks.Add new base64-based API forDiffieHellmanclass.Refactor script to negotiate association with an OpenID server.Decrease log levels on repetitive logs.Default fetcher is picked from more options.Removeopenid.consumer.html_parsemodule.RemovehmacSha*,randomString,randrangeandsha*functions fromopenid.cryptutil.A lot of refactoring and clean up.DeprecationBinary strings are deprecated, unless explicitely allowed.hash_funcis deprecated in favor ofalgorithminDiffieHellmanSHA*ServerSessionandDiffieHellmanSHA*ConsumerSession.DiffieHellmanSHA*ServerSession.consumer_pubkeyis deprecated in favor ofconsumer_public_key.FunctionslongToBinaryandbinaryToLongdeprecated in favor ofint_to_bytesandbytes_to_int, respectively.OldDiffieHellmanAPI is deprecated.2.3.0Prevent timing attacks on signature comparison. Thanks to Carl Howells.Prevent XXE attacks.Fix unicode errors. Thanks to Kai Lautaportti.Drop support for python versions < 2.7.Use logging module. Thanks to Attila-Mihaly Balazs.Allow signatory, encoder and decoder to be set for Server. Thanks to julio.Fix URL limit to server responses. Thanks to Rodrigo Primo.Fix several protocol errors.Add utility method to AX store extension.Fix curl detection. Thanks to Sergey Shepelev.Use setuptools. Thanks to Tres Seaver.RefactorMessageclass creation.AddRequestsFetcher. Thanks to Lennonka.Updated examples.Add tox for testing. Thanks to Marc Abramowitz.Refactor tests.Clean code and add static checks.DeprecationMessage.setOpenIDNamespace()method.UndefinedOpenIDNamespaceexception.OpenIDRequest.namespaceattribute.openid.extensions.draftpackages, namely itspape2andpape5modules.