-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS build of Heimdal uses deprecated SecKeychainFindGenericPassword API #1168
Comments
I also looked for Apple's version of Heimdal, but what I could find at https://github.com/apple-opensource/Heimdal hasn't been updated in two years and still has the same SecKeychainFindGenericPassword: And I don't see anything newer than 597.140.2 at https://opensource.apple.com/source/Heimdal. |
That Apple repo is not published by Apple, but uses scripts to import
from the tarballs Apple provide.
So there may be a more recent update out there, but not imported.
|
I took a look a few days ago at how to fix this, but I ran out of time and energy. I'm tempted to disable deprecation warnings for now. |
That would be be the safe approach I think, at perhaps just on MacOS?
|
Just in that file. |
Tested on macOS Venture 13.4. Not sure if this requires some compatibility ifdefs for older macOS. fix heimdal#1168
Tested on macOS Venture 13.4. Not sure if this requires some compatibility ifdefs for older macOS. fix #1168
Describe the bug
To Reproduce
submit any pull request to Heimdal
Expected behavior
macOS build passes (or, more generally, GitHub Actions succeed on pull request when the PR works)
Additional context
It looks like Apple wants things to use some kind of SecItem API, according to some random web searching and a cursory glance at this documentation: https://developer.apple.com/documentation/security/keychain_services/keychain_items
Here is another project that appears to have switched from SecKeychainFindGenericPassword to the SecItem API, which may be helpful for comparison, although it has a lot of extra goop in Python FFI wrappers:
jaraco/keyring#522
The text was updated successfully, but these errors were encountered: