tags 321126 patch thanks Two possible solutions could be just to disable the test by default or to try to differentiate between different failure reasons in gpg-check. Here a proposed patch that exits with code 1 if the signature is broken or not existant and with code 0 if the signature just couldn't be verified:
diff -Naur dupload-2.6.3.1.bak/gpg-check dupload-2.6.3.1/gpg-check --- dupload-2.6.3.1.bak/gpg-check 2005-07-27 01:14:56.000000000 +0200 +++ dupload-2.6.3.1/gpg-check 2005-08-06 01:28:27.356797944 +0200 @@ -11,9 +11,19 @@ echo -n Checking signatures before upload... # Use the exit status to determine if the signature is ok or not -if ! gpg --verify "$FILE" >/dev/null 2>&1 ; then +gpg --verify "$FILE" >/dev/null 2>&1 +ret=$? +if [ $ret -eq 1 ]; then echo "GPG verification of $FILE failed!" exit 1 +elif [ $ret -eq 2 ]; then + if grep -- '-----BEGIN PGP' "$FILE" >/dev/null 2>&1; then + echo "GPG signature couldn't be checked, probably because of missing key" + exit 0 + else + echo "GPG signature is missing" + exit 1 + fi fi echo ...signatures are ok Gruesse, -- Frank Lichtenheld <[EMAIL PROTECTED]> www: http://www.djpig.de/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]