Fedora Linux 45 FIDO2 Lab Guide

Joe Murphy · 2026年11月20日

AI 摘要 AI 生成,可能有误

本实验指南记录了在全新安装的 Fedora Linux 45 Workstation(采用 LUKS2 全盘加密)上配置 FIDO2 安全密钥(Yubico Security Key NFC)的过程,为磁盘解锁、登录、屏幕解锁、sudo 和 polkit 启用 PIN 加触摸的身份验证,同时保留账户密码作为紧急情况下的备用方式。该十步流程于 2026 年 11 月 3 日在一台 Dell Latitude E6430 ATG 上完成测试,内容涵盖安装带加密存储的系统、备份 LUKS 头部、使用 systemd-cryptenroll 注册密钥,以及更新 crypttab 和 PAM 配置。作者报告称,两把 Yubico 密钥在全部四个 USB 端口上均能可靠工作,而两把 Identiv uTrust 密钥则出现间歇性的磁盘解锁失败;作者还强调,由于存在数据丢失或被锁在系统外的风险,此项工作应仅在可随时丢弃的机器上进行。

PIN and touch for encrypted storage, login, screen unlock, sudo, and polkit

Lab work conducted November 3, 2026
Prepared November 3, 2026

Why I built this lab

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Fedora Magazine

Run your first local AI model on Fedora with Ollama

AI 摘要This article is a step-by-step tutorial for running AI chat models locally on a Fedora Linux machine using Ollama, covering installation from the Fedora repositories, downloading models like DeepSeek-R1 7B and Qwen3 8B, and verifying outputs with simple arithmetic tests. It explains how to check whether a model runs on CPU or GPU (including a workaround for broken Vulkan output on Intel integrated graphics) and how to build a tuned model with a Modelfile for custom thread count and context size. Finally, it shows how to connect the model to the Pi agent framework so it can use tools like reading and writing files, with practical tips on handling long documents and pointers to the Fedora AI/ML SIG skills library.

Real-Time Jamming on Fedora: Low-Latency Electric Bass with SonoBus and PipeWire

AI 摘要This article is a step-by-step guide to achieving ultra-low-latency remote music jam sessions on Fedora Linux by combining the PipeWire audio architecture with the open-source SonoBus streaming application. It covers hardware and network prerequisites (a USB audio interface, wired headphones, and Ethernet instead of Wi-Fi), installing SonoBus and qpwgraph, optimizing PipeWire's sample rate and buffer size (quantum) for minimal latency, and routing audio connections. Although demonstrated with an electric bass, the author notes the same setup works for any instrument, enabling rock-solid real-time collaboration with musicians anywhere in the world.

How a missing build flag made btop crash on Fedora with AMD GPUs

AI 摘要The article recounts how btop crashed on startup in Fedora with AMD GPUs because Fedora's rocm-smi package never defined NDEBUG, leaving an assert active in the ROCm SMI library when its parser failed to handle an unusual sysfs frequency format the kernel prints on purpose. After finding a two-year-old bug report wrongly closed as NOTABUG and a pull request stuck in review for weeks, the author made a one-line spec fix injecting -DNDEBUG into the compile flags, which was merged and shipped as a stable update. The upstream parser bug remains open, but the article's main lesson is that a shared library should return an error code rather than take down the calling process.

Two FIDO2 Security Keys on Fedora Linux 45

AI 摘要The author tested two Yubico Security Key NFC devices on a fresh Fedora Linux 45 installation (GNOME/GDM) to unlock a LUKS-encrypted disk and handle everyday authentication—login, sudo, polkit, screen unlock, and later SSH—using PIN and touch instead of typed passwords, while retaining strong passwords only as recovery fallbacks. The Yubico keys performed consistently across all four USB ports, whereas Identiv uTrust keys enrolled successfully at first but later showed intermittent boot-unlock failures and were judged undependable. Framed as a one-day, non-production lab report, the article stresses that recovery without a key worked via password fallback, but further work is needed (off-device recovery backups, a lost-key revocation plan, and post-update retesting) before relying on the setup more broadly.

Hacking Wordle: A New User's Guide to the Power of the Linux Terminal

AI 摘要This article is a beginner-friendly guide that teaches new Linux users fundamental terminal skills by having them analyze the text file of words used in the popular NYT game Wordle. Through hands-on exercises, readers learn essential commands such as cd, mkdir, pwd, wget, ls, cat, less, wc, and the nano editor while setting up a workspace, downloading, and preparing a curated Wordle word list. These skills are transferable to real-world tasks like examining logs, configuration files, and searching text, and the author notes the techniques could technically be used to cheat at Wordle against others, which is discouraged.