Comments (5)
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?
from circe.
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, make-network-process
is used in combination with gnutls-boot-parameters
to launch a process using the GnuTLS library. There are intentionally no parameters set to let GnuTLS perform the verification, instead this is done by NSM if available, precisely to display warnings about expired certificates and allow the user to ignore them. What you've described should therefore not happen in the first place and workarounds shouldn't be necessary either.
from circe.
If you have a recipe how to set up or connect to an existing IRC server with an expired cert
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..
from circe.
this is done by NSM if available, precisely to display warnings about expired certificates and allow the user to ignore them.
Turns out, Doom sets gnutls-verify-error
to t
- setting it to nil
brings up a prompt and then I can pin my expired cert. You may close this if you want.
from circe.
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:
- Circe issues should use a minimal config (Evil and Helm offer scripts for reproduction purposes) for reproducability
- Doom should be informed about
gnutls-verify-error
interacting with nsm.el - Circe should explicitly bind
gnutls-verify-error
when using it with nsm.el to guard against this
Therefore I'll keep this open for now.
from circe.
Related Issues (20)
- Emacs 27.1 obsoleted tls.el
- [Question] how do I disable tracking from using the modeline? HOT 3
- Support /mode setting
- tracking mode & lui HOT 1
- Run the test suite on pullrequests and commits to master HOT 2
- Support Emacs 28's emojis HOT 3
- Problems with non-ANSI characters in channel names HOT 1
- Encrypting and decrypting key and cert files HOT 3
- Confusing logic for `circe-server-killed-confirmation` settings HOT 2
- debugging connection to irc twich server HOT 1
- circe-user definition HOT 1
- bitlbee thru circe: Warning (emacs): Unknown option :lagmon-disabled, ignored HOT 2
- Kindly add /list command HOT 3
- Please tag a new release HOT 2
- Using circe-display-images can lookup Emacs when retrieving images HOT 1
- Upload to nonGNU ELPA
- How to view channel list? HOT 3
- Command abbreviation support HOT 1
- Please tag a new version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from circe.