{"action":"opened","issue":{"url":"https://api.github.com/repos/freedomofpress/securedrop/issues/3600","repository_url":"https://api.github.com/repos/freedomofpress/securedrop","labels_url":"https://api.github.com/repos/freedomofpress/securedrop/issues/3600/labels{/name}","comments_url":"https://api.github.com/repos/freedomofpress/securedrop/issues/3600/comments","events_url":"https://api.github.com/repos/freedomofpress/securedrop/issues/3600/events","html_url":"https://github.com/freedomofpress/securedrop/issues/3600","id":337007386,"node_id":"MDU6SXNzdWUzMzcwMDczODY=","number":3600,"title":"Alter LOGIN_HARDENING so tests more closely match production","user":{"login":"heartsucker","id":3998464,"node_id":"MDQ6VXNlcjM5OTg0NjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/3998464?v=4","gravatar_id":"","url":"https://api.github.com/users/heartsucker","html_url":"https://github.com/heartsucker","followers_url":"https://api.github.com/users/heartsucker/followers","following_url":"https://api.github.com/users/heartsucker/following{/other_user}","gists_url":"https://api.github.com/users/heartsucker/gists{/gist_id}","starred_url":"https://api.github.com/users/heartsucker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heartsucker/subscriptions","organizations_url":"https://api.github.com/users/heartsucker/orgs","repos_url":"https://api.github.com/users/heartsucker/repos","events_url":"https://api.github.com/users/heartsucker/events{/privacy}","received_events_url":"https://api.github.com/users/heartsucker/received_events","type":"User","site_admin":false},"labels":[{"id":649993586,"node_id":"MDU6TGFiZWw2NDk5OTM1ODY=","url":"https://api.github.com/repos/freedomofpress/securedrop/labels/goals:%20app%20code%20cleanup","name":"goals: app code cleanup","color":"0e8a16","default":false},{"id":475997849,"node_id":"MDU6TGFiZWw0NzU5OTc4NDk=","url":"https://api.github.com/repos/freedomofpress/securedrop/labels/tests","name":"tests","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-29T13:52:21Z","updated_at":"2018-06-29T13:52:21Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"## Description\r\n\r\nReporting this here while documenting TODOs (#724).\r\n\r\nFrom `securedrop/models.py`:\r\n\r\n```python\r\nLOGIN_HARDENING = True\r\n# Unfortunately, the login hardening measures mess with the tests in\r\n# non-deterministic ways.  TODO rewrite the tests so we can more\r\n# precisely control which code paths are exercised.\r\nif os.environ.get('SECUREDROP_ENV') == 'test':\r\n    LOGIN_HARDENING = False\r\n```"}}
{"actor":{"display_login":"heartsucker"}}