~niedbalski/simplestreams/trunk

Viewing all changes in revision 337.

  • Committer: Scott Moser
  • Date: 2014-03-25 22:10:17 UTC
  • Revision ID: smoser@ubuntu.com-20140325221017-5hmmkukufy2w3l1j
read_signed: log gpg output and error on sign failure

the following gives output of the failed gpg message:
  make examples-signed
  rm -Rf gnupg
  ./tools/tenv sstream-mirror examples-signed/foocloud -vv my.out

Previously the user would be left guessing why that was bad.
Now, the output contains
  failed: gpg --batch --verify -
   out=
   err=gpg: keyblock resource `...': file open error
  ...
  gpg: Can't check signature: public key not found

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: