diff options
author | Daniel Wagner-Hall <daniel@matrix.org> | 2015-08-18 14:22:02 +0100 |
---|---|---|
committer | Daniel Wagner-Hall <daniel@matrix.org> | 2015-08-18 14:22:02 +0100 |
commit | 2d3462714e48dca46dd54b17ca29188a17261e28 (patch) | |
tree | 8de2fa7cb4529fc1eb4ae6360bbdb2368632f5ad /synapse/python_dependencies.py | |
parent | Merge password checking implementations (diff) | |
download | synapse-2d3462714e48dca46dd54b17ca29188a17261e28.tar.xz |
Issue macaroons as opaque auth tokens
This just replaces random bytes with macaroons. The macaroons are not inspected by the client or server. In particular, they claim to have an expiry time, but nothing verifies that they have not expired. Follow-up commits will actually enforce the expiration, and allow for token refresh. See https://bit.ly/matrix-auth for more information
Diffstat (limited to 'synapse/python_dependencies.py')
-rw-r--r-- | synapse/python_dependencies.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py index 115bee8c41..b6e00c27b5 100644 --- a/synapse/python_dependencies.py +++ b/synapse/python_dependencies.py @@ -33,6 +33,7 @@ REQUIREMENTS = { "ujson": ["ujson"], "blist": ["blist"], "pysaml2": ["saml2"], + "pymacaroons": ["pymacaroons"], } CONDITIONAL_REQUIREMENTS = { "web_client": { |