-
Notifications
You must be signed in to change notification settings - Fork 92
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
Self signed certificates are not pinned, opening the door to MITM #40
Comments
What this means is that if you click "Accept" on a self signed certificate, and some evil CA or three-letter-agency decides to MITM you, they can completely override your self signed cert by offering your app a properly signed certificate. |
Also: yaxim-org/yaxim#187 |
This is a hard problem. There are several sides of it to consider:
|
Regarding 3, I think it's best to be verbose.
|
I actually would not call this a bug. @ge0rg I'm not sure about what kind of input you need here exactly. But I'd be ok with creating a new MTM instance for every connection using the host name in the constructor for example. But I'd prefer a 'proper' DANE solution as well. |
Ignoring the fact that different servers with self-signed certificates can mitm each other, you're right. |
Not if Hostname verification is done correctly. |
See https://github.com/siacs/Conversations/issues/1084 .
The text was updated successfully, but these errors were encountered: