]> git.gir.st - LegacyFox.git/commit
Revert "automatically disable signature requirement"
authorgirst <girst@users.noreply.github.com>
Sun, 6 Mar 2022 01:28:53 +0000 (02:28 +0100)
committergirst <girst@users.noreply.github.com>
Sun, 6 Mar 2022 01:31:05 +0000 (02:31 +0100)
commite6c78f51e895cb0d08f427721d01d1909b4c92a8
tree3b44a649e68c558ff70e97059af718de2315ab39
parente44f83e1a4a8c438e6f4973be655ac2e5aaaa2d8
Revert "automatically disable signature requirement"

downgrading the warning color stopped working some time ago. for
completeness, as of nightly99 xpinstall.signatures.required is only
checked in these places, none of which affect us:
- nsContentSecurityUtils.cpp::DetectJsHacks()
  only for telemetry and relaxing some security measures we don't need
- BrowserGlue.jsm::_onWindowsRestored()
  gates call to _notifyUnsignedAddonsDisabled(), which isn't triggered
  by our stuff (signedState != SIGNEDSTATE_MISSING)
- AddonSettings.jsm::REQUIRE_SIGNING
  overridden by our config.js script, so doesn't matter
- XPIProvider.jsm::observe()
  calls XPIDatabase.updateAddonAppDisabledStates(), which calls
  this.updateAddonDisabledState(addon), which depends on
  this.isUsableAddon(aAddon), which returns true as long as we override
  this.isDisabledLegacy(aAddon)

This reverts commit 29dc0ab3a8f8bd6e781fb983cd076764480dce18.
config.js
Imprint / Impressum