diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2025-02-12 07:43:51 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2025-02-12 07:43:51 (GMT) |
commit | 80428ecdd6411a94cf1248d113535b938fe6dbea (patch) | |
tree | a84c0a410696226446460533a6f5472dd001287e /src/glibext/secstorage.h | |
parent | fd2f458abac21ceefa55468e1cb072ed16224a8e (diff) |
Create a dialog window allowing to configure the default secret storage.
Diffstat (limited to 'src/glibext/secstorage.h')
-rw-r--r-- | src/glibext/secstorage.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/glibext/secstorage.h b/src/glibext/secstorage.h index a75b1a3..ed3f79c 100644 --- a/src/glibext/secstorage.h +++ b/src/glibext/secstorage.h @@ -46,7 +46,13 @@ GSecretStorage *g_secret_storage_new(GSettings *); bool g_secret_storage_has_key(const GSecretStorage *); /* Définit un mot de passe pour protéger une clef maître. */ -bool g_secret_storage_set_password(const GSecretStorage *, const char *); +bool g_secret_storage_set_password(GSecretStorage *, const char *); + +/* Modifie le mot de passe protégeant une clef maître. */ +bool g_secret_storage_change_password(GSecretStorage *, const char *, const char *); + +/* Supprime le mot de passe protégeant une clef maître. */ +bool g_secret_storage_remove_password(GSecretStorage *, const char *); /* Détermine si la clef de chiffrement maître est vérouillée. */ bool g_secret_storage_is_locked(const GSecretStorage *); |