git-commit-vandalism/contrib/credential
Jakub Bereżański 601e1e7897 wincred: handle empty username/password correctly
Empty (length 0) usernames and/or passwords, when saved in the Windows
Credential Manager, come back as null when reading the credential.

One use case for such empty credentials is with NTLM authentication, where
empty username and password instruct libcurl to authenticate using the
credentials of the currently logged-on user (single sign-on).

When locating the relevant credentials, make empty username match null.
When outputting the credentials, handle nulls correctly.

Signed-off-by: Jakub Bereżański <kuba@berezanscy.pl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2017-11-01 13:46:39 +09:00
..
gnome-keyring gnome-keyring: Don't hard-code pkg-config executable 2016-06-14 13:06:10 -07:00
libsecret contrib: add credential helper for libsecret 2016-10-11 13:14:51 -07:00
netrc git-credential-netrc: fix uninitialized warning 2013-10-08 13:56:36 -07:00
osxkeychain credential-osxkeychain: support more protocols 2013-05-28 11:29:47 -07:00
wincred wincred: handle empty username/password correctly 2017-11-01 13:46:39 +09:00