Authtype capability for git-credential-osxkeychain, git-credential-libsecret and git-credential-wincred
- From
M Hickford <mirth.hickford@gmail.com>
- Date
- Jan 24, 2025, 20:32 UTC
- Message-ID
- <CAGJzqs=MSc3VS0HO4OwXgBFJ+zBpj-CxKkLnsqbqVdnuEu_0Xg@mail.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/