diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2014-03-05 22:42:37 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2014-03-05 22:42:37 +0000 |
commit | 879817088d43c6745e3a8475d3519a3d0c8522a2 (patch) | |
tree | 8658696bb2affc97fb4ef9bad2713c7fd460ddd9 /usr.sbin/pkg_add | |
parent | 0cb26dfdfd9e3ad01eb7c4b0a91adefd581d7d5e (diff) |
shush. signify is quiet now, but we want it to stay that way
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/signify.pm | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/signify.pm b/usr.sbin/pkg_add/OpenBSD/signify.pm index acac76a658f..7f1b528f52d 100644 --- a/usr.sbin/pkg_add/OpenBSD/signify.pm +++ b/usr.sbin/pkg_add/OpenBSD/signify.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: signify.pm,v 1.11 2014/01/17 10:59:18 espie Exp $ +# $OpenBSD: signify.pm,v 1.12 2014/03/05 22:42:36 espie Exp $ # # Copyright (c) 2013-2014 Marc Espie <espie@openbsd.org> # @@ -38,10 +38,11 @@ sub compute_signature open my $fh, ">", $contents; $plist->write_no_sig($fh); close $fh; - $state->system($cmd, '-S', '-s', $key, '-m', $contents) == 0 or + $state->system($cmd, '-S', '-q', '-s', $key, '-m', $contents) == 0 or $state->fatal("problem generating signature"); if (defined $pub) { - $state->system($cmd, '-V', '-p', $pub, '-m', $contents) == 0 or + $state->system($cmd, '-V', '-q', '-p', $pub, '-m', + $contents) == 0 or $state->fatal("public key and private key don't match"); } open(my $sighandle, '<', $sigfile) @@ -77,7 +78,7 @@ sub check_signature print $fh2 $header, $sig->{b64sig}, "\n"; close $fh; close $fh2; - my $rc = $state->system($cmd, '-V', '-p', $pubkey, '-m', $fname); + my $rc = $state->system($cmd, '-V', '-q', '-p', $pubkey, '-m', $fname); unlink $fname; unlink $fname.$suffix; |