Closed Bug 1896715 Opened 1 month ago Closed 10 days ago

Stub out the ArchiveEncryption module for backups.

Categories

(Firefox :: Profile Backup, task, P3)

task

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: mconley, Assigned: mconley)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-device-migration])

Attachments

(1 file)

This module won't do much initially, except make it possible to initialize a backup encryption configuration state.

This class will be used to generate the keys and ephemera necessary to
encrypt backups. The actual encryption will occur in a later patch.

The state can be serialized and deserialized to disk.

Blocks: 1897278
Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5a69f64cfafc
Create an ArchiveEncryptionState class for encrypting backups. r=djackson,backup-reviewers,kpatenio

Backed out for causing mochitest failures on browser_all_files_referenced.js. and doc generate failures on ArchiveEncryptionState.sys.mjs.

[task 2024-06-03T16:33:36.060Z] 16:33:36     INFO - TEST-START | browser/base/content/test/static/browser_all_files_referenced.js
[task 2024-06-03T16:33:48.639Z] 16:33:48     INFO - TEST-INFO | started process screentopng
[task 2024-06-03T16:33:48.843Z] 16:33:48     INFO - TEST-INFO | screentopng: exit 0
[task 2024-06-03T16:33:48.845Z] 16:33:48     INFO - Buffered messages logged at 16:33:36
[task 2024-06-03T16:33:48.846Z] 16:33:48     INFO - Entering test bound checkAllTheFiles
[task 2024-06-03T16:33:48.847Z] 16:33:48     INFO - Buffered messages logged at 16:33:48
[task 2024-06-03T16:33:48.847Z] 16:33:48     INFO - indirectly allowlisted file: chrome://remote/content/marionette/test_dialog.dtd used from chrome://remote/content/marionette/test_dialog.xhtml
[task 2024-06-03T16:33:48.848Z] 16:33:48     INFO - indirectly allowlisted file: chrome://global-platform/locale/intl.properties used from resource://gre/greprefs.js
[task 2024-06-03T16:33:48.850Z] 16:33:48     INFO - indirectly allowlisted file: chrome://global/locale/intl.properties used from resource://gre/greprefs.js
[task 2024-06-03T16:33:48.851Z] 16:33:48     INFO - indirectly allowlisted file: resource://services-sync/bridged_engine.sys.mjs used from resource://services-sync/engines/extension-storage.sys.mjs,resource://services-sync/engines/tabs.sys.mjs
[task 2024-06-03T16:33:48.851Z] 16:33:48     INFO - indirectly allowlisted file: resource://services-sync/addonsreconciler.sys.mjs used from resource://services-sync/engines/addons.sys.mjs
[task 2024-06-03T16:33:48.852Z] 16:33:48     INFO - indirectly allowlisted file: resource://services-sync/addonutils.sys.mjs used from resource://services-sync/engines/addons.sys.mjs
[task 2024-06-03T16:33:48.854Z] 16:33:48     INFO - indirectly allowlisted file: resource://services-sync/collection_validator.sys.mjs used from resource://services-sync/engines/passwords.sys.mjs,resource://services-sync/engines/addons.sys.mjs,resource://services-sync/engines/forms.sys.mjs
[task 2024-06-03T16:33:48.854Z] 16:33:48     INFO - indirectly allowlisted file: resource://gre/modules/RustTabs.sys.mjs used from resource://services-sync/engines/tabs.sys.mjs
[task 2024-06-03T16:33:48.855Z] 16:33:48     INFO - indirectly allowlisted file: resource://gre/modules/SyncedBookmarksMirror.sys.mjs used from resource://services-sync/engines/bookmarks.sys.mjs
[task 2024-06-03T16:33:48.856Z] 16:33:48     INFO - indirectly allowlisted file: resource://gre/modules/RustSync15.sys.mjs used from resource://gre/modules/RustTabs.sys.mjs
[task 2024-06-03T16:33:48.859Z] 16:33:48     INFO - indirectly allowlisted file: chrome://pippki/content/resetpassword.js used from chrome://pippki/content/resetpassword.xhtml
[task 2024-06-03T16:33:48.860Z] 16:33:48     INFO - indirectly allowlisted file: chrome://pippki/content/load_device.js used from chrome://pippki/content/load_device.xhtml
[task 2024-06-03T16:33:48.861Z] 16:33:48     INFO - indirectly allowlisted file: chrome://remote/content/marionette/test2.xhtml used from chrome://remote/content/marionette/test_no_xul.xhtml,chrome://remote/content/marionette/test.xhtml,chrome://remote/content/marionette/test_nested_iframe.xhtml
[task 2024-06-03T16:33:48.861Z] 16:33:48     INFO - indirectly allowlisted file: chrome://remote/content/marionette/test_nested_iframe.xhtml used from chrome://remote/content/marionette/test_no_xul.xhtml,chrome://remote/content/marionette/test.xhtml
[task 2024-06-03T16:33:48.862Z] 16:33:48     INFO - indirectly allowlisted file: chrome://fxr/content/common.css used from chrome://fxr/content/prefs.html,chrome://fxr/content/fxrui.html
[task 2024-06-03T16:33:48.862Z] 16:33:48     INFO - indirectly allowlisted file: chrome://fxr/content/fxrui_blue.css used from chrome://fxr/content/prefs.html,chrome://fxr/content/fxrui.html
[task 2024-06-03T16:33:48.862Z] 16:33:48     INFO - indirectly allowlisted file: chrome://browser/content/places/interactionsViewer.css used from chrome://browser/content/places/interactionsViewer.html
[task 2024-06-03T16:33:48.862Z] 16:33:48     INFO - indirectly allowlisted file: chrome://fxr/content/fxrui.css used from chrome://fxr/content/fxrui.html
[task 2024-06-03T16:33:48.862Z] 16:33:48     INFO - indirectly allowlisted file: chrome://fxr/content/assets/icon-stop-reload.svg used from chrome://fxr/content/fxrui.css
[task 2024-06-03T16:33:48.862Z] 16:33:48     INFO - indirectly allowlisted file: chrome://fxr/content/assets/icon-home.svg used from chrome://fxr/content/fxrui.css
[task 2024-06-03T16:33:48.863Z] 16:33:48     INFO - indirectly allowlisted file: chrome://fxr/content/assets/icon-secure.svg used from chrome://fxr/content/fxrui.html
[task 2024-06-03T16:33:48.863Z] 16:33:48     INFO - indirectly allowlisted file: chrome://fxr/content/assets/icon-backward.svg used from chrome://fxr/content/prefs.css,chrome://fxr/content/fxrui.css
[task 2024-06-03T16:33:48.863Z] 16:33:48     INFO - indirectly allowlisted file: chrome://fxr/content/assets/icon-forward.svg used from chrome://fxr/content/fxrui.css
[task 2024-06-03T16:33:48.863Z] 16:33:48     INFO - indirectly allowlisted file: chrome://fxr/content/assets/icon-settings.svg used from chrome://fxr/content/fxrui.css
[task 2024-06-03T16:33:48.863Z] 16:33:48     INFO - indirectly allowlisted file: chrome://fxr/content/assets/icon-refresh.svg used from chrome://fxr/content/fxrui.css
[task 2024-06-03T16:33:48.863Z] 16:33:48     INFO - indirectly allowlisted file: chrome://browser/content/places/interactionsViewer.js used from chrome://browser/content/places/interactionsViewer.html
[task 2024-06-03T16:33:48.864Z] 16:33:48     INFO - indirectly allowlisted file: chrome://fxr/content/common.js used from chrome://fxr/content/prefs.html,chrome://fxr/content/fxrui.html
[task 2024-06-03T16:33:48.864Z] 16:33:48     INFO - indirectly allowlisted file: chrome://fxr/content/permissions.js used from chrome://fxr/content/fxrui.html
[task 2024-06-03T16:33:48.865Z] 16:33:48     INFO - indirectly allowlisted file: chrome://browser/content/backup/debug.js used from chrome://browser/content/backup/debug.html
[task 2024-06-03T16:33:48.866Z] 16:33:48     INFO - indirectly allowlisted file: chrome://fxr/content/fxrui.js used from chrome://fxr/content/fxrui.html
[task 2024-06-03T16:33:48.867Z] 16:33:48     INFO - indirectly allowlisted file: chrome://fxr/content/fxr-fullScreen.js used from chrome://fxr/content/fxrui.js
[task 2024-06-03T16:33:48.868Z] 16:33:48     INFO - indirectly allowlisted file: chrome://fxr/content/prefs.html used from chrome://fxr/content/fxrui.js
[task 2024-06-03T16:33:48.874Z] 16:33:48     INFO - indirectly allowlisted file: chrome://fxr/content/prefs.css used from chrome://fxr/content/prefs.html
[task 2024-06-03T16:33:48.875Z] 16:33:48     INFO - indirectly allowlisted file: chrome://fxr/content/assets/icon-toggle-off.png used from chrome://fxr/content/prefs.css
[task 2024-06-03T16:33:48.876Z] 16:33:48     INFO - indirectly allowlisted file: chrome://fxr/content/assets/icon-toggle-on.png used from chrome://fxr/content/prefs.css
[task 2024-06-03T16:33:48.876Z] 16:33:48     INFO - indirectly allowlisted file: chrome://fxr/content/assets/icon-logo-settings-preview.png used from chrome://fxr/content/prefs.html
[task 2024-06-03T16:33:48.877Z] 16:33:48     INFO - indirectly allowlisted file: chrome://fxr/content/assets/icon-reportissue.svg used from chrome://fxr/content/prefs.html
[task 2024-06-03T16:33:48.878Z] 16:33:48     INFO - indirectly allowlisted file: chrome://fxr/content/prefs.js used from chrome://fxr/content/prefs.html
[task 2024-06-03T16:33:48.879Z] 16:33:48     INFO - Buffered messages finished
[task 2024-06-03T16:33:48.880Z] 16:33:48     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/static/browser_all_files_referenced.js | there should be no unreferenced files - Got 2, expected +0
[task 2024-06-03T16:33:48.881Z] 16:33:48     INFO - Stack trace:
[task 2024-06-03T16:33:48.881Z] 16:33:48     INFO - chrome://mochikit/content/browser-test.js:test_is:1620
[task 2024-06-03T16:33:48.881Z] 16:33:48     INFO - chrome://mochitests/content/browser/browser/base/content/test/static/browser_all_files_referenced.js:checkAllTheFiles:1052
[task 2024-06-03T16:33:48.881Z] 16:33:48     INFO - chrome://mochikit/content/browser-test.js:handleTask:1139
[task 2024-06-03T16:33:48.882Z] 16:33:48     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1211
[task 2024-06-03T16:33:48.882Z] 16:33:48     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1353
<...>
[task 2024-06-03T16:33:49.182Z] 16:33:49     INFO - missing file: resource://app/localization/en-US/services/accounts.ftl referenced from resource://gre/modules/FxAccountsDevice.sys.mjs
[task 2024-06-03T16:33:49.187Z] 16:33:49     INFO - missing file: resource://gre/modules/WindowsLaunchOnLogin.sys.mjs referenced from resource://messaging-system/lib/SpecialMessageActions.sys.mjs,resource://app/modules/BrowserGlue.sys.mjs,resource://app/modules/asrouter/ASRouterTargeting.sys.mjs,chrome://browser/content/preferences/main.js
[task 2024-06-03T16:33:49.194Z] 16:33:49     INFO - missing file: resource://gre/modules/patternProperties referenced from resource://gre/modules/Schemas.sys.mjs
[task 2024-06-03T16:33:49.210Z] 16:33:49     INFO - missing file: resource://gre/modules/activate referenced from resource://gre/modules/PopupNotifications.sys.mjs
[task 2024-06-03T16:33:49.217Z] 16:33:49     INFO - missing file: resource://gre/modules/GeckoViewWebExtension.sys.mjs referenced from resource://gre/modules/ExtensionParent.sys.mjs
[task 2024-06-03T16:33:49.222Z] 16:33:49     INFO - missing file: chrome://global/content/neterror/supportpages/$%7BsupportPageSlug%7D.html referenced from resource://gre/actors/NetErrorParent.sys.mjs
[task 2024-06-03T16:33:49.226Z] 16:33:49     INFO - missing file: resource://app/localization/en-US/toolkit/formautofill/formAutofill.ftl referenced from resource://gre-resources/autofill/ProfileAutoCompleteResult.sys.mjs,resource://gre/modules/shared/FormAutofillUtils.sys.mjs,resource://gre-resources/autofill/FormAutofillPrompter.sys.mjs,chrome://formautofill/content/manageCreditCards.xhtml
[task 2024-06-03T16:33:49.230Z] 16:33:49     INFO - missing file: resource://app/localization/en-US/crashreporter/crashreporter.ftl referenced from resource://gre/modules/CrashSubmit.sys.mjs
[task 2024-06-03T16:33:49.238Z] 16:33:49     INFO - missing file: resource://gre/modules/*.svg referenced from resource://gre/modules/PageThumbUtils.sys.mjs
[task 2024-06-03T16:33:49.244Z] 16:33:49     INFO - TEST-PASS | browser/base/content/test/static/browser_all_files_referenced.js | Failed to check if chrome://remote/content/server/00:00:00 exists: NS_ERROR_DOM_BAD_URI: Component returned failure code: 0x805303f4 [nsIIOService.newChannelFromURI] - 
Flags: needinfo?(mconley)

Thanks, investigating.

Flags: needinfo?(mconley)
Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1d2a2eba4aa4
Create an ArchiveEncryptionState class for encrypting backups. r=djackson,backup-reviewers,kpatenio
Status: NEW → RESOLVED
Closed: 10 days ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
Regressions: 1900618
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: