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

[Help wanted] git-credential-osxkeychain support for attributes password_expiry_utc and oauth_refresh_token

From
M Hickford <mirth.hickford@gmail.com>
Date
Jan 19, 2024, 08:00 UTC
Message-ID
<CAGJzqsmd0mEjH-iB2RZLTkGw37W6y_vVvS1vDKgObofAfprBnw@mail.gmail.com>

Hi. Git 2.41 introduced credential attributes password_expiry_utc and oauth_refresh_token [1]. Credential helper git-credential-osxkeychain currently silently discards these attributes. Is any keen macOS developer interested in adding support? This would greatly help git-credential-oauth users on macOS [2].

Details: the design could follow git-credential-libsecret [3]. There
are already tests in t030-credential-external [4].

The work is small enough it might count as a microproject, though it's atypical because it's platform specific to macOS. https://git.github.io/General-Microproject-Information/

Kind regards -M

[1] https://git-scm.com/docs/git-credential/#IOFMT [2] https://github.com/hickford/git-credential-oauth/issues/42 [3] https://github.com/git/git/blob/a54a84b333adbecf7bc4483c0e36ed5878cac17b/contrib/credential/libsecret/git-credential-libsecret.c#L157-L177 [4] https://github.com/git/git/blob/a54a84b333adbecf7bc4483c0e36ed5878cac17b/t/lib-credential.sh#L436-L538

Message 1 of 1 in “[Help wanted] git-credential-osxkeychain support for attributes password_expiry_utc and oauth_refresh_token”
  1. M HickfordJan 19, 2024

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.