linux-credentials / linux-credentials/credentialsd
Run credentialsd as a separate user
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Rust
- Sterne
- 259
- Forks
- 19
- Ø Merge
- 1 T. 2 Std.
- Gemergte PRs (30 T.)
- 12
Beschreibung
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.)
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Das Issue nennt keine Dateien oder Tests; beginne damit, den Start des Dienstes credentialsd, die D-Bus-Buskonfiguration, die Autorisierungsrichtlinien und die Einstiegspunkte für die Dateibereitstellung zu lokalisieren. Verfolge, wie die Identität des Aufrufers derzeit behandelt wird. Als erledigt gilt die Aufgabe, wenn credentialsd als separater Systembenutzer auf dem system bus läuft, die Richtlinien den Zugriff angemessen beschränken und die Dateibereitstellung die UID des Aufrufers prüft.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- linux, rust
- Bereich
- authentication, operating-systems, security
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 30/100