linux-credentials / linux-credentials/oo7

Missing API for changing secret of a dbus collection

Open
#94 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

spec
Dominant language
Rust
Stars
373
Forks
39
Avg merge
14h 2m
Merged PRs (30d)
14

Description

Unlike `portal::Keyring`, we currently have no (direct) way to change the password of a `dbus::Collection`. I think the main problem here is that changing a collection password isn't part of the secret-service dbus specification.

Seahorse / gnome keyring work around this and have something custom implemented (`org.gnome.keyring.InternalUnsupportedGuiltRiddenInterface`).

A possible workaround I can see at the moment would be to load the collection as a keyring file via `portal::Keyring` and change the password there - although I'm not sure how many side effects it would have to fiddle with the keyring file directly instead of using the intended oo7/secret-service api.

I wonder if this is something we can fix on oo7 side, or if we need an updated/extended secret-service dbus specification.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the existing portal::Keyring password-changing API with dbus::Collection and reviewing the secret-service D-Bus specification. Examine the Seahorse/GNOME keyring workaround and determine whether oo7 can expose a safe API or whether the specification needs an extension; done means a decided, documented path for changing collection passwords.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.