# Authtype capability for git-credential-osxkeychain, git-credential-libsecret and git-credential-wincred

1 messages from 2025-01-24 to 2025-01-24. Participants: M Hickford.
Thread: https://gitlist.dev/t/62849

## M Hickford, 2025-01-24 20:32

Subject: Authtype capability for git-credential-osxkeychain, git-credential-libsecret and git-credential-wincred
Message-ID: <CAGJzqs=MSc3VS0HO4OwXgBFJ+zBpj-CxKkLnsqbqVdnuEu_0Xg@mail.gmail.com>
URL: https://gitlist.dev/e/CAGJzqs%3DMSc3VS0HO4OwXgBFJ%2BzBpj-CxKkLnsqbqVdnuEu_0Xg%40mail.gmail.com

```
Hi. Does anyone have the expertise and inclination to add authtype
capability to credential helpers git-credential-osxkeychain,
git-credential-libsecret and git-credential-wincred? Currently only
git-credential-cache has this capability.

This would be useful for users storing bearer credentials (perhaps
generated by another helper), for example.

Specifically, the helpers should store and retrieve the
(non-confidential) authtype and (confidential) credential attributes.
This can be verified with test t0303-credential-external.sh (after
adding helper_test_authtype).

This might be suitable for a #leftoverbits microproject.

Thanks for reading

https://github.com/git/git/blob/master/t/lib-credential.sh
https://github.com/git/git/blob/master/t/t0303-credential-external.sh
https://github.com/git/git/blob/master/builtin/credential-cache.c
https://github.com/git/git/blob/master/contrib/credential/wincred/git-credential-wincred.c
https://github.com/git/git/blob/master/contrib/credential/osxkeychain/git-credential-osxkeychain.c
https://github.com/git/git/blob/master/contrib/credential/libsecret/git-credential-libsecret.c
https://git.github.io/General-Microproject-Information/

```
