Run credentialsd as a separate user

オープン
#88 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
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時間
マージ済み PR(30日)
13

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

linux-credentials/credentialsd のほかの issue

linux-credentials/credentialsd の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。