Package: himmelblau Version: 5.0.0-ubuntu24.04~20261019 Architecture: arm64 Maintainer: David Mulder Installed-Size: 61831 Depends: libc6 (>= 2.39), libdbus-1-3 (>= 1.9.14), libsqlite3-0 (>= 3.7.15), libssl3t64 (>= 3.0.0), libtss2-esys-3.0.2-0t64 (>= 2.3.1), libtss2-mu-4.0.1-0t64 (>= 3.0.1), libtss2-tctildr0t64 (>= 3.0.1), libudev1 (>= 183) Recommends: nss-himmelblau, pam-himmelblau, krb5-user, cron, tpm2-tools, himmelblau-apparmor Suggests: himmelblau-orchestrator Filename: ./himmelblau_5.0.0-ubuntu24.04~20261019_arm64.deb Size: 15649360 MD5sum: 8c372e4d4fcfc2b8d117bbd98be188c3 SHA1: d3163c69c69898f0c66094a746b38d12e792eb9c SHA256: 0852454a93c87482890559b990c76a59b70caa267f5b05179719a63bccb65712 Priority: optional Homepage: https://github.com/himmelblau-idm/himmelblau Description: Himmelblau Authentication Daemon Package: himmelblau-apparmor Version: 5.0.0-ubuntu24.04~20261019 Architecture: arm64 Maintainer: David Mulder Installed-Size: 14 Depends: apparmor Filename: ./himmelblau-apparmor_5.0.0-ubuntu24.04~20261019_arm64.deb Size: 2452 MD5sum: 0b358555591ada7b099d6720a0331209 SHA1: 5fc0e6f7705dc6bffc876db5d96eb65946dbbaf6 SHA256: f09a4490a5d94897ed9b81ae7f4c138e2cce7bf678e391d51c87d7db708ebfe2 Priority: optional Homepage: https://github.com/himmelblau-idm/himmelblau Description: Himmelblau AppArmor config Package: himmelblau-broker Version: 5.0.0-ubuntu24.04~20261019 Architecture: arm64 Maintainer: David Mulder Installed-Size: 15260 Depends: libc6 (>= 2.39), libdbus-1-3 (>= 1.9.14), libsqlite3-0 (>= 3.7.15), libssl3t64 (>= 3.0.0), libudev1 (>= 183) Recommends: himmelblau-sso | linux-entra-sso Conflicts: microsoft-identity-broker Breaks: himmelblau-sso (<< 3.0.0~) Replaces: microsoft-identity-broker, himmelblau-sso (<< 3.0.0~) Provides: microsoft-identity-broker Filename: ./himmelblau-broker_5.0.0-ubuntu24.04~20261019_arm64.deb Size: 4117272 MD5sum: 3625f5f6b784c1b5be3605898cd021b4 SHA1: 2ccb6c0e2606ec6f7de418f9358433ffd9d617b8 SHA256: 7fc14832549aed259cae77793f159ba2d83b7b23ad3185f1fdd5d8b246661e0f Priority: optional Homepage: https://github.com/himmelblau-idm/himmelblau Description: Entra ID Himmelblau Identity Broker Package: himmelblau-collabora Version: 5.0.0-ubuntu24.04~20261019 Architecture: arm64 Maintainer: David Mulder Installed-Size: 10457 Depends: himmelblau-broker | microsoft-identity-broker, libc6 (>= 2.39) Suggests: collabora-office Enhances: himmelblau Filename: ./himmelblau-collabora_5.0.0-ubuntu24.04~20261019_arm64.deb Size: 3150540 MD5sum: bd2fae768422e8725d36153331530acd SHA1: 6ce166a19ff77bc966f2cfb12c4870c45b0b94e5 SHA256: 9eaa5c44fb5f746e20a566df841651bccc49b24cb0d7df62a3e2ddfeec59ea1a Priority: optional Homepage: https://github.com/himmelblau-idm/himmelblau Description: Collabora Office Microsoft 365 integration # Himmelblau Collabora bridge (experimental) . `himmelblau-collabora` is an experimental precursor to [#1736](https://github.com/himmelblau-idm/himmelblau/issues/1736), not completion of that issue. It is a separate workspace package. It uses the signed-in user's Himmelblau identity broker to request a delegated Microsoft Graph token under the public Microsoft Office client ID. The existing `o365` package remains in place. . At desktop login, a user service binds an address on `127.0.0.1`, registers a **Microsoft 365** tile in Collabora's current Qt WebEngine cloud list, and serves a local picker. The picker calls Graph for OneDrive files, SharePoint sites and libraries, shared file search, and sharing links. It caches the broker's Graph token until shortly before expiry so browsing and saving do not repeatedly request a token. When a file is opened, Collabora's current `cool.html` remote document bridge exchanges document bytes through `/co/collab`. Saves use Graph upload sessions and preserve failed uploads in the user's state directory. . The picker appears after **Open → Other Microsoft 365** in Collabora. It has Office-style locations, drive search, folder breadcrumbs, and a file details pane. Select a file once to inspect it, then double-click it, press Enter, or use **Open** to launch it. In a OneDrive or SharePoint folder, expand **New document**, choose Word, Excel, or PowerPoint, and enter a name without the extension to create and open a cloud document. The pane contains the existing file actions. SharePoint sites and shared files remain search-based, and a sharing link can be opened from any location. . Registration updates only the `coda.cloudProviders` localStorage value in Collabora's profile. It preserves other entries. The Flatpak profile lives under `~/.var/app/com.collaboraoffice.Office/config/Collabora Office`; the native profile uses the user's XDG config directory. Collabora holds a lock on this database while running, so an installation or upgrade during an open Collabora session appears after the next launch. The Flatpak needs its existing network permission to reach loopback; the add-on does not install Collabora or request a sandbox override. . DEB/RPM package installation starts the bridge in active user sessions. Upgrades leave an already-running bridge in place so open documents keep their in-memory sessions. Save and close all bridge documents before running `systemctl --user restart himmelblau-collabora.service` to use the updated binary. Otherwise, it takes effect when the bridge next starts. The same restart procedure applies when updating the binary outside the package manager. . The bridge also writes a private diagnostic log to `~/.local/state/himmelblau-collabora/bridge.log` (or `$XDG_STATE_HOME/himmelblau-collabora/bridge.log`). It keeps one rotated `bridge.log.old` file and limits each to about 5 MiB. To watch save activity without journal access, run `tail -F ~/.local/state/himmelblau-collabora/bridge.log` after restarting the updated service. . The bridge uses local editing with a Graph upload on Save. It does not provide the `/cool/ws` editor server required by Collabora's real-time collaborative editing mode; the bridge therefore does not advertise the current user as another editor. The picker offers a cloud **Save a copy** command for the latest saved version. It does not capture unsaved editor changes from Collabora's native Save As dialog. Version history is read-only in this stage. New files use bundled nonempty OOXML documents; empty document upload through the upload-session path is not implemented. These cases and the conditional-save behavior must be checked before release. . The protocol choices are based on [Microsoft Graph driveItem upload-session documentation](https://learn.microsoft.com/en-us/graph/api/driveitem-createuploadsession), [driveItem search](https://learn.microsoft.com/en-us/graph/api/driveitem-search), [sharing links](https://learn.microsoft.com/en-us/graph/api/shares-get), [driveItem versions](https://learn.microsoft.com/en-us/graph/api/driveitem-list-versions), [Collabora's public cloud-provider implementation](https://github.com/CollaboraOnline/online.mirror/blob/7ddebab0ef71e249941ff21d2c8e4fbefa474499/browser/src/control/Control.BackstageView.ts), and [Chromium's localStorage schema](https://chromium.googlesource.com/chromium/src/+/dd8d5985e4b1dc04142c94984d0654f4a3339298/components/services/storage/dom_storage/local_storage_impl.cc). No existing Windows and O365 packet trace was used. . . ## Compatibility and service scope . The desktop protocol fixture is pinned to Collabora's [IntegratorFilePicker.cpp](https://github.com/CollaboraOnline/online.mirror/blob/c0b5f33d523f7baf384b54237db27240b4432d8c/qt/IntegratorFilePicker.cpp) and [global.js](https://github.com/CollaboraOnline/online.mirror/blob/c0b5f33d523f7baf384b54237db27240b4432d8c/browser/js/global.js). The picker intercepts navigation containing `WOPISrc` and `access_token`, cancels that HTTP navigation, and loads its bundled desktop editor. The bridge's `/browser/dist/cool.html` redirect is therefore an interception signal; it does not require hosting editor assets. Ordinary browsers and Collabora Online are not supported consumers of this redirect. . That client starts `/co/collab` with `access_token ` and does not send a protocol or product version. Adding a mandatory invented version frame would break the unmodified client. This bridge recognizes only the documented message shapes, returns an explicit error and closes on an unsupported message or stream, bounds the initial handshake to five seconds, and admits at most 64 WebSocket connections. This is not product-version negotiation: no released Collabora version range has been certified. Supported-release testing and upstream version/capability negotiation remain requirements of #1736. . Document downloads stream through a 250 MB cap with at most four active downloads. One upload or Save a copy operation is admitted at a time, before buffering document bytes; uploads share their buffer with Graph chunks rather than duplicating the document. Busy transfers return HTTP 503 and must be retried. Receiving an upload body times out after five minutes so a stalled editor cannot block later saves indefinitely. A connected editor or in-flight transfer keeps its document session alive beyond the idle expiry; disconnected idle sessions still expire. . This precursor uses an eagerly started per-user service to register a dynamic loopback endpoint and retry provisioning while the profile is locked. Socket activation and a stable endpoint lifecycle remain work for #1736. Office/OneDrive trace collection and real-tenant concurrent-save validation have not been completed. A version that preserves recognized message names while changing save semantics cannot be detected by the current protocol. Do not treat this implementation or its mock tests as production compatibility certification. . Site discovery is available only if the broker's delegated token has `Sites.Read.All` or `Sites.ReadWrite.All`; file-only tokens can still browse accessible drives. The SharePoint search link is hidden without that consent. Each broker connection/account/token operation has a 30-second timeout. If Graph rejects a cached bearer with HTTP 401, the bridge reacquires through the broker and retries read-only requests once. Writes and sharing-link redemption are not automatically replayed; retry them explicitly after the authentication failure. . ## Recovery and removal . The picker includes **Recovery copies**, which works even when Microsoft 365 is unavailable. It lets the signed-in user download preserved edits and explicitly remove copies after recovery. A failed save atomically replaces the latest recovery copy for that editor session, preserving the earlier copy if writing fails. Storage is limited to 32 copies and 1 GB, with up to one extra document's temporary bytes during replacement. At the limit the bridge refuses another copy and warns the user to keep the document open and export it locally; it never discards a different document to make room. Successful save retries remove superseded recovery copies for that session. Failed saves return the recovery path; failed preservation returns a distinct insufficient-storage error. . Unsaved copies survive service restart and logout so a failed upload is not silently lost. This intentionally differs from the original logout-cleanup criterion; bounded user-managed retention is the policy for this experimental precursor. New copies include a private source-identity sidecar, so the picker and downloads retain the original filename after restart. Older copies without metadata still work, but need their original document filename extension restored after download. . Upload URLs are bound to the document revision at issuance. A delayed or retried URL is rejected before reading its body if another save has succeeded, rather than inheriting the newer save’s eTag. If Microsoft 365 confirms a save without returning its new eTag, the bridge ends that editing session and asks you to reopen the file before further edits or saves; it does not adopt an unproven revision from a later metadata read. . Only one bridge process may own a state directory. Before writing another recovery copy, it reclaims recognized temporary files left by a crashed write. Cleanup refuses to run while that bridge is active. A private, empty sibling `himmelblau-collabora.lock` file remains after cleanup so concurrent processes always coordinate through the same lock file. . DEB/RPM package removal stops active bridges before running `himmelblau-collabora cleanup` as each applicable profile owner, including logged-out users. If a bridge cannot be stopped or its status is uncertain, removal aborts before any profile cleanup. Cleanup removes only the Himmelblau provider from the provider list, then removes endpoint, diagnostic, and recovery state. Export recovery copies and close Collabora before uninstalling. A locked profile aborts cleanup with a retry instruction rather than claiming success. For custom XDG configuration/state directories, run the cleanup command in that user's session with those environment variables set before uninstalling. Registration is restricted to existing profiles; newly created and existing profile roots/localStorage directories are restricted to 0700, and existing database files to 0600. . ## Arch, Gentoo, and NixOS packaging . The bridge remains optional on these platforms: . - `make arch` produces both the core `himmelblau` package and a separate `himmelblau-collabora` package. `make install` installs only the Arch core package. To opt in, install both matching packages with `sudo pacman -U ./packaging/himmelblau-[0-9]*.pkg.tar.zst ./packaging/himmelblau-collabora-*.pkg.tar.zst`; use the same command to upgrade them together. - `make gentoo` generates an ebuild with a default-off `collabora` USE flag. Enable that flag when emerging the generated ebuild to install the bridge and its desktop integration. - Nix exposes `packages..collabora` (or `packages.collabora` when importing `default.nix` directly). Build it with `nix build .#collabora`. With the Himmelblau NixOS module enabled, add the package to both `environment.systemPackages` and `systemd.packages`: . ```nix let collabora = himmelblau.packages.${pkgs.stdenv.hostPlatform.system}.collabora; in { environment.systemPackages = [ collabora ]; systemd.packages = [ collabora ]; # Preserve open document sessions across configuration switches. systemd.user.services.himmelblau-collabora.restartIfChanged = false; } ``` . These packages install the executable, user unit, and XDG autostart entry. They do not run the DEB/RPM maintainer scripts. The bridge starts at the next login to a desktop session supporting XDG autostart; to start it in an existing session, run `systemctl --user daemon-reload && systemctl --user start himmelblau-collabora.service`. Install Collabora separately, and retain the identity broker supplied by the Arch core package, Gentoo USE flag, or NixOS module. . Before removing the Arch package, disabling the Gentoo USE flag, or removing the Nix package/configuration, export recovery copies and close Collabora. Then, in each affected user's session, run `systemctl --user stop himmelblau-collabora.service && himmelblau-collabora cleanup`. Only proceed with removal after cleanup succeeds. This also preserves any custom XDG paths from that user's environment. . On Arch, `make uninstall` additionally runs the repository's stop-and-cleanup helper for all discovered profile owners before invoking pacman. Account lookup, service shutdown, or profile cleanup failure prevents package removal. Direct pacman removal has no such hook, so the per-user cleanup above is required. On DEB/RPM systems, `make uninstall` includes the bridge when installed so its package removal hook runs. Package: himmelblau-orchestrator Version: 5.0.0-ubuntu24.04~20261019 Architecture: arm64 Maintainer: David Mulder Installed-Size: 3947 Depends: himmelblau, himmelblau-apparmor, libc6 (>= 2.39), libdbus-1-3 (>= 1.9.14), libsqlite3-0 (>= 3.5.9), libssl3t64 (>= 3.0.0), libudev1 (>= 183), podman Filename: ./himmelblau-orchestrator_5.0.0-ubuntu24.04~20261019_arm64.deb Size: 1047688 MD5sum: bafd9cab637e9ffb30403aa87da52b40 SHA1: 6fedeb1e492304f8cc971589339c5c83e0b9ab69 SHA256: 46cd7d64ac1612efde3344c692e52b48ae731752fe8c16574b55b1564d111863 Priority: optional Homepage: https://github.com/himmelblau-idm/himmelblau Description: Optional browser-flow orchestration backend for himmelblaud Package: himmelblau-qr-greeter Version: 5.0.0-ubuntu24.04~20261019 Architecture: arm64 Maintainer: David Mulder Installed-Size: 91 Depends: gnome-shell, himmelblau Recommends: dconf-cli Filename: ./himmelblau-qr-greeter_5.0.0-ubuntu24.04~20261019_arm64.deb Size: 19800 MD5sum: 577844eceb62af9a83ae2edd087e2c0e SHA1: 42d81584bea0df517f66cc7c7d91cc520ec66426 SHA256: cafbe6ca5fbca441326ae2be74f0e488d7dd219dca466d9a834e7b63d09fd440 Priority: optional Homepage: https://github.com/himmelblau-idm/himmelblau Description: GNOME Shell extension that adds a QR code to authentication prompts when a MS DAG URL is detected. Package: himmelblau-sshd-config Version: 5.0.0-ubuntu24.04~20261019 Architecture: arm64 Maintainer: David Mulder Installed-Size: 4 Depends: openssh-server Filename: ./himmelblau-sshd-config_5.0.0-ubuntu24.04~20261019_arm64.deb Size: 1336 MD5sum: aff75b9777ffe8ce5241fc3ea8fdfbd0 SHA1: 4d684b5fdb1852814c0847cac593b254bbe760dd SHA256: acdfe6a306757a8590f9e09ba9143f05296612e18f8d6c066946189b712e4784 Priority: optional Homepage: https://github.com/himmelblau-idm/himmelblau Description: Himmelblau Required SSHD Configuration Package: himmelblau-sso Version: 5.0.0-ubuntu24.04~20261019 Architecture: arm64 Maintainer: David Mulder Installed-Size: 3603 Depends: himmelblau-broker | microsoft-identity-broker, libc6 (>= 2.39) Recommends: himmelblau-sso-policies Conflicts: linux-entra-sso Replaces: linux-entra-sso Provides: linux-entra-sso Filename: ./himmelblau-sso_5.0.0-ubuntu24.04~20261019_arm64.deb Size: 961204 MD5sum: 3d3a923a4ebede8117277874e2704a28 SHA1: a3589af613ff12986e3608a201b4943ed18b2c4f SHA256: f9ebd75eb61bbbc2875a5467ed9f71fe02d72899374de77799e6eee7ac7c6335 Priority: optional Homepage: https://github.com/himmelblau-idm/himmelblau Description: Entra ID SSO via Himmelblau Identity Broker Package: himmelblau-sso-policies Version: 5.0.0-ubuntu24.04~20261019 Architecture: arm64 Maintainer: David Mulder Installed-Size: 10 Recommends: himmelblau-sso, jq Breaks: himmelblau-sso (<< 3.0.0~) Replaces: himmelblau-sso (<< 3.0.0~) Filename: ./himmelblau-sso-policies_5.0.0-ubuntu24.04~20261019_arm64.deb Size: 4704 MD5sum: 2da6e4df297ede4a44b252a3004203a2 SHA1: 95c25c028baa4d55e7cbf2adfe1670d6f1e1d09c SHA256: bc99323f080a1ef4b1c621128ad4a17ef732d6f018fbe476be5894e225155598 Priority: optional Homepage: https://github.com/himmelblau-idm/himmelblau Description: Browser policy files for Himmelblau SSO Package: nss-himmelblau Version: 5.0.0-ubuntu24.04~20261019 Architecture: arm64 Maintainer: David Mulder Installed-Size: 911 Depends: libc6 (>= 2.39), libdbus-1-3 (>= 1.9.14), libnss-systemd, libsqlite3-0 (>= 3.7.15), libssl3t64 (>= 3.0.0), libudev1 (>= 183) Filename: ./nss-himmelblau_5.0.0-ubuntu24.04~20261019_arm64.deb Size: 312184 MD5sum: 9d1a0b5270fa3f5da27d2fba5220b29e SHA1: 98a4b91e626cdf4cf282c9eb745030ed9330cc02 SHA256: 2625d043797953f6cae3b2e7ee4c92d14760f251dfd83a9f845d10ad29ac6752 Priority: optional Multi-Arch: same Homepage: https://github.com/himmelblau-idm/himmelblau Description: Himmelblau NSS Module Package: o365 Version: 5.0.0-ubuntu24.04~20261019 Architecture: arm64 Maintainer: David Mulder Installed-Size: 1897 Depends: curl, jq, libfuse2 Filename: ./o365_5.0.0-ubuntu24.04~20261019_arm64.deb Size: 1873800 MD5sum: cd8a0db8df3848ad132cc8459b273cf2 SHA1: af4812881ad62a3e74ff33c0faef65aedc689731 SHA256: ad27506c95b05a3038aee5353c2bdf6f18e08c0e45a7224a1da6163e2e0752bb Priority: optional Homepage: https://github.com/himmelblau-idm/himmelblau Description: Himmelblau Office 365 Integration Package: pam-himmelblau Version: 5.0.0-ubuntu24.04~20261019 Architecture: arm64 Maintainer: David Mulder Installed-Size: 21100 Depends: libc6 (>= 2.39), libdbus-1-3 (>= 1.9.14), libpam0g (>= 0.99.7.1), libsqlite3-0 (>= 3.7.15), libssl3t64 (>= 3.0.0), libudev1 (>= 183) Recommends: patch Filename: ./pam-himmelblau_5.0.0-ubuntu24.04~20261019_arm64.deb Size: 5450644 MD5sum: 910ea7b4ca0217820f54300f326a1415 SHA1: ba10a52e96e0f1dd22ae84eb31cdffc48fdd4398 SHA256: f96df8f9dbb1d3e90a338a48675aa8f09b4b3e5dfd1912b44d801f1b721fff46 Priority: optional Multi-Arch: same Homepage: https://github.com/himmelblau-idm/himmelblau Description: Himmelblau PAM Module