12306255ad
Switch to using pycryptodome instead of pycrypto
...
pycrypto is not being maintained, and pycryptodome is theoretically
a drop-in replacement (in practice, it seems it was close)
2019-11-01 14:52:35 +01:00
499a40baf7
Update for new module/namespace for urllib
2019-01-26 16:19:26 +01:00
07d83eae42
Update script shebangs to use python3
2019-01-26 16:19:26 +01:00
c6c0bf1948
Update print and input syntax for python 3
2019-01-26 16:19:26 +01:00
edad84b1d0
Fix base64 encodings
2019-01-26 16:19:26 +01:00
0883ac6423
Fix whitespace and indentation, per pep8
2019-01-17 20:47:43 +01:00
87237f6536
Tabs, meet your new overlords: spaces
...
In a quest to reach pep8, use spaces to indent rather than tabs.
2019-01-17 15:35:39 +01:00
756aa6ffbe
Clean up imports
...
Remove unused imports and some other completely unused code.
2014-01-01 15:42:30 +01:00
6db6283401
Include a timestamp in the authentication token
...
This way we can expire a token after e.g. 10 or 30 seconds, making
it impossible to do a replay attack later.
2011-12-22 19:25:32 +01:00
1f78460779
Implement community authentication 2.0
...
This system relies on http redirects and signing in to the main website
instead of using cross-internet pgsql connections and signing in individually
to each website.
2011-12-22 19:25:32 +01:00