Closed Bug 1208227 Opened 11 years ago Closed 11 years ago

python client bewit broken...

Categories

(Taskcluster :: Services, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jonasfj, Assigned: jonasfj)

References

Details

Attachments

(1 external file)

@jhford, I'm not sure what is up with: https://github.com/taskcluster/taskcluster-client.py/blob/098a8a6d8131ec227eeba3d68b2bb5fe50389f39/taskcluster/client.py#L201-L202 This seems like a bad solution, assuming _ and - indeed causes problems. Looking at hawk: https://github.com/hueniverse/hawk/blob/master/lib/server.js#L356 https://github.com/hapijs/hoek/blob/master/lib/index.js#L800 It seems it should be url-safe base64. Maybe the binary string thing is causing issues I'm not sure. Either way, we really should fix this. The current code basically admits that it only works sometimes... That's particularly suitable for automation. Note: retries isn't a valid solution to this either.
Flags: needinfo?(jhford)
Attached file Github PR —
This should fix it... Please let me know if you see any issues with it...
Attachment #8666011 - Flags: review?(jhford)
Flags: needinfo?(jhford)
Attachment #8666011 - Flags: review?(jhford) → review+
@jhford, did you roll out this? If not could you, so this can be fixed for people who depend on it. (I'm not super friendly with pypi yet)
Flags: needinfo?(jhford)
Deployed as version 0.0.27
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(jhford)
Resolution: --- → FIXED
Assignee: nobody → jopsen
Component: Client Libraries → Services
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: