News for hackers. Stuff that matters.
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?

    curl ... | confirm | apt-key ...
Of course there's no such thing as a stderr input stream, so I'm not sure this would even be possible.
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.