-
-
Notifications
You must be signed in to change notification settings - Fork 132
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
option to ignore UnknownIssuer during TLS handshake #546
Comments
It is not really an error as it does not stop the app, but rather an informative log. Logs follow the
|
It appears to stop the app:
|
Oh wait, I did not understand you have an error following the log. I thought you just wanted to get rid of the log. Which OS do you run? FYI Himalaya uses |
Ubuntu 24.04.1
You mean in |
In |
Ok.
Ok, thanks! I would be interested in helping to add a very simple, non-interactive, account-specific option to Himalaya (disabled by default, could be enabled by option in config file) to catch and ignore this error from
Not my forte and have tried a couple things that have not worked, but learning more about it. |
I get a similar error trying to connect to the Proton Bridge v3.17.0.
|
Did you try to just disable encryption? |
No. I've had trouble finding the documentation. The himalaya book disappeared, so I've been running in circles with certificates. And didn't know "none" was acceptable as an encryption method. Ideally, I'd like to find a way to get self-signed certificates more easily supported with rustls applications. As of today, it's a real blain-splitter to get himalaya to query the proton bridge with SSL support set up correctly. |
In the Configuration section of the README you have a subsection for Proton Bridge. See also the
I agree. As I said in #556, at this point I will have to create a Proton account and debug myself Proton Bridge. Many things are not working as expected there. |
|
The discarded bytes are really strange, hence the MalformedMessage. @duesee is it allowed for IMAP servers to reply just |
No, it's not. But I was surprised there is no quirk yet. I implemented a quirk for this already but maybe it got lost during some refactoring... I'll add it :-) |
@soywod @duesee Maybe the situation is crystal clear to you, but on my end, with the proton bridge being local, setting up a half baked CA cert to resign proton bridge self signed cert, dabbling into cfssl for that, banging my head on mandatory STARTLS support and the himalaya config file that is changing month after month, well, I'm completely in the dark about the subtleties of the IMAP chunk of bytes I gave. I'm not even sure what I'm doing is half right, so...
Just saying... |
If it can sooth you a bit, we also feel the same regarding IMAP. Damian banged his head more than once about writing decent libaries about IMAP, and I banged my head more than once trying to write a usable email CLI. That's why we try to change (improve) things, but it's not easy. Welcome to the email world!
Sure. It looks like the IMAP server part of the Proton Bridge returns malformed messages. To be more precise, Proton Bridge initiates an empty continuation request
Not sure to fully understand this point, but the log you gave in this comment is quite explicit: #546 (comment) The I understand your frustation, and I am sorry about that. Unfortunately the email world reflects perfectly your frustration. Projects are still young, but we definitely want to improve things. It will take a while. |
No worry. I perfectly understand where you are at. |
I tried with mutt.
I'm not sure if the issue is himalaya specific. |
Does not look like the same issue? Really strange. A fix is on its way to accept empty continuation requests: duesee/imap-codec#639 |
Is there a config option to ignore the UnknownIssuer error?
E.g.:
This is a case where the mail server's TLS certificate is not signed by one of the usual CA's whose certificates are installed by default (e.g. on Ubuntu), and where I understand the risks involved in ignoring the error.
If there is not such an option, then I'd like to propose one as a new feature.
Thanks! Excited to try Himalaya once I get over this hurdle.
The text was updated successfully, but these errors were encountered: