You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should be using ephemeralSessionConfiguration instead as that "uses no persistent storage for caches, cookies, or credentials".
Additionally we should also be insisting on TLS protocol negotiation at a minimum of version 1.2. Possibly by using TLSMinimumSupportedProtocol, though that seems to have been deprecated and replaced with TLSMinimumSupportedProtocolVersion but we need to consider using that API cautiously when it comes to backwards compatibility.
When working on this issue please ensure to check other use of NSURLSession APIs as, for example, the sharedSession singleton is also problematic for the same reasons.
Hi @SpencerWallsworth - sorry for the (very slow!) response but I only just now noticed your comment when I was looking through issues. There is no precise timescale I can provide, however we are looking at ramping up development on this client library in the next couple of months and, as such, this issue is high on the backlog to be worked on then.
We use
NSURLSessionConfiguration
'sdefaultSessionConfiguration
singleton in ARTURLSessionServerTrust.m.We should be using
ephemeralSessionConfiguration
instead as that "uses no persistent storage for caches, cookies, or credentials".Additionally we should also be insisting on TLS protocol negotiation at a minimum of version 1.2. Possibly by using
TLSMinimumSupportedProtocol
, though that seems to have been deprecated and replaced withTLSMinimumSupportedProtocolVersion
but we need to consider using that API cautiously when it comes to backwards compatibility.When working on this issue please ensure to check other use of
NSURLSession
APIs as, for example, thesharedSession
singleton is also problematic for the same reasons.Also, for the purposes of breadcrumbs, see the question I asked in Slack to which paddybyers responded with:
┆Issue is synchronized with this Jira Bug by Unito
The text was updated successfully, but these errors were encountered: