Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by api

7 years ago

Putting malicious code before the signature doesn't work because gpg chops it out. It only outputs the verified part.

It is definitely a kludge though.

3 comments

api

Reply

e12e  7 years ago

So the shebang is redundant, except for testing during development? [ed: and for allowing the daring to just do curl|bash, I guess]

  • api  7 years ago

    It's not strictly necessary, no.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities