Commit Graph
12 Commits
Author SHA1 Message Date
Kenneth Skovhede 34468d352c Update LibSecret support
This PR updates the LibSecret support to work correctly on KDE which uses a slightly different default collection.

With this PR the "default" alias is resolved and used by default. If no such collection is found, the collection `login` is used.

This was the intended logic before, but the alias was not resolved, so the code looked for a literal `default` collection and then fell back to `login`. On KDE systems this could cause issues by creating a new collection literally named `default` which would then fail to resolve.

With this update the libSecret works correctly on Plasma 6 (`kwalletd6`).

Support for Plasma 5 is not complete as the libsecret implementation there is different and deprecated. Here, installing Gnome Keyring is a workaround.

This fixes #6891
2026-06-23 23:54:54 +02:00
Kenneth Skovhede c0f40e19ca Updated copyright year to 2026 across the project 2026-04-16 15:21:24 +02:00
Kenneth Skovhede 695d190b91 Updated to allow IsSupported to be async 2025-12-01 15:29:24 +01:00
Kenneth Skovhede 1053fa340a More work on default==login 2025-12-01 15:03:36 +01:00
Kenneth Skovhede 95da807beb Initialize default providers when returning
Fixed an issue with creating a collection.

Made the default collection an alias for "login" if the system does not do this automatically
2025-12-01 14:48:31 +01:00
Kenneth Skovhede 8ac2273f21 Added OS markers to avoid accessing providers from unsupported OS.
Updated Pass provider to probe for pass via path searching.

Changed `IsSupported` to a method because it could take a while to evaluate
2025-12-01 13:21:44 +01:00
Kenneth Skovhede d6bde80062 Added support for automatically creating collections with libsecret 2025-12-01 12:46:02 +01:00
Kenneth Skovhede 6d9826df06 Initial implementation of write-support for SecretProviders
This updates the MacOS secret provider to use PInvoke for a more stable API than the secrets tool that was used before.
2025-11-30 23:01:57 +01:00
Kenneth SkovhedeandGitHub 9464caf622 Feature/update license 2025 (#5851)
* Fixed some minor whitespace issues

* Updated all copyright to 2025
2025-01-07 09:40:39 +01:00
Kenneth Skovhede e690364a47 Added licenses 2024-10-28 08:08:29 +01:00
Kenneth Skovhede f23c5def61 Re-implemented the libsecret provider from scratch. 2024-10-28 00:22:33 +01:00
Kenneth Skovhede 8f3945b605 Added support for libsecret on Linux 2024-10-25 09:17:04 +02:00