Skip to content
Commits on Source (2)
......@@ -5,6 +5,7 @@ msva-perl (0.9.2) upstream;
* handle multiple keyserver entries in gpg.conf gracefully
(closes MS #6252)
* also accept DOS-style CR/LF line endings in PEM-encoded X.509 certs
* msva-query-agent: produce newline-terminated output.
-- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Mon, 09 Sep 2013 01:16:47 -0400
......
......@@ -43,7 +43,7 @@ if ((!defined($context)) ||
my ($status,$ret) = $client->agent_info();
$client->log('verbose', "status: %s\n", $status);
if (defined $ret) {
printf("%s", $ret->{server});
printf("%s\n", $ret->{server});
exit 0;
}
exit 1;
......@@ -80,7 +80,7 @@ if (defined $ret) {
exit 1;
}
} else {
printf("%s", $status);
printf("%s\n", $status);
exit 100;
}
......
......@@ -38,6 +38,7 @@ printf "\ndone\n"
WORKDIR=$(mktemp -d)
mkdir -m 0700 "${WORKDIR}/"{pkc,sec,gnupg}
touch "${WORKDIR}/gnupg/gpg.conf"
export GNUPGHOME="${WORKDIR}/gnupg"
if gpg --quick-random --version ; then
......