From: Phil Sainty <psainty@orcon.net.nz>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Ahmet BASTUG <bastugn@itu.edu.tr>, 36154@debbugs.gnu.org
Subject: bug#36154: 26.2; read-passwd function creates a security issue
Date: Thu, 10 Oct 2019 13:30:24 +1300 [thread overview]
Message-ID: <fa12a0df00445e63e82263a1e829d097@webmail.orcon.net.nz> (raw)
In-Reply-To: <87k19dtsag.fsf@gnus.org>
On 2019-10-10 12:25, Lars Ingebrigtsen wrote:
> I think it makes sense to allow users to do this -- this is something
> that should be up to them whether to do or not. So I'm closing this
> bug
> report. If anybody disagrees with this, please feel free to reopen.
A potential solution to this would to make the low-level kill functions
respect a new `inhibit-kill-ring' variable, such that nothing would be
added to the kill ring if that was non-nil.
A user option for the password entry routine could then be added to
control
whether or the variable was set by `read-passwd' when setting up the
minibuffer.
This facility might also have more general applicability, and perhaps
even warrant a minor mode. I can certainly envisage `inhibit-kill-ring'
being let-bound by users for specific cases, if they consider that
unwanted
kill ring pollution was occurring.
-Phil
next prev parent reply other threads:[~2019-10-10 0:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-09 20:01 bug#36154: 26.2; read-passwd function creates a security issue Ahmet BASTUG
2019-10-09 23:25 ` Lars Ingebrigtsen
2019-10-10 0:30 ` Phil Sainty [this message]
2019-10-10 0:49 ` Noam Postavsky
2019-10-10 3:01 ` Phil Sainty
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=fa12a0df00445e63e82263a1e829d097@webmail.orcon.net.nz \
--to=psainty@orcon.net.nz \
--cc=36154@debbugs.gnu.org \
--cc=bastugn@itu.edu.tr \
--cc=larsi@gnus.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.