Subject: bug#28500: 25.3; shell mode starts echoing command

From: Andreas Schwab <[email-masked]>
Date: Tue, 19 Sep 2017 09:34:27 +0200

On Sep 18 2017, Mike Kupfer <[email-masked]> 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.

-- 
Andreas Schwab, SUSE Labs, [email-masked]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."