Closed
Bug 928489
Opened 12 years ago
Closed 12 years ago
Disable update xml certificate checks on Windows
Categories
(Firefox :: Settings UI, defect)
Tracking
()
RESOLVED
FIXED
Firefox 27
People
(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)
References
Details
Attachments
(2 files, 1 obsolete file)
|
6.00 KB,
patch
|
bbondy
:
review+
|
Details | Diff | Splinter Review |
|
7.02 KB,
patch
|
bbondy
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #920750 +++
We already have signed mar checks on Windows and we should disable via preference the certificate attribute checks and the certificate built-in check.
| Assignee | ||
Comment 1•12 years ago
|
||
Assignee: nobody → robert.bugzilla
Status: NEW → ASSIGNED
Attachment #819164 -
Flags: review?(netzen)
| Assignee | ||
Comment 2•12 years ago
|
||
Pushed to try to make sure it doesn't break cert check tests
https://tbpl.mozilla.org/?tree=Try&rev=206665f8f38e
| Assignee | ||
Comment 3•12 years ago
|
||
per irc convo
Attachment #819164 -
Attachment is obsolete: true
Attachment #819164 -
Flags: review?(netzen)
Attachment #819175 -
Flags: review?(netzen)
Comment 4•12 years ago
|
||
Comment on attachment 819175 [details] [diff] [review]
patch - disable app update xml cert checks on Windows rev2
Review of attachment 819175 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good assuming it passes try, please re-push given the change to default preferences.
Attachment #819175 -
Flags: review?(netzen) → review+
Comment 5•12 years ago
|
||
Also the r+ is assuming that security has agreed to this, which I believe is the case :)
| Assignee | ||
Comment 6•12 years ago
|
||
Note: dveditz agreed to remove the checks when we have mar signing and we do on Windows.
Updated•12 years ago
|
Summary: Disabled certificate checks on Windows for the update xml check → Disable certificate checks on Windows for the update xml check
| Assignee | ||
Comment 7•12 years ago
|
||
Pushed to try now that it has reopened
https://tbpl.mozilla.org/?tree=Try&rev=08adbd319ead
Updated•12 years ago
|
Summary: Disable certificate checks on Windows for the update xml check → Disable update xml certificate checks on Windows
| Assignee | ||
Comment 8•12 years ago
|
||
Some of the preferences weren't set in the tests.
Pushed both patches to try
https://tbpl.mozilla.org/?tree=Try&rev=11c8c3410ff5
Attachment #819274 -
Flags: review?(netzen)
Comment 9•12 years ago
|
||
Comment on attachment 819274 [details] [diff] [review]
patch for tests rev1
Review of attachment 819274 [details] [diff] [review]:
-----------------------------------------------------------------
::: toolkit/mozapps/update/test/chrome/test_0121_check_requireBuiltinCert.xul
@@ +81,5 @@
> aCertAttrName, cert[aCertAttrName]);
> });
>
> + Services.prefs.setBoolPref(PREF_APP_UPDATE_CERT_REQUIREBUILTIN, true);
> + Services.prefs.setBoolPref(PREF_APP_UPDATE_CERT_CHECKATTRS, false);
maybe there's value in having two tests:
1) PREF_APP_UPDATE_CERT_REQUIREBUILTIN true
PREF_APP_UPDATE_CERT_CHECKATTRS true
and
2) PREF_APP_UPDATE_CERT_REQUIREBUILTIN true
PREF_APP_UPDATE_CERT_CHECKATTRS false
(in a follow up bug)?
Attachment #819274 -
Flags: review?(netzen) → review+
| Assignee | ||
Comment 10•12 years ago
|
||
(In reply to Brian R. Bondy [:bbondy] from comment #9)
>...
> maybe there's value in having two tests:
> 1) PREF_APP_UPDATE_CERT_REQUIREBUILTIN true
> PREF_APP_UPDATE_CERT_CHECKATTRS true
>
> and
>
> 2) PREF_APP_UPDATE_CERT_REQUIREBUILTIN true
> PREF_APP_UPDATE_CERT_CHECKATTRS false
>
> (in a follow up bug)?
I don't think it will provide any value since there is already a test that checks both.
| Assignee | ||
Comment 11•12 years ago
|
||
Try is green... I'll check this in over the weekend
| Assignee | ||
Comment 12•12 years ago
|
||
Pushed to fx-team
https://hg.mozilla.org/integration/fx-team/rev/92c512181d1c
Flags: in-testsuite+
Target Milestone: --- → Firefox 27
Comment 13•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 14•11 years ago
|
||
Robert, does that mean we can remove the Mozmill test, which has initially been created via bug 584002?
Flags: needinfo?(robert.strong.bugs)
Comment 15•11 years ago
|
||
Just to add, I know that we have to wait for bug 920750 to be fixed.
| Assignee | ||
Comment 16•11 years ago
|
||
That is actually due to xmlhttprequest using a fake redirect for the first request and not app update so you should probably have a test for other consumers of that code. See bug 471889 comment #5 and bug 471889 comment #6.
Flags: needinfo?(robert.strong.bugs)
You need to log in
before you can comment on or make changes to this bug.
Description
•