threads / discuss / 60765

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

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

## tl;dr

One message between Jan 19, 2024 and Jan 19, 2024.

replies: 0people: 1as markdown or json

M Hickford· Jan 19, 2024, 08:00 UTC · lore

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

← back to recent threads