-
Notifications
You must be signed in to change notification settings - Fork 55
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
Support for https endpoints in witnesses and controllers #555
Support for https endpoints in witnesses and controllers #555
Conversation
tests are passing! |
https://github.com/WebOfTrust/keripy/pull/555/files#diff-a4229d5895c922898cdeb03b5bb5c550ea2bf933cef6772027ffa763936ca630R734 here too, though I'm less sure here - you may need a new class? I think if you did, it would be very similar and probably a small refactor |
Thanks for the catch. I added the change there and in other places as well.
Changed there too. I don't think a new class is needed. Everything is handled by the same |
oops, tests failing. Fixing... |
I'm afraid we need a more comprehensive solution to this. Just defaulting to either HTTP or HTTPs may cause problems in the future. Now that we want to support. HTTPs, I think we should allow for it to fail if only HTTP is available which this code will not do. We probably need to figure out how to make this a parameter passed into the methods for querying or publishing to a witness. |
isn't the |
No. This is about endpoint URLs, not the OOBIs. They are unrelated. |
It doesn't matter what scheme is used for an OOBI, the resolution of that OOBI can return endpoints with any scheme they want. The controller may only want to use witnesses that expose HTTPs. With this code, the user could end up using witnesses with HTTP and not even be aware. |
got the point. This patch definitively does not solve that problem. It only allows |
Decision made in last keri-dev community meeting to merge this PR as is and open a new issue for more enhanced support of HTTPs allowing the controller initiating a connection to specify the schemes that they want to use. |
No description provided.