~ruther/guix-local

ref: 79601521fceb6b2f76d87cf3df45a76e43b1ffcf guix-local/tests/guix-authenticate.sh -rw-r--r-- 2.9 KiB
af018f5e — Ludovic Courtès 11 years ago
Merge branch 'master' into core-updates
6f695885 — Ludovic Courtès 12 years ago
authenticate: Allow signatures with binary data to be written to stdout.

Fixes <http://bugs.gnu.org/17312>.

* guix/scripts/authenticate.scm (guix-authenticate): Add calls to
  'set-port-encoding!' and 'set-port-conversion-strategy!'.  Wrap body
  in 'with-fluids' form that sets '%default-port-encoding' and
  '%default-port-conversion-strategy'.
* tests/guix-authenticate.sh: Add test.
* tests/pk-crypto.scm ("hash corrupt due to restrictive locale
  encoding"): Add reference to bug.
9b0a2233 — Ludovic Courtès 12 years ago
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.
2f265602 — Ludovic Courtès 12 years ago
Merge branch 'master' into core-updates
0820098d — Ludovic Courtès 12 years ago
authenticate: Add test.

* tests/guix-authenticate.sh: New file.
* Makefile.am (SH_TESTS): Add it.