Skip to content

v2026.11.30 — syncstorage-rs 0.25.2, accounts v1.350.0

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Nov 19:44

Changes

Breaking

  • Self-hosted accounts with an SMTP user and password on port 587: they now need the server to offer STARTTLS, see Security below. A relay without TLS gets no email until you set ADMIN_SMTP_INSECURE_AUTH=1 or FXA_SMTP_REQUIRE_TLS=false.

Added

  • Access managed elsewhere, for integrators: with ADMIN_ACCESS_EXTERNAL=1 (Helm: admin.accessExternal) another system decides who may use the server. The admin UI shows the limits, the allowlists and the sign-ups read-only, refuses every change of them, and asks nobody to approve an account or raise a limit. The init container and fxa-policy leave the rows of the allowlists to that system and refuse a SYNC_ALLOWED_ACCOUNTS or FXA_SIGNUP_ALLOWLIST. Reset and deletion of Sync data stay. With self-hosted accounts, FXA_ACCESS_DB_PASSWORD (Helm: fxa.accessDbPassword) gives that system a database user, ffs_access, for the sign-up allowlist and to disable, enable or delete accounts by email. With the mode on, ffs_access can also call ffs.disable_accounts_not_allowed(p_max) at every reconcile: it disables, and signs out, every enabled account whose current primary email the sign-up policy refuses, such as one whose owner changed it after signing up. It counts first, and with more than p_max to disable it changes nothing and fails with SQLSTATE 45001, so a list emptied by mistake cannot disable everyone. See The sweep. The access tokens of an account disabled by email or by the sweep, which fxa-auth keeps in Redis where the database cannot reach them, are revoked by the admin UI within about 5 seconds: the procedures queue the account in ffs.pending_revocations, which ffs_access cannot read. Without the admin UI running they stay valid until they expire (FXA_ACCESS_TOKEN_LIFETIME), and in every case a Sync token already handed out works for up to an hour: see What is revoked when. The database enforces the mode too: at every start the init container and fxa-policy take back the admin UI's database grants on max users, the allowlists and the sign-up policy, and give them again once it is off, and a setup check compares the grants with the mode. With self-hosted accounts the admin UI's Enable then refuses an account whose current primary email the sign-up policy refuses ("not on the access list managed elsewhere"), the same rule as the sweep, and its Delete leaves the sign-up allowlist to that system; Disable stays. On MariaDB and MySQL the admin UI's reader now gets EXECUTE per procedure instead of on the whole tokenserver database, in both modes. On your own MariaDB or MySQL server that takes GRANT OPTION for the tokenserver's user, once: without it the init container keeps the database-wide grant, and with ADMIN_ACCESS_EXTERNAL on it does not start, see The database enforces it too. See Access managed elsewhere.
  • Helm: admin.passwordSignIn: false turns the admin UI's password sign-in off, with single sign-on or a trusted header: no ADMIN_PASSWORD is generated or passed, one already in the Secret is not used. See Ways to sign in.

Changed

  • Self-hosted accounts: when Redis does not answer, the admin UI's Disable, Sign out everywhere and Delete no longer leave the account's access tokens valid until they expire. The account stays queued in ffs.pending_revocations, and the admin UI revokes its access tokens once Redis answers, trying every 5 seconds. See What is revoked when.

Fixed

  • Admin UI, PostgreSQL: the Event log setup check no longer warns when the Sync tables belong to a superuser that only runs the migrations: it checks the role the Sync server connects as. See Setup checks.

Security

  • Self-hosted accounts with FXA_SIGNUPS=allowlist: the sign-up allowlist no longer lets in look-alikes of its entries. It was compared in the database server's default collation, which on MySQL (utf8mb4_0900_ai_ci) and recent MariaDB (utf8mb4_uca1400_ai_ci) ignores accents and character widths, and on older MariaDB (latin1_swedish_ci) most accents, so with alice@example.org or @example.org listed, alice@exämple.org or one with a full-width e could create an account, on a domain anyone can register. Now an email matches byte for byte after lower-casing, and one beyond ASCII only an entry that spells it out; one whose lower-casing changes a character's size (the Kelvin sign) is refused. The procedures by email and the deletion's removal of the allowlist row compare byte for byte too. Every install with the sign-up allowlist since v2026.11.08 is affected. The fix applies at the next start of fxa-policy, which converts the column of ffs.signup_allowlist once. Accounts created before stay: look for emails beyond ASCII in the admin UI. See Sign-ups.
  • Self-hosted accounts: the SMTP password and the emails go over STARTTLS only. Until now the accounts used STARTTLS only when the server offered it, so anyone between them and the SMTP server could remove it and read FXA_SMTP_PASS and the sign-in codes. FXA_SMTP_REQUIRE_TLS (Helm: smtp.requireTLS) decides. Empty, the default: required with FXA_SMTP_USER and FXA_SMTP_PASS over STARTTLS, unless ADMIN_SMTP_INSECURE_AUTH, as the admin UI already does. true requires it also without a password. It works with every accounts image, through the auth server's config file. See Email.

Upstream

Since v2026.11.23:

  • syncstorage-rs 0.25.2 (was 0.25.1): releases 0.25.2; changes 0.25.1...0.25.2; CHANGELOG.md (its changes since 0.25.1)
  • accounts (mozilla/fxa) v1.350.0, unchanged: release
  • pairing server (mozilla-services/channelserver) 1.6.0, unchanged: release
  • upstream patches applied to syncstorage-rs: mozilla-services/syncstorage-rs#2671@b0d78b8..a56eb27 mozilla-services/syncstorage-rs#2680@3606b83..077a0f6
  • upstream patches applied to accounts: mozilla/fxa#21494@3e2cb67..0eaa3a2 mozilla/fxa#21731@ccca044..f98a8e5

Images

ghcr.io/porelli/firefox-sync, multi-arch (amd64, arm64):

Tag Build Digest
syncstorage-rs-mysql-0.25.2 syncstorage-rs-mysql-0.25.2-20261130T190650 sha256:b03858fb705e74d19e042fbae51b6fcf233bcda7c11846cdf2ae597861781de5
syncstorage-rs-postgres-0.25.2 syncstorage-rs-postgres-0.25.2-20261130T190650 sha256:524579d11501b6053b89a391f416d737e5e9fa9a9ac5c310c1a6240ace502604
syncstorage-rs-mysql-init-0.25.2 syncstorage-rs-mysql-init-0.25.2-20261130T190650 sha256:3b8fd3f7a3a7c1f562ae97ad827ac4c816a5ba70dbc8522171a9277cd0beb456
syncstorage-rs-postgres-init-0.25.2 syncstorage-rs-postgres-init-0.25.2-20261130T190650 sha256:7050b4b31b75ce22521bbf9292f94f6008b93a71f1974aaddcb4878fdbd388b2
fxa-mono-v1.350.0 sha256:0ec0804fe9a021496faffd78d64ae90c014ee4fa1b0ed228451e84df30a77d73
fxa-channelserver-1.6.0 sha256:cfc3319d79ba46bdc7b32922170bbfa5ea5eec3cb6549519ac0996309f320f74
admin-latest sha256:34ad815d983a740e838eb277c6e59b5a09246b9a6dfd508d830e5b3b91c42918

Helm chart

oci://ghcr.io/porelli/firefox-sync/charts/firefox-sync version 0.2.0.