Skip to content

Bee Memory Bank 2.12.0

Latest

Choose a tag to compare

@github-actions github-actions released this 18 Nov 10:56

"People leave". Taking a superadmin's rights away is now a process that closes every way back in: personal things go with the person, shared things stay, and a key rotation no longer costs anybody who stays anything. This release also carries the redesigned iPhone and Android apps, admin pages in plain words, and nodes and phones that encrypt themselves.

Update every node of a network together (servers, desktops, phones and blind copies) and read "Upgrading" below first. Once a node holds a door in the new format there is no way back to an older version except a snapshot taken before the update. A one-person bank notices nothing of the removal machinery.

Security

  • The API checks who a signed-in person is on every call, from its own user table. A demoted or deleted superadmin's open browser loses admin access at the very next request.
  • Demoting a superadmin or deleting a user is one transaction. Their door, recovery keys, remote API tokens and AI agents go with the change; no token or agent outlives the rights. A demotion must say what the person may see afterwards.
  • Every way into a vault is a sealed door (passwords, recovery keys, OS and server auto-unlock, quick unlock, agents). A key rotation re-seals the doors of everyone who stays instead of deleting them, and "Start unlocked after a restart" stays on. Doors made by earlier versions keep working and are converted the first time they are used.
  • Removing a superadmin closes every way back in (Admin > People being removed, or bmb user remove-superadmin). The person is locked out at once: sessions, password door, recovery keys, agents, tokens and invitations; their personal devices are revoked. Then the shared servers change their identity keys, everything the person created is reviewed, and the master key changes on every full node; only then is the account deleted or demoted. Each step names what it waits for.
  • Recovery keys are personal. A new key resets only its owner's password. Keys issued before 2.12 show "owner unknown": issue new ones and revoke the old ones in one step (Admin > Recovery keys).
  • A node can change its identity key in place (Admin > Node identity key, bmb node rekey). It keeps its id, data and devices; the old key stops working everywhere once the other devices have synced. A restore can no longer bring a retired key back.
  • Revoking a device drops everything it could still use: sync tokens, channel rows and queued relay messages, on every node.
  • More on the audit log: recovery keys issued or revoked, snapshots downloaded, nodes joined.

New

  • Shared server nodes follow one accounts node. Every superadmin signs in on every shared server with their own password; password changes and removals on the accounts node reach the others by themselves. A one-person bank is never offered this.
  • Device ownership: every trusted device is shared, personal or unknown. The Devices page asks for a review only when the bank has more than one superadmin.
  • Nodes report their state (version, platform, key fingerprints, warnings), and the readiness card names the devices that hold a feature back.
  • The iPhone and Android apps are rebuilt in the product's design, with the four-tab layout, an in-app QR scanner for joining, Face ID / Touch ID unlock on the iPhone, and Russian translations.
  • A plain node encrypts itself in the background after its next unlock, and phones are encrypted from the start; there is no button to press.
  • Admin pages speak in plain one-line texts, with the long explanations under "More details".
  • A device an administrator disconnected says so in one calm sentence instead of a sync error every minute.

Fixed

  • An encrypted node updated from 2.10 could not be unlocked (every sign-in answered 500).
  • The phones no longer close themselves when a lock lands while a page is reading; an encrypted iPhone no longer closes at every start.
  • Wiping an encrypted phone starts it again instead of leaving a dead end.
  • Events an older version stored without understanding them are applied after the update.

Upgrading

  1. Take a snapshot of every full node (Admin > Snapshots, bmb snapshot create) and keep it offline. There is no downgrade once a node holds a door in the new format; that snapshot is the only way back.
  2. Update every node: servers, desktops, phones and blind copies, then let each one sync once. Sync between versions keeps working during the upgrade. Five additive migrations take the schema to 51.
  3. Every superadmin signs in once on every node they use. That converts their door. Until then the node keeps a "bridge from the old key", shown on Admin > DEK Rotation, where it can also be removed.
  4. Recovery keys issued before 2.12 have no owner. Issue personal ones and revoke the old ones (Admin > Recovery keys, "revoke all keys with unknown owner").
  5. More than one superadmin? Review device ownership on the Devices page. For shared servers, designate one shared full node as the accounts node and change superadmin passwords there.
  6. Re-key a node's identity only after every device has updated and synced; the Node identity key page names the ones that have not.
  7. A database older than 2.6 updates to 2.6.1 first. A plain node needs free space about 3.5 times the size of its databases for its self-encryption; do not interrupt it.
  8. After a key rotation, re-enable OS or server auto-unlock and re-issue agent keys whose old-format doors were never used since the update.

The full guide is in docs/deployment.md ("Upgrading to 2.12.0"); every change is in CHANGELOG.md.

Files. The Windows installer, the macOS full app (Apple Silicon), the blind copy for Windows, macOS and Android, and SHA256SUMS.txt for the four files that are not built by the project's workflow. Docker images are on GitHub Container Registry.