]> the.earth.li Git - autodns.git/commitdiff
Explicitly give --verify command to GPG.
authorJonathan McDowell <noodles@earth.li>
Wed, 1 Nov 2006 13:32:36 +0000 (13:32 +0000)
committerJonathan McDowell <noodles@earth.li>
Wed, 1 Nov 2006 13:32:36 +0000 (13:32 +0000)
We didn't explicitly say --verify for clear signed emails; do so.

git-archimport-id: noodles@earth.li--pie/autodns--mainline--1.0--patch-17

autodns.pl

index fa4e09b6a337cb4005e18f1a2b62d126ad5e3571..ddb237c06155656a9d7ad3314b0464f9f165ad37 100755 (executable)
@@ -252,7 +252,7 @@ if ($entity->parts) {
 } else {
        # Clear text.
 
-       my $pid = open3(\*GPGIN, \*GPGOUT, \*GPGERR, "gpg --batch");
+       my $pid = open3(\*GPGIN, \*GPGOUT, \*GPGERR, "gpg --batch --verify");
 
        # Feed it the mail.
        print GPGIN $entity->bodyhandle->as_string;