Linux 凭据:将密码密钥带到 Linux 桌面
Credentials for Linux: Bringing Passkeys to the Linux Desktop

原始链接: https://alfioemanuele.io/talks/2026/02/01/fosdem-2026-credentials-for-linux.html

## Linux 凭据:将无密码密钥带到桌面 目前,虽然无密码密钥在 Windows、macOS、Android 和 iOS 等主流操作系统上得到广泛支持,但 Linux 缺乏浏览器和原生应用程序的标准 FIDO2 平台 API。 “Linux 凭据”项目旨在弥合这一差距。 这项跨桌面工作引入了 `libwebauthn`,一个支持 USB、BLE 和移动身份验证器的 Rust 库,以及 `credentialsd`,一个管理凭据的 D-Bus 服务,并提供参考 UI 和 Firefox 集成。 这使得像 Firefox 这样的沙盒应用程序能够安全地使用硬件安全密钥和智能手机进行无密码密钥身份验证。 该项目旨在在 Linux 上建立一致的无密码密钥体验,为开发者提供统一的 API。 未来的开发重点是 TPM 支持、改进的浏览器集成,以及与桌面环境、Flatpak、密码管理器和发行版合作,使无密码密钥成为 Linux 的核心功能。 该项目欢迎开发者和安全专家的贡献。

## Linux下的密码密钥与用户控制问题 最近的Hacker News讨论凸显了人们对密码密钥实施的担忧,尽管这项技术潜力巨大。虽然密码密钥提供了一种新的身份验证方法,但许多评论员批评其底层规范的反用户特性以及对企业控制的偏袒。 具体而言,规范中关于“用户验证”的要求以及防止用户访问明文密钥被视为有问题,暗示密钥并非真正由用户拥有。这体现在对像KeePassXC这样的开源项目可能因不遵守这些限制而被禁止的威胁上——特别是,因为它们没有实施认证,这将阻止密钥备份。 用户认为,如果安全管理,密码是透明且可移植的。 拟议的密码密钥系统面临平台锁定的风险,使得将凭据迁移到Google或Apple等提供商之外变得困难。人们担心FIDO联盟可能充当大型科技公司联盟,并通过认证方案禁止开源实现。 核心问题是控制:用户希望拥有他们的密钥,并可以根据自己的意愿自由管理它们。
相关文章

原文

1st February 2026

 

Talk at FOSDEM 2026 in Brussels, Belgium.

Passkeys are now first-class citizens on Windows, macOS, Android and iOS - but the Linux desktop still has no standard FIDO2 platform APIs for browsers and native apps.

This talk presents Credentials for Linux (github.com/linux-credentials), a cross-desktop effort to bring Passkeys and other credentials to Linux in a way that works for sandboxed apps and browsers alike.

We’ll cover:

  • Very short refresher on passkeys & platform authenticators: Why WebAuthn/FIDO2 passkeys matter, what platform authenticators are, and how this is solved on Windows Hello, Android and Apple platforms today, and the current state on Linux.
  • Architecture of Credentials for Linux
    • libwebauthn: a Rust FIDO2/U2F platform library with support for USB, BLE and Hybrid authenticators (ie. Android & iOS smartphones), designed with pluggable transports and passkey features such as resident keys and user verification.
    • credentialsd: a D-Bus service and proposed XDG portal for credential management, including a reference UI, Firefox integration (web extension + patched Flatpak build) and distro packages via OBS (Fedora/openSUSE).
  • What this looks like for apps and browsers: Demo and design walkthrough of a sandboxed Firefox using credentialsd to talk to hardware security keys and phones, and how native applications can use the same D-Bus API.
  • Roadmap, open problems and call for collaborators: TPM-backed platform authenticators, origin binding and unprivileged APIs for browsers, and how we’d like to work with GNOME, KDE, Flatpak, password managers and distributions.

The talk is aimed at people interested in identity and access management on the desktop: browser and desktop maintainers, distribution engineers, security practitioners and anyone who wants to help make passkeys a first-class citizen of the Linux platform.

 

联系我们 contact @ memedata.com