git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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/

Message 1 of 1 in “Authtype capability for git-credential-osxkeychain, git-credential-libsecret and git-credential-wincred”
  1. M HickfordJan 24, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.