pr-git-1529/hickford/fix-wincred-v2
tagged this
26 Jul 19:51
From: M Hickford <mirth.hickford@gmail.com> The credential erase request typically includes protocol, host, username and password. credential-wincred erases stored credentials that match protocol, host and username, regardless of password. This is confusing in the case the stored password differs from that in the request. This case can occur when multiple credential helpers are configured. Only erase credential if stored password matches request (or request omits password). This fixes test "helper (wincred) does not erase a password distinct from input" when t0303 is run with GIT_TEST_CREDENTIAL_HELPER set to "wincred". This test was added in aeb21ce22e (credential: avoid erasing distinct password, 2023-06-13). Signed-off-by: M Hickford <mirth.hickford@gmail.com> Submitted-As: https://lore.kernel.org/git/pull.1529.v2.git.git.1690401082695.gitgitgadget@gmail.com In-Reply-To: https://lore.kernel.org/git/pull.1529.git.git.1687596777147.gitgitgadget@gmail.com
Assets 2
-
2023-07-26T19:51:22Z -
2023-07-26T19:51:22Z - Loading