Which macOS versions does Git support?
- From
M Hickford <mirth.hickford@gmail.com>
- Date
- May 19, 2023, 07:00 UTC
- Message-ID
- <CAGJzqsnS3SnoW__aPQ+13s+-b3a+makCjWxR=z6mjgBBnuKjLg@mail.gmail.com>
Hi. Does anyone know which macOS versions are supported by Git?
Motivation: I spotted that git-credential-osxkeychain.c uses a deprecated API. SecKeychainAddInternetPassword was deprecated in 2014's macOS 10.10 [1]. Replacement SecItemAdd was introduced in 2009's macOS 10.6 [2].
Further motivation: If I understand the documentation correctly, the new SecItemAdd API has better support for storing attributes alongside secrets, which might be handy for storing Git credential's new password_expiry_utc attribute (d208bfd, credential: new attribute password_expiry_utc, 2023-02-18).
[0] https://github.com/git/git/blob/master/contrib/credential/osxkeychain/git-credential-osxkeychain.c [1] https://developer.apple.com/documentation/security/1393322-seckeychainaddinternetpassword?language=objc [2] https://developer.apple.com/documentation/security/1401659-secitemadd?language=objc