jbenet/hashpipe
View on GitHub ↗ ★ 403 Go
hashpipe - pipe iff the hash matches
8 mentions on Hacker News by 5 people: 0 stories, 8 comments · first 2015-04-03 · latest 2016-11-16
20082026
-
You could use hashpipe ( https://github.com/jbenet/hashpipe ), from Juan Benet (the author of IPFS). It simply checks that the input to the command matches a given hash, so you can do `curl <url> | hashpipe <hash> | sh`, and if the output…
comment by mappum · 2016-11-16 · in Ask HN: What simple tools or products are you most proud of making? -
…reasons. A lot of people will not examine the source of what they're piping into the shell. To me, https://github.com/jbenet/hashpipe addresses a lot of these issues by pinning the content to a hash. You can't force somebody to read and…
comment by hbz · 2016-07-25 · in Show HN: Simple package manager for Dockerfiles -
…the hash of the content, and outputs it IF AND ONLY IF it matches the provided hash checksum." [ https://github.com/jbenet/hashpipe ]
comment by donquichotte · 2016-04-20 · in Detecting the use of “curl – bash” server side -
All great ideas! mind adding some to https://github.com/jbenet/hashpipe/issues ? over time we can implement some
comment by _prometheus · 2015-04-04 · in Hashpipe – Pipe iff the hash matches -
great point. if you have a good idea of how hashpipe should do it better pls comment at: https://github.com/jbenet/hashpipe/issues at least hashpipe stops the output, so this would not run the bad code. hashpipe would stop it: cat evil |…
comment by _prometheus · 2015-04-04 · in Hashpipe – Pipe iff the hash matches -
you're right https://github.com/jbenet/hashpipe/issues/3
comment by _prometheus · 2015-04-03 · in Hashpipe – Pipe iff the hash matches -
…be output until the hash matches. It currently buffers everything in memory, but might do this: https://github.com/jbenet/hashpipe/issues/1 (some settings dont have disk though). hashpipe is intended for most executable use cases (usually…
comment by _prometheus · 2015-04-03 · in Hashpipe – Pipe iff the hash matches