Sovereign Tech Agency 向 Flatpak 投资 50 万欧元
Sovereign Tech Agency invests €500k in Flatpak

原始链接: https://modal.cx/blog/announcing-flatpak-sta/

德国主权技术基金(STF)宣布投资 508,640 欧元,用于在未来两年内推进 Flatpak 的开发与管理。该计划由 Modal 联合组织,并得到 Para-Real Ltd. 的支持,旨在对 Flatpak 的安全性和沙盒功能进行现代化升级,使其能够媲美 iOS 和 Android 等专有平台。 尽管 Flatpak 已趋于成熟,但在精细化音频权限、网络连接及 VPN 集成等方面仍存在技术差距。本项目旨在通过为音频、网络、VPN、拼写检查和安全密码自动填充实现新的门户(portals)来弥补这些不足。此外,团队还将引入“意图”(intents)系统和增强权限管理等基础设施改进。 通过扩大项目能力并使其结构正规化,该计划旨在支持 Fedora Silverblue 和 SteamOS 等日益依赖 Flatpak 的基于镜像的 Linux 发行版。一支由经验丰富的开发人员和设计师组成的团队将主导此项工作至 2027 年,重点关注项目的长期可持续性并加强整个 Linux 桌面生态系统。社区成员可通过 #flatpak 和 #xdg-desktop-portals Matrix 频道关注进展并参与贡献。

主权技术局(STA)近期向 Flatpak 开发项目投入了 50 万欧元,这在 Hacker News 上引发了关于 Linux 桌面基础设施资金来源及未来发展的重要讨论。 **讨论要点:** * **投资策略:** 支持者认为,STA 是基础开源软件(FOSS)必要的“加速器”,有助于项目达到适合政府采用的成熟度,并在此后向长期企业支持过渡。然而,批评者认为公共资金往往具有临时性、官僚主义严重,且可能与志愿者驱动项目的需求不符。 * **Flatpak 的技术障碍:** 尽管许多人欢迎更好的沙盒机制,但用户也强调了一些主要痛点,例如缺乏精细且向后兼容的权限控制。许多应用仍需“全盘”访问权限才能运行,这引发了安全顾虑及易用性问题(如手柄支持失效或文件访问冲突)。 * **与替代方案的比较:** 许多贡献者将 Linux 沙盒与 macOS 进行负面对比,认为苹果拥有更优越的长期架构设计和权限提示机制。另一些人则主张采用 Nix 或基于容器的方案(如 podman/bubblewrap)。 * **观点分歧:** 关于 Flatpak 究竟是通向安全、自主的 Linux 桌面的关键路径,还是一个增加不必要复杂性的、不可持续且碎片化的“发行版内的发行版”,各方仍存在激烈争论。
相关文章

原文

We are excited to announce a significant investment of €508,640 by the German Sovereign Tech Agency, through its Sovereign Tech Fund (STF) initiative, into the development and stewardship of Flatpak. This two-year initiative, co-organized by Modal and with Para-Real Ltd. as supporting organization, will accelerate the evolution of Flatpak as a secure, sandboxed platform for packaging and distributing Linux desktop software.

Flatpak serves as the primary application distribution method for image-based operating systems including Fedora Silverblue, openSUSE Aeon, SteamOS, and GNOME OS. It is the preferred format for major ecosystems such as GNOME, KDE, and elementary. By expanding Flatpak’s capabilities, this investment will directly improve the security, robustness, and overall user and developer experience of the Free Software desktop ecosystem.

Are We Sandboxed Yet?

Flatpak is a mature project and the best option that exists on GNU/Linux today, but its security and sandboxing features still trail behind those of well-funded proprietary platforms such as Android and iOS. Certain technical limitations persist, such as the inability to separate audio output from microphone access—and several critical areas, including networking and VPNs, still lack dedicated Portals.

Following significant progress made during the 2023/2024 GNOME STF project, development has slowed in recent years, due to the specialized expertise required for this kind of platform-level work and the limited capacity of the overstretched Flatpak maintainers. This hinders the adoption of secure, image-based operating systems that rely exclusively on Flatpak apps.

A Collaborative Effort

For Modal, a robust app sandboxing story is essential to creating a Free Software OS that is competitive with modern mobile platforms. Leveraging our experience co-organizing STF projects for GNOME and systemd, we have partnered with other community members to put together this new initiative to push the ecosystem forward.

The project is led on the technical side by Sebastian and Adrian, with organizational support from Kateryna and Cade. While Para-Real Ltd. serves as the supporting organization, we hope to use this investment to build long-term community capacity by growing the pool of people who know this part of the stack, and putting in place more formal structures for the Flatpak project.

We are proud to bring on board a team of experienced contractors for the technical execution: Philip Withnall, Julian Sparber, and Dhanuka Warusadura from the 2023/2024 GNOME STF project, alongside Zelda Ahmed, Ignacy Kuchciński, Hari Rana, Eva (of Bazaar), and veteran GNOME designer Sam Hewitt. The project will ramp up over the coming months and is expected to run through the end of 2027.

Technical Roadmap

The Sovereign Tech Agency has commissioned work towards closing critical gaps in the sandboxing story, introducing long-requested infrastructure, and ensuring general maintenance.

We’ll focus on the following areas:

New Portals

  • Audio: Implementation of a new static socket permission for PipeWire, a WirePlumber policy to manage device access, and a portal for setting audio permissions (e.g. allowing speaker access without granting microphone access).
  • Network: Isolation of networking from the host with new static permissions for specific scopes (host, local network, internet) and ports, preventing unnecessary exposure of local devices.
  • VPN: A new portal modeled after Android and iOS APIs, enabling third-party VPN apps to manage system-level connections.
  • Writing Assistance: A new portal for spell checking, allowing for all apps on the system to share a dictionary, even when sandboxed. Additionally, this could allow apps like Eloquent to hook into the portal and provide richer editing suggestions, such as grammar corrections.
  • Password Auto-Fill: Research and architectural design for a secure password auto-fill portal to replace current insecure NativeMessaging approaches.

Infrastructure and Maintenance

  • Entitlements: A new system for declaring static permissions for specific portals, allowing app store reviewers to verify capabilities and enabling the introduction of more advanced features like third-party accessibility tools.
  • Intents: An abstract system for apps to declare offered services, facilitating deep-linking to sub-pages or handling specific web URLs natively.
  • Portals Maintenance: Porting to libdex, adding integration tests, and improving system permission dialogs.

Watch This Space

As design and implementation begin, these plans may evolve. We invite the community to follow our progress and engage with us on Matrix in #flatpak:matrix.org and #xdg-desktop-portals:matrix.org.

Stay tuned for more!

联系我们 contact @ memedata.com