-
Notifications
You must be signed in to change notification settings - Fork 121
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
[feature/tls-diff] TLS certificate comparison #872
Conversation
- ConnectionIssueViewController: - compare against certificate stored in the bookmark where available - remove text-based rendering via CertificateViewController (and remove the class), replace it with the standard certificate view controller - adaptions to new ThemeCertificateViewController initialization where needed - update SDK
|
any way to build a server in which this feature can be tested? |
Valid cert ==> invalid certfirst connect to real server with SSL (demo.owncloud.org), then connect through Valid cert ==> other valid certSetup server with Traefik and let's encrypt (Cloudflare DNS only), then enable Cloudflare SSL proxy in front of it… |
i will try that. I was trying to avoid much extra effort setting up environments, but there will be room for learning. |
@jesmrec If you haven't tested this in an other way, yet: there is a quick guide on how to test this here in the SDK repo: https://github.com/owncloud/ios-sdk/blob/master/doc/TESTING.md#simulating-certificate-changes The files used in that example are next to it and can be found here. |
Thanks a lot!! that was totally helpful!! It works fine from my side. Information correctly shown in different themes, orientations, devices and fields. just two considerations from my side:
|
@jesmrec I commit the latest SDK commit into this branch. Not sure if this solves the problem, but you can have a look again. If this issue still exists, we can move forward after adding a new issue for that problem and we can solve this in 11.5.1. But you are right, UI elements without function should be hidden. |
SDK correctly updated. The UX issue is not a blocker, just a minor detail. approved |
…into feature/tls-diff
…ficates actually differ
@jesmrec Good catch. I made a change so that the |
works perfect! now it's more than approved. |
Description
When logging into an account and experiencing a different certificate that does not fulfill the rules for automatic acceptance as replacement, the issue it brings up now shows the differences between the two certificates to allow an informed decision by the user.
Screenshots (if appropriate):
Types of changes