From: nljlistbox2@gmail.com (N. Jackson)
To: help-gnu-emacs@gnu.org
Subject: User interface to bad certificate warning -- how to use?
Date: Sun, 31 Jan 2016 16:53:45 -0400 [thread overview]
Message-ID: <878u35eahy.fsf@gmail.com> (raw)
In the pre-release for Emacs 25 (25.0.90) I get a warning message when
Gnus tries to connect to my local Dovecot IMAP server. The warning
message correctly states that "The TLS connection to localhost:993 is
insecure ..." because I have a self-signed certificate (among other
problems with it).
I'm very happy that this functionality is now in Emacs.
My question is about how the user is intended to interact with this
warning, since there are several rather confusing things about it.
The warning is shown in a help window while simultaneously there is a
prompt displayed in the minibuffer:
Continue connecting? (No, Session only, Always)
Is the user intended to type in the full text of their choice or the
first letter or what? If the first letter, must it be capitalised as
shown? The prompt seems to disappear when _any_ key is pressed; for
example I tried to copy the prompt to the clipboard and it disappeared
when I started to select it -- I've no idea which of the three choices
it decided I had entered. This seems rather surprising behaviour for the
minibuffer.
After the prompt is gone, the help window remains but the buffer itself
is gone. This seems to be rather the opposite of what would be useful.
Wouldn't it be better if the buffer with the details about the
problematic certificate persisted and the help window was closed?
Furthermore, the information in the help buffer is in a confusing order:
Certificate information
Issued by: imap.example.com
Issued to: IMAP server
Hostname: imap.example.com
Public key: RSA, signature: RSA-SHA1
Protocol: TLS1.2, key: ECDHE-RSA, cipher: AES-128-GCM, mac: AEAD
Security level: Low
Valid: From 2013-09-07 to 2014-09-07
The TLS connection to localhost:993 is insecure for the following
reasons:
certificate signer was not found (self-signed)
certificate host does not match hostname
certificate has expired
the certificate was signed by an unknown and therefore untrusted authority
certificate could not be verified
Would it not be better if the statement of the problem "The TLS
connection ... is insecure" came first, and the detailed certificate
information came at the end.
I'm trying to understand why the interface is the way it is, and also
how the user is expected to interact with it.
next reply other threads:[~2016-01-31 20:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-31 20:53 N. Jackson [this message]
[not found] <mailman.3266.1454274013.843.help-gnu-emacs@gnu.org>
2016-02-01 5:02 ` User interface to bad certificate warning -- how to use? Lars Magne Ingebrigtsen
2016-02-02 2:17 ` N. Jackson
[not found] ` <mailman.3380.1454379463.843.help-gnu-emacs@gnu.org>
2016-02-02 3:57 ` Lars Magne Ingebrigtsen
2016-02-02 20:38 ` N. Jackson
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878u35eahy.fsf@gmail.com \
--to=nljlistbox2@gmail.com \
--cc=help-gnu-emacs@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 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.