Skip to content

Allow specifying the target collection/wallet #219

@michaelk83

Description

@michaelk83

Summary

It should be possible to override the target collection or wallet on backends where this is possible, using a new pair of methods Job::setCollection() and Job::getCollection(). On backends where this is not possible, the setting would be ignored. If not set, default to the collection or wallet that is used currently.

Context

This is needed for client applications that may want to store their passwords separately from the rest.
See KDE bugs 228308 and 172523.

Suggested Implementation

  • With libsecret: if set, pass the set collection name to secret_password_store_fn(), otherwise pass SECRET_COLLECTION_DEFAULT as now.
  • With KWallet: if set, call open() with the set name, otherwise call networkWallet() first (as now) to determine the default wallet name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions