Skip to content

Security watchOS xcode14.0 beta1

Alex Soto edited this page Jun 7, 2022 · 2 revisions

#Security.framework

diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h	2022-02-23 07:16:21.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h	2022-05-31 15:04:27.000000000 -0400
@@ -1023,6 +1023,8 @@
     @constant kSecUseDataProtectionKeychain Specifies a dictionary key whose value
         is a CFBooleanRef. Set to kCFBooleanTrue to use kSecAttrAccessGroup and/or
         kSecAttrAccessible on macOS without requiring the item to be marked synchronizable.
+    @constant kSecUseUserIndependentKeychain Specifies a dctionary key whose value is a CFBooleanRef
+        indicating whether the item is shared with other personas on the system.
 */
 extern const CFStringRef kSecUseItemList
     API_AVAILABLE(macos(10.6))
@@ -1040,6 +1042,9 @@
     API_AVAILABLE(macos(10.11), ios(9.0));
 extern const CFStringRef kSecUseDataProtectionKeychain
     API_AVAILABLE(macos(10.15), ios(13.0));
+extern const CFStringRef kSecUseUserIndependentKeychain
+    API_AVAILABLE(tvos(16.0))
+    API_UNAVAILABLE(macos, ios, watchos, macCatalyst);
 
 /*!
     @enum kSecUseAuthenticationUI Value Constants
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolOptions.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolOptions.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolOptions.h	2022-02-23 07:59:50.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolOptions.h	2022-05-31 15:03:47.000000000 -0400
@@ -34,8 +34,6 @@
 #include <dispatch/dispatch.h>
 #include <os/object.h>
 
-#define SEC_PROTOCOL_CERT_COMPRESSION_DEFAULT 1
-
 /*!
  * The following diagram shows how clients interact with sec_protocol_options
  * and sec_protocol_metadata when configuring and using network security protocols.
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h	2022-02-23 07:14:15.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h	2022-05-31 15:03:47.000000000 -0400
@@ -534,6 +534,7 @@
     certificate chain regardless of the errors being presented, for the
     current application/server/protocol combination.
  */
+__nullable
 CFDataRef SecTrustCopyExceptions(SecTrustRef trust)
     __OSX_AVAILABLE_STARTING(__MAC_10_9, __IPHONE_4_0);
 
Clone this wiki locally