https://bugs.winehq.org/show_bug.cgi?id=57932
Bug ID: 57932 Summary: mountmgr.sys uses SecKeychain APIs deprecated in macOS 10.10 Product: Wine Version: 10.3 Hardware: aarch64 OS: MacOS Status: UNCONFIRMED Severity: normal Priority: P2 Component: mountmgr.sys Assignee: wine-bugs@winehq.org Reporter: jinoh.kang.kr@gmail.com CC: bshanks@codeweavers.com
SecKeychain APIs are deprecated in macOS 10.10:
../dlls/mountmgr.sys/cred.c:138:12: error: 'SecKeychainSearchCopyNext' is deprecated: first deprecated in macOS 10.7 - SecKeychainSearch is not supported [-Werror,-Wdeprecated-declarations] while (SecKeychainSearchCopyNext( search, &item ) == noErr) ^ /Applications/Xcode15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecKeychainSearch.h:71:10: note: 'SecKeychainSearchCopyNext' has been explicitly marked deprecated here OSStatus SecKeychainSearchCopyNext(SecKeychainSearchRef searchRef, SecKeychainItemRef * __nonnull CF_RETURNS_RETAINED itemRef) ^ ../dlls/mountmgr.sys/cred.c:149:18: error: 'SecKeychainItemCopyAttributesAndData' is deprecated: first deprecated in macOS 10.10 - SecKeychain is deprecated [-Werror,-Wdeprecated-declarations] status = SecKeychainItemCopyAttributesAndData( item, &info, NULL, &attr_list, NULL, NULL ); ^ Note that Wine only supports macOS 10.12 and above (according to https://gitlab.winehq.org/wine/wine/-/merge_requests/6866).