Bug 284672
| Summary: | [webkitbugspy] Support authenticating with Bugzilla via API keys | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sam Sneddon [:gsnedders] <gsnedders> |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | ap, bfan2, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Sam Sneddon [:gsnedders]
Currently we only support authenticating with Bugzilla via username/password:
https://github.com/WebKit/WebKit/blob/586aa00275b46a60eca5c692d81de42e51882171/Tools/Scripts/libraries/webkitbugspy/webkitbugspy/bugzilla.py#L179-L192
This is distinctly less than ideal. This doesn't work for people logged in via GitHub OAuth, and also obliges everyone to give us their password (and thus only have "change their password" as a way to safely revoke access).
It would be better to support API keys: https://bugzilla.readthedocs.io/en/5.0.4/api/core/v1/general.html#authentication (and https://bugzilla.readthedocs.io/en/5.0.4/using/preferences.html#api-keys for the user-side).
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/141465941>
Brianna Fan
Pull request: https://github.com/WebKit/WebKit/pull/39212