Posts

Post not yet marked as solved
2 Replies
400 Views
Hi, I've noticed that the SFCertificatePanel is now displaying trust settings whereas it previous didn't. Further, the documentation explicitly states that it will not. This class displays certificate details, but not trust settings. To display a certificate with editable trust settings in a panel or sheet, use the SFCertificateTrustPanel class. To display certificates in a custom view, use the SFCertificateView class. https://developer.apple.com/documentation/securityinterface/sfcertificatepanel?language=objc Steps to reproduce: Load up a certificate object Show the panel Expected: The certificate details will be displayed, but the user will not be shown or be able to manipulate the trust settings Actual: The certificate details are displayed as well as Trust settings. More Information: I tested the same code on Mojave and Catalina. They match my expectations. However, on Big Sur 11.5 they don't. Is this a regression?
Posted
by Dave V.
Last updated
.
Post marked as solved
7 Replies
3.6k Views
Hi,I've created an application and set the User-Agent string like so:class GlobalUtils: NSObject { static let UserAgentString : String = "HttpClientSample" static let UserAgentVersion : String = "1.0" }let config = URLSessionConfiguration.default config.httpAdditionalHeaders = ["User-Agent": "\(GlobalUtils.UserAgentVersion)/\(GlobalUtils.UserAgentVersion)"] let defaultSession : URLSession = URLSession(configuration: config, delegate: self.CurrentSession!, delegateQueue: OperationQueue.main)However, I find that sometimes the user-agent appears to be in the format as$CFBundleName$/$Version$ CFNetwork/976 Darwin/18.20.0Do you know in what cases this would occur and how to control this behavior? When this occurs my HTTP requests don't go through the proxy server because they don't match my User-Agent.Thanks,Dave
Posted
by Dave V.
Last updated
.