Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Certificate Pinning #19

Closed
steamonimo opened this issue Feb 14, 2018 · 3 comments
Closed

Certificate Pinning #19

steamonimo opened this issue Feb 14, 2018 · 3 comments
Assignees

Comments

@steamonimo
Copy link

steamonimo commented Feb 14, 2018

I need to verify my HTTPS requests via certificate pinning. Is there a way to verify the hash of the server certificate I am connecting to?

@ShihabMehboob
Copy link
Contributor

ShihabMehboob commented Feb 14, 2018

This has now been created on the following branch: https://github.com/IBM-Swift/SwiftyRequest/tree/cert_pinning

PR

@steamonimo
Copy link
Author

Thanks for this branch but I need a solution for macOS and Linux. My main problem is that the URLSessionDelegate in module Security is not available on Swift 4.0.3 for Linux. It seems that Swift for Linux is just one big construction site for years to come.

@ianpartridge
Copy link
Contributor

Yes I'm afraid this functionality is not going to be available on Linux for the foreseeable future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants