Summary: | Make legacy KWallet entries searchable via Secret Service API | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kwallet | Reporter: | michaelk83 <mk.mateng> |
Component: | general | Assignee: | Valentin Rusu <valir> |
Status: | REPORTED --- | ||
Severity: | wishlist | CC: | dashonwwIII, kdelibs-bugs, nate, uwu |
Priority: | NOR | ||
Version: | 5.97.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Bug Depends on: | |||
Bug Blocks: | 458318 |
Description
michaelk83
2022-09-02 17:42:33 UTC
(In reply to michaelk83 from comment #0) > Expose a read-only virtual attribute `org.kde.kwalletd5:label` for all legacy items. Maybe make it non-virtual, so that it's discoverable through `org.freedesktop.Secret.Item.Attributes` property. But this would expose the labels of all legacy items, since attributes are not encrypted per the Secret Service specification - https://specifications.freedesktop.org/secret-service/latest/ch05.html . This attribute should *not* be added to (non-legacy) items created via the Secret Service API, since clients can't expect the same from other Secret Service API providers. Better/additional STEPS TO REPRODUCE, assuming the proposed `org.kde.kwalletd5:label` behavior: 1. Install KWallet 5.97.0 and enable Secret Service integration. 2. Create some entries via the old `org.kde.kwalletd5` API (or via KWalletManager). For example, entry "mypass" in folder "test-legacy". 3. Run the following command (adjust the last parameter as needed): > secret-tool lookup 'org.kde.kwalletd5:label' 'test-legacy/mypass' (See https://manpages.ubuntu.com/manpages/trusty/man1/secret-tool.1.html ) OBSERVED RESULT Not found EXPECTED RESULT Found |