From: Oleksii Shevchuk <alxchk@gmail.com>
To: 13374@debbugs.gnu.org
Subject: bug#13374: 24.?; open-gnutls-stream insecurity
Date: Mon, 07 Jan 2013 12:20:45 +0200 [thread overview]
Message-ID: <87mwwlz43m.fsf@Black.ICE> (raw)
Hi list!
open-gnutls-stream wrapper doesn't pass :verify-hostname-error t
:verify-error t to gnutls-negotiate. So MitM is possible when you use
gnus and other packages.
Even with :verify-hostname-error t :verify-error t gnutls-negotiate
doesn't produce error with selfsigned CA certificate, when :type
'gnutls-x509pki passed.
I use next in my .gnus:
(defun open-gnutls-stream (name buffer host service)
(gnutls-negotiate :process (open-network-stream name buffer host service)
:hostname host
:verify-hostname-error t :verify-error t))
Works for me.
// ----
In GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, X toolkit)
of 2013-01-06 on BlackICE
Bzr revision: cyd@gnu.org-20130106025857-h1wkwx5cwvekj4l1
Windowing system distributor `The X.Org Foundation', version 11.0.11300000
System Description: Gentoo Base System release 2.2
Configured using:
`configure --prefix=/usr --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --libdir=/usr/lib64
--disable-dependency-tracking --program-suffix=-emacs-24-vcs
--program-transform-name=s/emacs-[0-9].*/emacs-24-vcs/
--infodir=/usr/share/info/emacs-24-vcs
--enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp
--with-crt-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../lib64
--with-gameuser=games --without-compress-info --without-hesiod
--without-kerberos --without-kerberos5 --with-gpm --with-dbus
--with-gnutls --with-xml2 --without-selinux --with-wide-int
--with-sound --with-x --without-ns --without-gconf --with-gsettings
--without-toolkit-scroll-bars --with-gif --with-jpeg --with-png
--with-rsvg --with-tiff --with-xpm --without-imagemagick --with-xft
--without-libotf --without-m17n-flt --with-x-toolkit=lucid
--without-xaw3d GENTOO_PACKAGE=app-editors/emacs-vcs-24.3.9999
EBZR_BRANCH=trunk EBZR_REVNO=111428'
Important settings:
value of $LC_ALL: ru_RU.UTF-8
value of $LANG: russian
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
next reply other threads:[~2013-01-07 10:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-07 10:20 Oleksii Shevchuk [this message]
2013-01-08 1:05 ` bug#13374: 24.?; open-gnutls-stream insecurity Glenn Morris
2013-01-08 4:20 ` Lars Magne Ingebrigtsen
2013-01-08 4:27 ` Glenn Morris
2013-01-08 4:42 ` Lars Magne Ingebrigtsen
2013-01-08 14:43 ` Ted Zlatanov
2013-01-08 14:49 ` Lars Magne Ingebrigtsen
2013-01-08 15:24 ` Ted Zlatanov
2013-01-08 17:06 ` Stefan Monnier
2013-12-18 22:50 ` Ted Zlatanov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mwwlz43m.fsf@Black.ICE \
--to=alxchk@gmail.com \
--cc=13374@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).