all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#34937: [PATCH] update user docs for emacs-gnutls; tofu and program vs built-in
@ 2019-03-21 16:26 Tara Sawyer
  2019-04-17  0:23 ` Noam Postavsky
  2019-04-17 11:06 ` Noam Postavsky
  0 siblings, 2 replies; 6+ messages in thread
From: Tara Sawyer @ 2019-03-21 16:26 UTC (permalink / raw)
  To: 34937; +Cc: Tara Sawyer

---
 doc/misc/emacs-gnutls.texi | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/doc/misc/emacs-gnutls.texi b/doc/misc/emacs-gnutls.texi
index add79d12e4..e79174d784 100644
--- a/doc/misc/emacs-gnutls.texi
+++ b/doc/misc/emacs-gnutls.texi
@@ -93,6 +93,24 @@ There's one way to find out if GnuTLS is available, by calling
 @url{http://sourceforge.net/projects/ezwinports/files/} thanks to Eli
 Zaretskii) in the same directory as Emacs, you should be OK.
 
+To debug GnuTLS problems, first check the messages buffer, and then
+check the function below @code{gnutls-log-level}
+
+If GnuTLS is not available as a built-in (@code{gnutls-available-p}
+returns an empty list (), emacs will call out to the @code{gnutls-cli}
+program to perform TLS connections.  If you need to modify
+the command it calls you can do this with the variable
+@code{tls-program}.
+For example, if you want to pin a certificate and use Trust On First
+Use(TOFU), then something like this:
+ @code{(add-to-list 'tls-program "gnutls-cli --tofu --x509cafile %t -p
+ %p %h ")}
+ will probably serve you well.
+
+
+
+@section Functions and Variables
+
 @defun gnutls-available-p
 This function returns non-@code{nil} if GnuTLS is available in this
 instance of Emacs, @code{nil} otherwise.  If GnuTLS is available, the
-- 
2.21.0






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

end of thread, other threads:[~2019-04-17 22:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-21 16:26 bug#34937: [PATCH] update user docs for emacs-gnutls; tofu and program vs built-in Tara Sawyer
2019-04-17  0:23 ` Noam Postavsky
2019-04-17 11:06 ` Noam Postavsky
2019-04-17 11:47   ` Noam Postavsky
2019-04-17 20:22     ` Tara Anne
2019-04-17 22:32       ` Noam Postavsky

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.