Re: Which macOS versions does Git support?
- From
Jeff King <peff@peff.net>
- Date
- May 19, 2023, 09:09 UTC
- Message-ID
- <20230519090917.GB3515410@coredump.intra.peff.net>
- In-Reply-To
- <CAGJzqsnS3SnoW__aPQ+13s+-b3a+makCjWxR=z6mjgBBnuKjLg@mail.gmail.com>
On Fri, May 19, 2023 at 08:00:00AM +0100, M Hickford wrote:
> Hi. Does anyone know which macOS versions are supported by Git?
I don't think we have any formal decision here (or for any other platform; it is usually a cost/benefit for individual features we may want to depend on).
> 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].
+cc Taylor, who I know was looking into this recently.
I'd guess that anything older than 2009 is probably not worth worrying about.
Show 5 quoted lines
> 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).
Yeah, that would be a nice bonus (in addition to avoiding a deprecated interface).
-Peff