-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
No warning when SSL certificate expired #405
Comments
On a related note, what would be a good workaround, assuming you cannot immediately change over the certs? Could you, say, pin the SSL fingerprints? Or even ignore SSL validation errors entirely? |
The main difficulty with TLS issues is reproducing them. If you have a recipe how to set up or connect to an existing IRC server with an expired cert, that would help. Regarding errors, on Emacs 26.1 and newer, |
Sadly no, not yet, at any rate. My ZNC provider is getting better at catching certificate expirations before they occur, so I'm not sure when's the next time I'd be unintentionally hung from said error.. |
Turns out, Doom sets |
Interesting, I didn't expect this at all. Yet another example of your Emacs configuration being an unexpected culprit. I see three consequences arising from this:
Therefore I'll keep this open for now. |
NSM has better UX when an invalid/expired certificate is encountered: it prompts the user to decide what to do with it. If gnutls-verify-error is non-nil, gnutls either kills or hangs the connection. This is (mostly) acceptable in noninteractive sessions, where I can more tightly control outgoing connections, but not in interactive sessions where I stand a higher chance of stepping on the user's toes instead. Ref: emacs-circe/circe#405
A few days into using Circe, all of a sudden I couldn't connect to ZNC, more specifically, over TLS. After a frustrating amount of time, apparently my ZNC provider's SSL certificate expired and nobody noticed. After hanging indefinitely, I set
irc-debug-log
tot
and restarted, which did not show any logs whatsoever, as nothing was connected to at that stage. It would be helpful to alert the user when an SSL certificate is expired or invalid.The text was updated successfully, but these errors were encountered: