Skip to content

Commit 30322f1

Browse files
committed
Merge branch 'dk/libsecret-unlock-to-load-fix' into maint
The credential helper for libsecret (in contrib/) has been improved to allow possibly prompting the end user to unlock secrets that are currently locked (otherwise the secrets may not be loaded). * dk/libsecret-unlock-to-load-fix: credential-libsecret: unlock locked secrets
2 parents 16f8cd1 + 9c109e9 commit 30322f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/credential/libsecret/git-credential-libsecret.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ static int keyring_get(struct credential *c)
104104
items = secret_service_search_sync(service,
105105
SECRET_SCHEMA_COMPAT_NETWORK,
106106
attributes,
107-
SECRET_SEARCH_LOAD_SECRETS,
107+
SECRET_SEARCH_LOAD_SECRETS | SECRET_SEARCH_UNLOCK,
108108
NULL,
109109
&error);
110110
g_hash_table_unref(attributes);

0 commit comments

Comments
 (0)