freedesktop_secret 0.1.2
freedesktop_secret: ^0.1.2 copied to clipboard
Dart client for the FreeDesktop Secret Service API (org.freedesktop.secrets) for storing secrets on Linux.
0.1.2 #
- Updates pub topics in package metadata.
0.1.1 #
- Improves the README: adds a "Features" section, fixes dead links, and references the published
xdg_secret_portal_store.
0.1.0 #
- Adds a new recommendation regarding the security model of
org.freedesktop.secretsdesign. - Marks the transition from early development to the first public pre-1.0 release. The package is considered ready for general use, though the API may continue to evolve before
1.0.0. - Documents
SecretServiceExceptionas the base type for library-defined exceptions and clarifies that D-Bus exceptions are propagated directly.
0.0.1-dev.6 #
-
Documents that
LookupSecretDuplicateStrategy.firstand.last, andDeleteSecretDuplicateStrategy.firstand.last, depend on the ordering returned by the Secret Service implementation and should not be relied upon. -
Adds timestamp-based duplicate strategies to
LookupSecretDuplicateStrategyandDeleteSecretDuplicateStrategy:oldestCreatednewestCreatedoldestModifiednewestModified
Secret Service timestamps have second resolution. Timestamp-based duplicate strategies cannot distinguish between items with identical timestamps. This may affect automated integration tests that create multiple matching secrets within the same second.
-
Note: Consumers using exhaustive
switchstatements overLookupSecretDuplicateStrategyand/orDeleteSecretDuplicateStrategymay need to handle the new enum values. -
Fixes false negatives in integration tests caused by service implementation differences on GNOME and Cinnamon.
-
Adds a "Verified Secret Service implementations" section to the README.
0.0.1-dev.5 #
- Adds a new recommendation in README.
- Deprecates
SecretServiceCollectionNotFoundException.FreeDesktopSecret.storeSecret()now automatically creates the default collection whencollectionis omitted. For more details.
0.0.1-dev.4 #
- Updates
freedesktop_secret.dartto exportsrc/exceptions.dart. - Adds Linux integration tests verifying interoperability with GNOME libsecret.
0.0.1-dev.3 #
- Adds Linux integration tests against Secret Service implementations.
- Updates the
FreeDesktopSecret.storeSecret()documentation to clarify thatreplace: truedoes not necessarily update an existing secret's label.- The Secret Service specification does not explicitly define this behavior.
- Tested Secret Service implementations (KWallet) preserve the existing label while updating the secret value.
- Updates the
FreeDesktopSecret.deleteSecret()documentation. - Updates README.
- Removes the unnecessary Flutter SDK constraint from
pubspec.yaml.freedesktop_secretis a Dart package and does not depend on Flutter.
- Updates client lifecycle handling.
- All methods except
initialize()andclose()now require an initialized client. Previously, they silently returnednullorvoid. - Calling methods before initialization or after closing the client throws a
StateError.
- All methods except
0.0.1-dev.2 #
- Fixes minor style issues in the generated D-Bus Dart bindings to satisfy pub pass static analysis.
- Adds a new recommendation in README.
0.0.1-dev.1 #
- Initial version.