all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* ALPN support for GnuTLS connections
@ 2024-09-29  8:23 Eric Marsden
  2024-09-30  9:21 ` Robert Pluim
  0 siblings, 1 reply; 23+ messages in thread
From: Eric Marsden @ 2024-09-29  8:23 UTC (permalink / raw)
  To: emacs-devel

Hello,

The GnuTLS support in Emacs does not seem to support the TLS extension
Application Layer Protocol Negotiation (ALPN). ALPN is no longer just useful for
faster TLS handshakes (in HTTP/2, for example); it is mandatory in certain uses
of TLS.

The GnuTLS library does support ALPN (since 2013, it seems). My understanding is
that definitions for the two functions described here would need to be added to
gnutls.c:

   https://www.gnutls.org/manual/html_node/Application-Layer-Protocol-Negotiation-_0028ALPN_0029.html


Use case: the recent 17.0 release of PostgreSQL has added a "direct TLS"
connection mode which requires ALPN. Some hosted PostgreSQL providers only offer
direct TLS connections (I presume this allows them to use standard TLS
gateways). I would like to allow connections to these services using the pg-el
library (https://github.com/emarsden/pg-el), which implements the PostgreSQL
wire protocol.





^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2024-11-18 16:57 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-29  8:23 ALPN support for GnuTLS connections Eric Marsden
2024-09-30  9:21 ` Robert Pluim
2024-09-30 10:21   ` Eric Marsden
2024-09-30 13:13     ` Robert Pluim
2024-09-30 17:26       ` Eric Marsden
2024-10-07  8:22         ` Robert Pluim
2024-10-10 13:54           ` Robert Pluim
2024-10-10 16:23             ` Eli Zaretskii
2024-10-11  7:32               ` Robert Pluim
2024-10-12  9:30             ` Eric Marsden
2024-10-14  9:22               ` Robert Pluim
2024-10-15  7:06                 ` Eric Marsden
2024-10-18 12:37                   ` Robert Pluim
2024-10-15  3:02               ` Richard Stallman
2024-10-15  7:33                 ` Eric Marsden
2024-10-22  5:38                   ` Richard Stallman
2024-10-31 13:31                     ` Eric Marsden
2024-11-18  4:06                       ` Richard Stallman
2024-11-08 22:17                     ` Björn Bidar
     [not found]                     ` <87fro1jrq4.fsf@>
2024-11-11  5:12                       ` Richard Stallman
2024-11-11 17:15                         ` Björn Bidar
     [not found]                         ` <87y11pu1x4.fsf@>
2024-11-15  4:45                           ` Richard Stallman
2024-11-18 16:57                             ` Björn Bidar

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.