threads / discuss / 62849

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

Subject: Authtype capability for git-credential-osxkeychain, git-credential-libsecret and git-credential-wincred

## tl;dr

One message between Jan 24, 2025 and Jan 24, 2025.

replies: 0people: 1as markdown or json

M Hickford· Jan 24, 2025, 20:32 UTC · lore

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/

← back to recent threads