Closed Bug 819361 Opened 13 years ago Closed 13 years ago

don't print csrf tokens in balrog client logs

Categories

(Release Engineering :: General, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bhearsum, Assigned: nthomas)

References

Details

(Whiteboard: [balrog])

Attachments

(2 files)

Given that they are time based, this is a security issue.
Priority: -- → P3
Assignee: nobody → nthomas
Status: NEW → ASSIGNED
Attachment #756326 - Flags: review?(bhearsum)
Comment on attachment 756326 [details] [diff] [review] [tools] Eyeball fix Review of attachment 756326 [details] [diff] [review]: ----------------------------------------------------------------- lgtm!
Attachment #756326 - Flags: review?(bhearsum) → review+
Boo, this broke :( Traceback (most recent call last): File "/builds/slave/m-aurora-lx-ntly-0000000000000/tools/scripts/updates/balrog-submitter.py", line 36, in <module> runner.run() File "/builds/slave/m-aurora-lx-ntly-0000000000000/tools/lib/python/balrog/submitter/cli.py", line 80, in run buildData=data, copyTo=copyTo) File "/builds/slave/m-aurora-lx-ntly-0000000000000/tools/lib/python/balrog/submitter/api.py", line 129, in update_build url_template_vars=url_template_vars) File "/builds/slave/m-aurora-lx-ntly-0000000000000/tools/lib/python/balrog/submitter/api.py", line 79, in request res = self.do_request(prerequest_url, None, 'HEAD', {}) File "/builds/slave/m-aurora-lx-ntly-0000000000000/tools/lib/python/balrog/submitter/api.py", line 102, in do_request sanitised_data = data.copy() AttributeError: 'NoneType' object has no attribute 'copy' This is happening during the HEAD request where we get the token (https://github.com/mozilla/build-tools/blob/master/lib/python/balrog/submitter/api.py#L79)
Attached patch [tools] FixSplinter Review
Attachment #758242 - Flags: review?(rail)
Attachment #758242 - Flags: review?(rail) → review+
Working now.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: