1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-04 14:40:54 -08:00
emacs/doc/misc
Robert Pluim f3f9a3582e Check for client certificates when using GnuTLS
This fixes Bug#33780, and extends the documentation to describe how to
enable use of client certificates.

* lisp/net/network-stream.el (network-stream-certificate): Correct
order of parameters to plist-get.
(network-stream-open-tls): Pass all received parameters to
open-gnutls-stream as plist, not just :nowait.

* lisp/net/gnutls.el (open-gnutls-stream): Change optional nowait arg
to be plist.  Derive nowait and client certificate(s) and keys(s) from
plist (maybe via auth-source) and pass to gnutls-boot-parameters and
gnutls-negotiate.
(network-stream-certificate): Add declare-function form for it.

* doc/misc/auth.texi (Help for users): Describe format to use for
client key/cert specification.

* doc/misc/emacs-gnutls.texi (Help For Developers): Describe usage of
optional plist argument.  Add crossreference to description of
.authinfo format for client key/cert specification.

* etc/NEWS: Describe new client certificate functionality for
  'open-network-stream'.

* test/lisp/net/network-stream-tests.el: Add require of network-stream.
(connect-to-tls-ipv4-nowait): Bind network-security-level to 'low
in order to bypass nsm prompting.
(connect-to-tls-ipv6-nowait): Likewise.
(open-network-stream-tls-wait): New test.
(open-network-stream-tls-nowait): New test.
(open-network-stream-tls): New test.
(open-network-stream-tls-nocert): New test.
(open-gnutls-stream-new-api-default): New test.
(open-gnutls-stream-new-api-wait): New test.
(open-gnutls-stream-old-api-wait): New test.
(open-gnutls-stream-new-api-nowait): New test.
(open-gnutls-stream-old-api-nowait): New test.
(open-gnutls-stream-new-api-errors): New test.
The new tests exercise 'open-network-stream' and the old and new
api of 'open-gnutls-stream'.
2019-01-24 11:36:47 +01:00
..
ada-mode.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
auth.texi Check for client certificates when using GnuTLS 2019-01-24 11:36:47 +01:00
autotype.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
bovine.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
calc.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cc-mode.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
ChangeLog.1 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
cl.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
dbus.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
dired-x.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
doclicense.texi Merge from Gnulib 2017-10-01 18:31:10 -07:00
ebrowse.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
ede.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ediff.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
edt.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
efaq-w32.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
efaq.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
eieio.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
emacs-gnutls.texi Check for client certificates when using GnuTLS 2019-01-24 11:36:47 +01:00
emacs-mime.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
epa.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
erc.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
ert.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
eshell.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
eudc.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
eww.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
flymake.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
forms.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
gnus-coding.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
gnus-faq.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
gnus-news.el Fix copyright years by hand 2019-01-01 01:02:40 +00:00
gnus-news.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
gnus-overrides.texi
gnus.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
gpl.texi Merge from Gnulib 2017-10-01 18:31:10 -07:00
htmlfontify.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
idlwave.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
ido.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
info.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
mairix-el.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
Makefile.in Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
message.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
mh-e.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
newsticker.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
nxml-mode.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
octave-mode.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
org.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
pcl-cvs.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
pgg.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
rcirc.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
reftex.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
remember.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
sasl.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
sc.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
sem-user.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
semantic.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
ses.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
sieve.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
smtpmail.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
speedbar.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
srecode.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
texinfo.tex Update from Gnulib 2018-12-31 18:20:07 -08:00
todo-mode.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
tramp.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
trampver.texi Respect setgid bit of the upper directory in Tramp 2019-01-22 10:38:49 +01:00
url.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
vhdl-mode.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
vip.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
viper.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
widget.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
wisent.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
woman.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00