Hacker GitHub

← All repos

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

Mentions per year 8 mentions · busiest year 2015 (5)
20082026
  1. 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…
  2. …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…
  3. …the hash of the content, and outputs it IF AND ONLY IF it matches the provided hash checksum." [ https://github.com/jbenet/hashpipe ]
  4. …included some checksum which was checked before piping into the `sh`? hashpipe does exactly that: https://github.com/jbenet/hashpipe
    comment by itistoday2 · 2015-06-21 · in Asciinema
  5. 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
  6. 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
  7. you're right https://github.com/jbenet/hashpipe/issues/3
    comment by _prometheus · 2015-04-03 · in Hashpipe – Pipe iff the hash matches
  8. …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