Re:On piping Curl to apt-key
by tlrobinson on Tuesday August 22, 2017 @07:03AM
(#15071235)
Would it be possible to write a "confirm" tool that writes stdin to stderr then waits for the user to press enter before writing to stdout?
Of course there's no such thing as a stderr input stream, so I'm not sure this would even be possible.
[ Parent
| on HN ]
Re:On piping Curl to apt-key
by adventureadmin on Tuesday August 22, 2017 @07:08AM
(#15071261)
Yes, but the proper thing to do is never curl to your terminal, especially a privileged terminal. And really, you shouldn't paste either.
Re:On piping Curl to apt-key
by MatthewWilkes on Tuesday August 22, 2017 @07:07AM
(#15071258)
That would only help if it were possible for a user to visually identify if a stream is not malicious.