unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15792: 24.3; Builtin TLS support should enable certificate verification support by default
@ 2013-11-02 15:05 Vincent Bernat
  2013-11-02 18:48 ` Glenn Morris
  0 siblings, 1 reply; 3+ messages in thread
From: Vincent Bernat @ 2013-11-02 15:05 UTC (permalink / raw)
  To: 15792

Hi!

New builtin TLS support disables certificate verification by
default. This is a very bad practice and the default should be to check
for certificate validity.

Moreover, the end-user of a package using this builtin support has no
easy way to enable the verification of TLS certificates. For example,
Gnus does not provide anything to enable this and as a simple user, it
seems quite difficult to ensure that certificates are verified. And each
package has the responsability to enable this option. This is
cumbersome.

Previously, enabling/disabling certificate verification was easy. You
set `tls-program` variable to something that checks or don't check for
certificates. For gnutls-client, this was a matter of using or not using
the `--insecure` switch.

I didn't find a way to disable the builtin TLS support (other than to
recompile Emacs).

I propose:

 1. Verify the certificates by default.
 2. Prompt the user if there is a problem.
 3. Add the possibility to not check for certificates by default.

I can provide a patch for the first step but I have little Emacs-fu for
the other two parts (all the more that most of the code is in C).
-- 
Use variable names that mean something.
            - The Elements of Programming Style (Kernighan & Plauger)





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

* bug#15792: 24.3; Builtin TLS support should enable certificate verification support by default
  2013-11-02 15:05 bug#15792: 24.3; Builtin TLS support should enable certificate verification support by default Vincent Bernat
@ 2013-11-02 18:48 ` Glenn Morris
  2013-11-02 21:07   ` Vincent Bernat
  0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2013-11-02 18:48 UTC (permalink / raw)
  To: Vincent Bernat; +Cc: 15792


See http://debbugs.gnu.org/13374 and related discussion.





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

* bug#15792: 24.3; Builtin TLS support should enable certificate verification support by default
  2013-11-02 18:48 ` Glenn Morris
@ 2013-11-02 21:07   ` Vincent Bernat
  0 siblings, 0 replies; 3+ messages in thread
From: Vincent Bernat @ 2013-11-02 21:07 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 15792-close

 ❦  2 novembre 2013 19:48 CET, Glenn Morris <rgm@gnu.org> :

> See http://debbugs.gnu.org/13374 and related discussion.

Thanks! Sorry for the duplicate, I didn't find this bug report.
-- 
printk("??? No FDIV bug? Lucky you...\n");
	2.2.16 /usr/src/linux/include/asm-i386/bugs.h





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

end of thread, other threads:[~2013-11-02 21:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-02 15:05 bug#15792: 24.3; Builtin TLS support should enable certificate verification support by default Vincent Bernat
2013-11-02 18:48 ` Glenn Morris
2013-11-02 21:07   ` Vincent Bernat

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).