diff options
author | Bo Anderson <mail@boanderson.me> | 2024-02-17 23:34:55 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-04-01 15:38:20 -0700 |
commit | e3cef40db89f5a7c91f4e9d6c4959ca1e41f4647 (patch) | |
tree | 8d2eb6b353605694002c39ef90c282070fabc6ed /builtin/commit.c | |
parent | 9032bcad82f45a403e4a8de86e1fcb4bfd1ab282 (diff) |
osxkeychain: erase matching passwords only
Other credential helpers support deleting credentials that match a
specified password. See 7144dee3ec (credential/libsecret: erase matching
creds only, 2023-07-26) and cb626f8e5c (credential/wincred: erase
matching creds only, 2023-07-26).
Support this in osxkeychain too by extracting, decrypting and comparing
the stored password before deleting.
Fixes the following test failure with osxkeychain:
11 - helper (osxkeychain) does not erase a password distinct from
input
Signed-off-by: Bo Anderson <mail@boanderson.me>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions