Skip to content

[thrift] Add SHA256 verification for thrift 0.14.1 download#25711

Open
rustiqly wants to merge 1 commit intosonic-net:masterfrom
rustiqly:pin/thrift-sha256
Open

[thrift] Add SHA256 verification for thrift 0.14.1 download#25711
rustiqly wants to merge 1 commit intosonic-net:masterfrom
rustiqly:pin/thrift-sha256

Conversation

@rustiqly
Copy link
Contributor

What I did

Added SHA256 checksum verification for the Apache Thrift 0.14.1 source tarball.

Why I did it

The thrift 0.14.1 tarball is downloaded from archive.apache.org without integrity verification. A compromised mirror or MITM could inject malicious code.

How I did it

Added THRIFT_SHA256 constant and sha256sum -c verification after download.

How to verify it

wget -O thrift_0.14.1.tar.gz https://archive.apache.org/dist/thrift/0.14.1/thrift-0.14.1.tar.gz
echo '13da5e1cd9c8a3bb89778c0337cc57eb0c29b08f3090b41cf6ab78594b410ca5  thrift_0.14.1.tar.gz' | sha256sum -c -

Part of a series to add SHA256 verification to all external downloads.

Add SHA256 checksum verification for the Apache Thrift 0.14.1 source
tarball downloaded from archive.apache.org.

Signed-off-by: Rustiqly <rustiqly@users.noreply.github.com>
@rustiqly rustiqly requested a review from lguohan as a code owner February 26, 2026 16:26
@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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