OSDN Git Service

credential-libsecret: unlock locked secrets
authorDennis Kaarsemaker <dennis@kaarsemaker.net>
Fri, 3 Nov 2017 20:44:49 +0000 (21:44 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 4 Nov 2017 01:59:21 +0000 (10:59 +0900)
commit9c109e9bbcadb21cd6f955301f81583a74f8aa8c
tree0347ce947a78a94cf5e19f9b263620c158fb2c81
parent39aaab109972d6bbc1d0ffe5d4de47bbd4b8bb07
credential-libsecret: unlock locked secrets

Credentials exposed by the secret service DBUS interface may be locked.
Setting the SECRET_SEARCH_UNLOCK flag will make the secret service
unlock these secrets, possibly prompting the user for credentials to do
so. Without this flag, the secret is simply not loaded.

Signed-off-by: Dennis Kaarsemaker <dennis@kaarsemaker.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/credential/libsecret/git-credential-libsecret.c