[Bug] Root Authentication with fingerprint sensor doesn't work nicely
- 主要語言
- Go
- 星號
- 13k
- 分支
- 541
- 平均合併
- 20 小時 47 分鐘
- 30 天內合併 PR
- 4
描述
**Describe the bug**
My notebook has a fingerprint sensor, so I activated it. Unfortunately, it doesn't seem to work with the authentication used by distrobox. It silently asks for my fingerprint and then shows the password mask after about 30 seconds (fingerprint timeout), but I can't authenticate with my fingerprint.
**To Reproduce**
1. Buy a notebook with fingerprint sensor that is supported on Linux
2. Enroll fingerprints
3. (optional) configure PAM to use fingerprint for authentication
4. Create rootful distrobox
5. Export application from rootful distrobox
6. Try to start it using the .desktop entry
**Expected behavior**
I get asked directly for the password or (better) for my fingerprint.
**Logs**
https://pastebin.com/46Xqyg7q
**Desktop (please complete the following information):**
- Are you using podman, docker or lilipod? podman
- Which version or podman, docker or lilipod? podman version 5.5.1
- Which version of distrobox? distrobox: 1.8.1.2
- Which host distribution? Aeon Desktop
- How did you install distrobox? was preinstalled (so zypper)
**Additional context**
The issue might be solved by reyling on polkit instead of using sudo for authentication, but honestly, I have no idea how root is implemented in distrobox, so this really just is a first thought :)
If any additional information is required, please let me know :)
貢獻指南
研究方向
查看 distrobox 如何處理 root 驗證,相關邏輯可能位於 shell 指令碼或呼叫 sudo 的 Go 程式碼中。檢查 PAM 設定和指紋感測器整合。pastebin 上的日誌可能會顯示驗證流程。透過檢查程式碼庫中現有的驗證機制,確認切換至 polkit 是否可行。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- bash, go, linux
- 領域
- authentication, cli
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100