[swift-users] Alamofire on Linux
Alex Blewitt
alblue at apple.com
Wed Jan 25 08:03:50 CST 2017
It would be worth asking on swift-server-dev as well.
> On 24 Jan 2017, at 20:20, Jon Shier via swift-users <swift-users at swift.org> wrote:
>
> Swifters:
> I’m one of the two maintainers for the Alamofire networking library. We’re in the process of porting Alamofire to Linux but have run into a major issue. We’re looking for feedback on our GitHub issue here: https://github.com/Alamofire/Alamofire/issues/1935 <https://github.com/Alamofire/Alamofire/issues/1935>. Our issue is that the Security framework that provides SecTrust, SecCertificate, etc. does not exist for Linux. Alamofire uses this framework to provide certificate pinning and other security related settings through our ServerTrustPolicy type. Without it, Alamofire would have to rely solely on the security provided by URLSession. So we’ve opened the afore linked GitHub issue to discuss what the community wants to do going forward. Frankly, without an official solution provided with Swift, we’re likely going to have to refactor Alamofire to decouple the ServerTrustPolicy from our SessionManager and ship Alamofire on Linux without certificate validation. However, we’d like to gather input from the community first. So if anyone would like to add input, please comment on the GitHub issue so we can make a plan to finally bring Alamofire to Linux.
>
>
>
> Jon Shier
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20170125/37fe7ba0/attachment.html>
More information about the swift-users
mailing list