Skip to content

Conversation

cmcgee1024
Copy link
Member

The libarchive that is used to make a swiftly release for Linux is downloaded directly from the libarchive project on GitHub from a release artifact. In theory, this release could become tampered in the future.

Typically package managers get around this problem by both getting a specific version of the package, and also keep a hash/git commit to verify the contents.

Add a content check using an expected SHA-256 sum of the release source tarball of libarchive to help protect against any tampering of the release in the future.

The libarchive that is used to make a swiftly release for Linux
is downloaded directly from the libarchive project on GitHub from
a release artifact. In theory, this release could become tampered
in the future.

Typically package managers get around this problem by both getting
a specific version of the package, and also keep a hash/git commit
to verify the contents.

Add a content check using an expected SHA-256 sum of the release
source tarball of libarchive to help protect against any tampering
of the release in the future.
@cmcgee1024
Copy link
Member Author

@swift-ci test macOS

@cmcgee1024 cmcgee1024 requested a review from shahmishal October 30, 2024 17:34
@justice-adams-apple
Copy link
Contributor

LGTM

@cmcgee1024 cmcgee1024 merged commit 7ea0dd9 into swiftlang:main Nov 4, 2024
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants