Skip to content

Commit

Permalink
fix(install): verify tarball against PGP signature (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
Footpad authored Dec 23, 2024
1 parent f8aba8b commit eaadbe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libexec/swiftenv-install
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ install_tar_binary() {

if $verify; then
curl -o "swift-$VERSION.sig" "$URL.sig"
gpg --verify "swift-$VERSION.sig"
gpg --verify "swift-$VERSION.sig" "swift-$VERSION.tar.gz"
fi

tar xzf "swift-$VERSION.tar.gz"
Expand Down

0 comments on commit eaadbe0

Please sign in to comment.