[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17127: `call-process' circumvents password concealment w/ `read-pass
From: |
Nathan Trapuzzano |
Subject: |
bug#17127: `call-process' circumvents password concealment w/ `read-passwd' |
Date: |
Thu, 27 Mar 2014 22:39:41 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
Stefan Monnier <monnier@IRO.UMontreal.CA> writes:
> This looks fairly contrived. How did you stumble upon this problem?
Copy/pasting passwords from console password manager to emacs running on
terminal emulator in X. The built-in copy/paste functionaly for the X
clipboard only works (AFAIK) with graphical emacs, so I use my own
commands to make it work on a terminal. Here's the one that made me
catch it:
(defun paste-from-X-clipboard ()
"Insert the X clipboard contents at point."
(interactive)
(call-process "xclip" nil t nil "-selection" "clipboard" "-o"))
I use that to paste passwords when, e.g., finding remote files via
ssh/TRAMP.