From: Andreas Schwab <schwab@suse.de>
To: Barry Warsaw <barry@python.org>
Cc: 28500@debbugs.gnu.org, Mike Kupfer <mkupfer@alum.berkeley.edu>
Subject: bug#28500: 25.3; shell mode starts echoing command
Date: Tue, 19 Sep 2017 15:36:09 +0200 [thread overview]
Message-ID: <mvmbmm66cae.fsf@suse.de> (raw)
In-Reply-To: <27B67310-AFA1-42A3-B0F4-70D567A837CE@python.org> (Barry Warsaw's message of "Tue, 19 Sep 2017 09:20:06 -0400")
On Sep 19 2017, Barry Warsaw <barry@python.org> wrote:
> On Sep 19, 2017, at 03:34, Andreas Schwab <schwab@suse.de> wrote:
>>
>> On Sep 18 2017, Mike Kupfer <mkupfer@alum.berkeley.edu> wrote:
>>
>>> I see the same issue after using openssl to encrypt or decrypt a file.
>>> Just never got around to filing a bug report...
>>>
>>> -----8<-----8<-----
>>> alto$ openssl aes-256-cbc -in foo.txt -out foo.text.enc
>>> enter aes-256-cbc encryption password:
>>> Verifying - enter aes-256-cbc encryption password:
>>> alto$ ls
>>> ls
>>> deb9-upgrade.log foo.text.enc ieee-cs-election-receipt.pdf
>>> enchant.dummy* foo.txt net-neutrality-comments.pdf
>>> alto$ echo $SHELL
>>> echo $SHELL
>>> /bin/bash
>>> alto$
>>> ----->8----->8-----
>>>
>>> I see this on Debian 8 and on Solaris, with various versions of Emacs.
>>
>> This is a bug in openssl, it doesn't properly restore the tty settings
>> after reading the password.
>
> Andreas, can you provide any additional details? What exactly is not getting restored? Are the other two examples I posted (python3 and sqlite3) related? Why would it occur on (for me) macOS but not Ubuntu?
$ stty; openssl aes-256-cbc -in foo.txt -out foo.text.enc; stty
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
next prev parent reply other threads:[~2017-09-19 13:36 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-18 15:46 bug#28500: 25.3; shell mode starts echoing command Barry A. Warsaw
2017-09-19 0:45 ` Glenn Morris
2017-09-19 0:54 ` Nick Helm
2017-09-19 1:05 ` Mike Kupfer
2017-09-19 2:49 ` Barry Warsaw
2017-09-19 7:34 ` Andreas Schwab
2017-09-19 13:20 ` Barry Warsaw
2017-09-19 13:36 ` Andreas Schwab [this message]
2017-09-19 14:49 ` Barry Warsaw
2017-09-20 0:19 ` Barry Warsaw
2017-09-20 6:12 ` Eli Zaretskii
2017-09-20 13:39 ` Barry Warsaw
2017-09-20 13:49 ` Eli Zaretskii
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=mvmbmm66cae.fsf@suse.de \
--to=schwab@suse.de \
--cc=28500@debbugs.gnu.org \
--cc=barry@python.org \
--cc=mkupfer@alum.berkeley.edu \
/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).