Run credentialsd as a separate user

未關閉
#88 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 2 天內回覆

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
30/100
Issue 類型
功能
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
linux, rust

研究方向

此 issue 未指定檔案或測試;請先找出 credentialsd 服務的啟動流程、D-Bus 匯流排設定、授權原則以及檔案服務進入點。追蹤目前如何處理呼叫者身分。完成的標準是 credentialsd 在 system bus 上以獨立的系統使用者執行、原則適當地限制存取,且檔案服務會檢查呼叫者的 UID。

由索引模型根據 Issue 內容生成。

描述

architecture

We need to move credentialsd to run as a separate system user in order to store files on behalf of the user without malicious applications running in the user's session being able to read them directly.

This will require moving credentialsd to run on the D-Bus system bus instance and setting up policies only to allow the system user.

This also means that the credentialsd service will have to check the UID of the caller to determine which files to serve.

We didn't do this at first to make initial development easier. Any pointers on how to develop services on the system bus without constantly being prompted for sudo access to install are appreciated. (Maybe that's just the solution.)

主要語言
Rust
星號
310
分支
22
平均合併
1 天 15 小時
30 天內合併 PR
13

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

linux-credentials/credentialsd 的其他 Issue

查看 linux-credentials/credentialsd 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。