[Bug 963548] New: fish: openssl complains bad password read when piping through an alias function
http://bugzilla.suse.com/show_bug.cgi?id=963548 Bug ID: 963548 Summary: fish: openssl complains bad password read when piping through an alias function Classification: openSUSE Product: openSUSE Tumbleweed Version: 2015* Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: hguo@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- fish is v2.2.0-2.2 Define a function that works as a command alias, for example: function grep /usr/bin/grep -i -E --color=auto $argv end Then run an openssl command that requires reading a password, and pipe the output through the function: openssl enc -aes256 -in encrypted -d | grep abc Immediately results in openssl error "bad password read", and no attempt is made to read a password. If the pipe destination was not a function, openssl has no trouble reading the password: openssl enc -aes256 -in pass -d | /usr/bin/grep -i -E --color=auto abc -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=963548
Chenzi Cao
http://bugzilla.suse.com/show_bug.cgi?id=963548
http://bugzilla.suse.com/show_bug.cgi?id=963548#c1
Dr. Werner Fink
http://bugzilla.suse.com/show_bug.cgi?id=963548
Chenzi Cao
http://bugzilla.suse.com/show_bug.cgi?id=963548
http://bugzilla.suse.com/show_bug.cgi?id=963548#c2
--- Comment #2 from Sean Watson
http://bugzilla.suse.com/show_bug.cgi?id=963548
http://bugzilla.suse.com/show_bug.cgi?id=963548#c3
Chenzi Cao
http://bugzilla.suse.com/show_bug.cgi?id=963548
http://bugzilla.suse.com/show_bug.cgi?id=963548#c4
--- Comment #4 from Sean Watson
http://bugzilla.suse.com/show_bug.cgi?id=963548
http://bugzilla.suse.com/show_bug.cgi?id=963548#c5
Howard Guo
participants (1)
-
bugzilla_noreply@novell.com