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

1 messages from 2024-01-19 to 2024-01-19. Participants: M Hickford.
Thread: https://gitlist.dev/t/60765

## M Hickford, 2024-01-19 08:00

Subject: [Help wanted] git-credential-osxkeychain support for attributes password_expiry_utc and oauth_refresh_token
Message-ID: <CAGJzqsmd0mEjH-iB2RZLTkGw37W6y_vVvS1vDKgObofAfprBnw@mail.gmail.com>
URL: https://gitlist.dev/e/CAGJzqsmd0mEjH-iB2RZLTkGw37W6y_vVvS1vDKgObofAfprBnw%40mail.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

```
