Closed Bug 1855221 Opened 2 years ago Closed 2 years ago

Invalid signatures on STAGE

Categories

(Firefox :: Remote Settings Client, defect)

defect

Tracking

()

VERIFIED FIXED
120 Branch
Tracking Status
firefox118 --- verified
firefox119 --- verified
firefox120 --- verified

People

(Reporter: leplatrem, Assigned: leplatrem)

Details

Attachments

(1 file)

console.error: services.settings:
  main/search-config Signature failed  InvalidSignatureError: Invalid content signature (main/search-config) using 'remote-settings.content-signature.mozilla.org-2023-10-21-15-55-18.chain'
console.error: services.settings:
  main/search-config local data was corrupted
console.warn: services.settings: main/search-config Signature verified failed. Retry from scratch
console.error: services.settings:
  main/search-config Signature failed again InvalidSignatureError: Invalid content signature (main/search-config) using 'remote-settings.content-signature.mozilla.org-2023-10-21-15-55-18.chain'
console.error: services.settings:
  Message: InvalidSignatureError: Invalid content signature (main/search-config) using 'remote-settings.content-signature.mozilla.org-2023-10-21-15-55-18.chain'
  Stack:
    InvalidSignatureError@resource://services-settings/RemoteSettingsClient.sys.mjs:165:5
_validateCollectionSignature@resource://services-settings/RemoteSettingsClient.sys.mjs:1017:13

This condition is not true anymore, since we switch from https://settings-cdn.stage.mozaws.net/v1/ to https://firefox.settings.services.allizom.org/ :

https://searchfox.org/mozilla-central/rev/95ec620fda8ad6e4096cac1f1a9db8653669b31d/services/settings/Utils.sys.mjs#114-116

Assignee: nobody → mathieu
Status: NEW → ASSIGNED
Pushed by mleplatre@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/54df1a3c7e01 Fix stage server detection for trusted root hash r=jteow
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch

Comment on attachment 9355090 [details]
Bug 1855221 - Fix stage server detection for trusted root hash r?jteow

Beta/Release Uplift Approval Request

  • User impact if declined: If declined, QA cannot switch the Remote Settings client to the STAGE server, making it impossible to review changes on STAGE (including nimbus experiments, etc.)
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: - install Remote Settings Devtools
  • run Firefox with MOZ_REMOTE_SETTINGS_DEVTOOLS=1
  • switch server to STAGE using devtools
  • sync data successfully
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Risk is low since it can only be executed by QA
  • String changes made/needed:
  • Is Android affected?: Yes
Attachment #9355090 - Flags: approval-mozilla-release?
Attachment #9355090 - Flags: approval-mozilla-beta?
Flags: qe-verify+

Comment on attachment 9355090 [details]
Bug 1855221 - Fix stage server detection for trusted root hash r?jteow

Approved for 119.0b3

Attachment #9355090 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triaged]

Reproduced the invalid signature error using old Nightly (2023-09-25) build with remote settings 1.8.1.
Verified that using latest Remote Settings version 1.8.1, latest Nightly 120.0a1 from today and Firefox Beta build 119 from treeherder (https://treeherder.mozilla.org/jobs?repo=mozilla-beta&revision=1a41a118193dc3ad19c04b3da34ba9f08b5f4b2e) across platforms (Windows 10, macOS 13 and Ubuntu 22.04) the invalid signature error is no longer thrown.

Status: RESOLVED → VERIFIED
Flags: qe-verify+

Comment on attachment 9355090 [details]
Bug 1855221 - Fix stage server detection for trusted root hash r?jteow

Approved for our next 118 dot release, thanks.

Attachment #9355090 - Flags: approval-mozilla-release? → approval-mozilla-release+
Flags: qe-verify+

(In reply to Bogdan Maris, Desktop QA from comment #7)

Reproduced the invalid signature error using old Nightly (2023-09-25) build with remote settings 1.8.1.
Verified that using latest Remote Settings version 1.8.1, latest Nightly 120.0a1 from today and Firefox Beta build 119 from treeherder (https://treeherder.mozilla.org/jobs?repo=mozilla-beta&revision=1a41a118193dc3ad19c04b3da34ba9f08b5f4b2e) across platforms (Windows 10, macOS 13 and Ubuntu 22.04) the invalid signature error is no longer thrown.

Also verified as fixed using Firefox 118.0.2 across platforms (Windows 10, macOS 13 and Ubuntu 22.04).

Flags: qe-verify+

Thank you everyone! I'm sorry for the overhead work

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: