aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tools/crypto.py
Commit message (Collapse)AuthorAgeFilesLines
* Starting to deprecate the app_config, global_config by attaching stuff to appChristopher Allan Webber2014-12-031-3/+3
| | | | | | - app.global_config, app.app_config - making setup_crypto use app.app_config - setting app.workbench_manager
* Merge branch 'master' into merge-python3-portChristopher Allan Webber2014-09-161-3/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Has some issues, will iteratively fix! Conflicts: mediagoblin/gmg_commands/__init__.py mediagoblin/gmg_commands/deletemedia.py mediagoblin/gmg_commands/users.py mediagoblin/oauth/views.py mediagoblin/plugins/api/views.py mediagoblin/tests/test_api.py mediagoblin/tests/test_edit.py mediagoblin/tests/test_oauth1.py mediagoblin/tests/test_util.py mediagoblin/tools/mail.py mediagoblin/webfinger/views.py setup.py
| * Allow crypto.random_string to take optional alphabet paramJessica Tallon2014-07-081-3/+3
| |
* | Fix another tests.Berker Peksag2014-08-071-1/+1
| | | | | | | | (forgot to commit earlier)
* | Continue to port GMG codebase.Berker Peksag2014-05-081-2/+2
|/
* Working client registrationxray72242013-07-111-0/+15
|
* Fix left over from variable renaming.Elrond2013-04-091-1/+4
|
* Harden It's Dangerous key management.Brett Smith2013-03-241-20/+45
| | | | | | | | | | The previous code was theoretically subject to timing attacks, where an attacker could read the key in between the time it was saved to the file and when the chmod happened. This version prevents that by using umasks to ensure the files always have the right permissions. This version also avoids using a key that cannot be saved due to some system setup bug.
* Improve fs security for itsdangerous secret.Elrond2013-03-221-2/+6
| | | | Set mode 700 on the directory, mode 600 on the file.
* Docs for get_timed_signer_url.Elrond2013-03-221-0/+26
|
* Basic itsdangerous infrastructure.Elrond2013-03-221-0/+55
Implement the basic infrastructure for using itsdangerous in mediagoblin. Usage instructions will follow.