trivial make-signature.sh patch

This commit is contained in:
Taylor R Campbell 2011-01-15 23:03:20 -05:00 committed by Nick Mathewson
parent c947db7f4b
commit 0f728e200a
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
#!/bin/sh #!/bin/sh
set -eu
if test "$1" = "" ; then if test "$1" = "" ; then
echo "I need a package as an argument." echo "I need a package as an argument."
exit 1 exit 1
@ -59,7 +61,7 @@ $DIGESTOUTPUT
first few characters. If the digest does not match, you do not have first few characters. If the digest does not match, you do not have
the right package file. It could even be a forgery. the right package file. It could even be a forgery.
Frequentlty asked questions: Frequently asked questions:
Q: Why not just sign the package file, like you used to do? Q: Why not just sign the package file, like you used to do?
A: GPG signatures authenticate file contents, but not file names. If A: GPG signatures authenticate file contents, but not file names. If