Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(ios) patch SocketRocket to support WebSocket with TLS 1.3
Saúl Ibarra Corretgéb082354773e8
diff --git a/ios/Podfile b/ios/Podfileindex cf2fe72ebb..4c350da549 100644--- a/ios/Podfile+++ b/ios/Podfile@@ -97,4 +97,7 @@ post_install do |installer|config.build_settings['OTHER_SWIFT_FLAGS'] = '$(inherited) -no-verify-emitted-module-interface'endend++ # Patch SocketRocket to support TLS 1.3+ %x(patch Pods/SocketRocket/SocketRocket/SRSecurityPolicy.m -N < patches/ws-tls13.diff)enddiff --git a/ios/Podfile.lock b/ios/Podfile.lockindex aad3e7413b..78c74d7358 100644--- a/ios/Podfile.lock+++ b/ios/Podfile.lock@@ -2209,6 +2209,6 @@ SPEC CHECKSUMS:SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940dYoga: 1dd9dabb9df8fe08f12cd522eae04a2da0e252eb-PODFILE CHECKSUM: 8a3e5d019861b37d4159f2d178cc534be3ac528c+PODFILE CHECKSUM: 4f6abcf3cec0d9e8e1d5f5d81a35d99adde9ae45COCOAPODS: 1.16.2diff --git a/ios/patches/ws-tls13.diff b/ios/patches/ws-tls13.diffnew file mode 100644index 0000000000..1f04e2eb46--- /dev/null+++ b/ios/patches/ws-tls13.diff@@ -0,0 +1,15 @@+diff --git a/SocketRocket/SRSecurityPolicy.m b/SocketRocket/SRSecurityPolicy.m+index 3759d26e..271477e8 100644+--- a/SocketRocket/SRSecurityPolicy.m++++ b/SocketRocket/SRSecurityPolicy.m+@@ -56,8 +56,8 @@ - (instancetype)init++ - (void)updateSecurityOptionsInStream:(NSStream *)stream+ {+- // Enforce TLS 1.2+- [stream setProperty:(__bridge id)CFSTR("kCFStreamSocketSecurityLevelTLSv1_2") forKey:(__bridge id)kCFStreamPropertySocketSecurityLevel];++ // Enforce TLS >= 1.2++ [stream setProperty:(__bridge id)kCFStreamSocketSecurityLevelNegotiatedSSL forKey:(__bridge id)kCFStreamPropertySocketSecurityLevel];++ // Validate certificate chain for this stream if enabled.+ NSDictionary<NSString *, id> *sslOptions = @{ (__bridge NSString *)kCFStreamSSLValidatesCertificateChain : @(self.certificateChainValidationEnabled) };