Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
tor-browser-bundle-testsuite
Commits
dea7d431
Unverified
Commit
dea7d431
authored
Aug 01, 2016
by
boklm
Browse files
TBBVersion: Allow git tag signatures made using an expired key
Doing the same as bug 19737.
parent
a60b6329
Changes
1
Hide whitespace changes
Inline
Side-by-side
TBBTestSuite/TBBVersion.pm
View file @
dea7d431
...
...
@@ -48,9 +48,16 @@ sub set_gpgwrapper {
$keyring
.=
"
--keyring
$FindBin
::Bin/keyring/
$user
.gpg
";
}
my
$wrapper
=
<<EOF;
#!/bin/sh
#!/bin/
ba
sh
set -e
exec gpg --no-default-keyring $keyring --trust-model always "\$@"
if [ \$# -eq 4 ] && [ "\$1" = '--status-fd=1' ] && [ "\$2" = '--verify' ]
then
gpgv $keyring "\$1" "\$3" "\$4" \\
| sed 's/^\\[GNUPG:\\] EXPKEYSIG /\\[GNUPG:\\] GOODSIG /'
exit \${PIPESTATUS[0]}
else
exec gpg --no-default-keyring $keyring --trust-model always "\$@"
fi
EOF
my
$wrapper_file
=
"
$options
->{tmpdir}/gpgtbbgit
";
write_file
(
$wrapper_file
,
$wrapper
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment