Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Commit

Permalink
Pre-import GPG key
Browse files Browse the repository at this point in the history
  • Loading branch information
leshik committed Jul 21, 2019
1 parent 7712471 commit de80874
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions tor-binary-resources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,25 +82,30 @@
dest="${project.source.directory}/p7zip.tar.bz2"
skipexisting="true"/>
</parallel>
<echo message="importing gpg key"/>
<exec executable="sh" failonerror="true">
<arg
line="-c 'gpg --batch --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 0x4E2C6E8793298290 || gpg --batch --keyserver hkp://ipv4.pool.sks-keyservers.net --recv-keys 0x4E2C6E8793298290 || gpg --batch --keyserver hkp://pgp.mit.edu:80 --recv-keys 0x4E2C6E8793298290'"></arg>
</exec>
<echo message="checking windows binary signature"/>
<exec executable="gpg" failonerror="true">
<arg
line="--auto-key-locate keyserver --keyserver pool.sks-keyservers.net --keyserver-options auto-key-retrieve --verify ${project.source.directory}/torbrowser-install-${torbrowser.version}_en-US.exe.asc ${project.source.directory}/torbrowser-install-${torbrowser.version}_en-US.exe"></arg>
line="--batch --verify ${project.source.directory}/torbrowser-install-${torbrowser.version}_en-US.exe.asc ${project.source.directory}/torbrowser-install-${torbrowser.version}_en-US.exe"></arg>
</exec>
<echo message="checking macos binary signature"/>
<exec executable="gpg" failonerror="true">
<arg
line="--auto-key-locate keyserver --keyserver pool.sks-keyservers.net --keyserver-options auto-key-retrieve --verify ${project.source.directory}/TorBrowser-${torbrowser.version}-osx64_en-US.dmg.asc ${project.source.directory}/TorBrowser-${torbrowser.version}-osx64_en-US.dmg"></arg>
line="--batch --verify ${project.source.directory}/TorBrowser-${torbrowser.version}-osx64_en-US.dmg.asc ${project.source.directory}/TorBrowser-${torbrowser.version}-osx64_en-US.dmg"></arg>
</exec>
<echo message="checking linux32 binary signature"/>
<exec executable="gpg" failonerror="true">
<arg
line="--auto-key-locate keyserver --keyserver pool.sks-keyservers.net --keyserver-options auto-key-retrieve --verify ${project.source.directory}/tor-browser-linux32-${torbrowser.version}_en-US.tar.xz.asc ${project.source.directory}/tor-browser-linux32-${torbrowser.version}_en-US.tar.xz"></arg>
line="--batch --verify ${project.source.directory}/tor-browser-linux32-${torbrowser.version}_en-US.tar.xz.asc ${project.source.directory}/tor-browser-linux32-${torbrowser.version}_en-US.tar.xz"></arg>
</exec>
<echo message="checking linux64 binary signature"/>
<exec executable="gpg" failonerror="true">
<arg
line="--auto-key-locate keyserver --keyserver pool.sks-keyservers.net --keyserver-options auto-key-retrieve --verify ${project.source.directory}/tor-browser-linux64-${torbrowser.version}_en-US.tar.xz.asc ${project.source.directory}/tor-browser-linux64-${torbrowser.version}_en-US.tar.xz"></arg>
line="--batch --verify ${project.source.directory}/tor-browser-linux64-${torbrowser.version}_en-US.tar.xz.asc ${project.source.directory}/tor-browser-linux64-${torbrowser.version}_en-US.tar.xz"></arg>
</exec>
<echo message="checking linux-armhf binary sha256sum"/>
<exec executable="sh" failonerror="true">
Expand Down

0 comments on commit de80874

Please sign in to comment.