authenticate: Support reading the hash or key from stdin.
authorLudovic Courtès <ludo@gnu.org>
Sat, 22 Mar 2014 21:46:11 +0000 (22:46 +0100)
committerLudovic Courtès <ludo@gnu.org>
Sat, 22 Mar 2014 21:57:10 +0000 (22:57 +0100)
commit9b0a2233dbe8746015b97e97cef890d38fb44b0f
tree0c488f9d4eee8b85210e5976844b9bc38f3191fd
parent9dbe6e43ea9f7d2afccc3c9febcd7f399e819f01
authenticate: Support reading the hash or key from stdin.

* guix/scripts/authenticate.scm (guix-authenticate): Add clauses
  for ("rsautl" "-sign" "-inkey" key) and ("rsautl" "-verify" "-inkey" _
  "-pubin").
* tests/guix-authenticate.sh (hash): Add test using -sign and -verify in
  a pipeline.
guix/scripts/authenticate.scm
tests/guix-authenticate.sh