Update user-agent of InetBgDL for the stub installer
Categories
(Firefox :: Installer, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox127 | --- | fixed |
People
(Reporter: jcristau, Assigned: bhearsum)
References
Details
Attachments
(2 files, 1 obsolete file)
As part of bug 1889299, we need to be able to distinguish stub installers that expect a full installer signed with a cert issued by the old DigiCert intermediate vs stub installers that expect a full installer signed with a cert issued by the new DigiCert intermediate.
One way to do that is to update the User-Agent at the same time as we're switching signing certificates.
Assignee | ||
Comment 1•6 months ago
|
||
This bump to the user agent allows us to distinguish between stub installers with and without this change, which enables us to keep both of them working after we switch to a new authenticode certificate in https://bugzilla.mozilla.org/show_bug.cgi?id=1889299
We do not have automatic builds for these; my plan is to use the child revisions of this (related to https://bugzilla.mozilla.org/show_bug.cgi?id=1771192) to build it on Try. From there, we'll sign it by hand (as we've done for plugins in the past), and check it into the tree in a separate revision that must be landed at the same time as the new authenticode certificate.
Updated•6 months ago
|
Comment 3•6 months ago
|
||
bugherder |
Assignee | ||
Comment 4•6 months ago
|
||
This is not quite fixed yet - we've landed new code, but haven't updated the plugins that actually ship with Firefox.
Updated•6 months ago
|
Comment 5•6 months ago
|
||
Assignee | ||
Comment 6•6 months ago
|
||
I've built a new version of the InetBgDL plugin in https://treeherder.mozilla.org/jobs?repo=try&revision=1319a798b6a6f4ad0a2ae4a8a6004bc7fecf2b4b, which is the latest mozilla-central (which includes the change to that plugin's source), with the patches from https://bugzilla.mozilla.org/show_bug.cgi?id=1771192 applied to it.
From there, I've downloaded the setup-stub.exe
that the job produced, and pulled InetBgDL.dll out of it. https://github.com/mozilla-releng/adhoc-signing/pull/207 has been opened to get that signed.
Once that's done I'll prep a patch to update it in tree (whose landing needs to be coordinated with watershed creation, switching to the new authenticode cert, etc.
Assignee | ||
Comment 7•6 months ago
|
||
This was built in a shippable win32 build on Try in https://treeherder.mozilla.org/jobs?repo=try&revision=1319a798b6a6f4ad0a2ae4a8a6004bc7fecf2b4b, which was based on central, with https://phabricator.services.mozilla.com/D209700 and the patches from https://bugzilla.mozilla.org/show_bug.cgi?id=1771192 applied to it.
From there, I downloaded setup-stub.exe
, extracted it with 7zip, and sent it through adhoc signing to be signed: https://github.com/mozilla-releng/adhoc-signing/pull/207.
The output from that from that (https://firefox-ci-tc.services.mozilla.com/tasks/QJkRwbZuS4uRht111JpSMw) is what is included in this revision.
Reporter | ||
Updated•6 months ago
|
Updated•6 months ago
|
Comment 9•6 months ago
|
||
bugherder |
Comment 10•6 months ago
|
||
Comment 11•6 months ago
|
||
Backed out from central for causing bug 1896944: https://hg.mozilla.org/mozilla-central/rev/b7871b7f2c05e4076ad55ae4aa929b9862d4c8af
Updated•6 months ago
|
Updated•6 months ago
|
Assignee | ||
Comment 12•5 months ago
|
||
Updated version of the plugin is in bug 1896868.
Updated•5 months ago
|
Comment 13•5 months ago
|
||
Updated the status to show that the first patch landed in this bug and the second one landed in bug 1896868.
Comment 14•5 months ago
|
||
The patch from this bug was backed out, so it didn't land on m-c. I think the previous status was a bit more clear since no patch attached to this bug fixed it.
Comment 15•5 months ago
|
||
(In reply to William Durand [:willdurand] from comment #14)
The patch from this bug was backed out, so it didn't land on m-c. I think the previous status was a bit more clear since no patch attached to this bug fixed it.
Only the second patch was backed out. https://phabricator.services.mozilla.com/D209700 landed in this bug on 127 branch, which updated the user agent.
Reporter | ||
Comment 16•5 months ago
|
||
D209700 was a no-op on its own, though, since firefox builds use the pre-built/signed dll.
Description
•