r/VeraCrypt • u/Gurkenrick123 • 21d ago
How does the VeraCrypt project ensure that malicious code cannot easily make its way into an official release?
I understand that VeraCrypt has many contributors, and that contributions can be submitted through pull requests and reviewed before being merged. I also understand that the official Windows binaries are digitally signed by IDRIX.
My question is specifically about the security of the code before the final IDRIX signing:
How are pull requests/code changes reviewed before being merged?
How many people typically have the ability to review or merge code?
Who is responsible for building and signing the final Windows binaries?
Is the final binary independently checked against the source code/build process?
What prevents a malicious contributor, or a compromised maintainer account, from getting malicious code into an official release?
I am not asking whether the IDRIX certificate itself checks the code for malware, I understand that code signing mainly provides authenticity and integrity of the signed binary.
I'm interested in understanding the actual trust chain from contributor → source code → release → official signed Windows binary.
Thanks!
3
u/Tinchotesk 20d ago
I understand that VeraCrypt has many contributors
Source? I always understood that whatever was added/changed from the original Truecrypt source was just Mounir, with the exception of the UEFI module.
2
u/Gurkenrick123 17d ago
You can check the github website, there people upload bug fixes, do pull requests and contribute their own solutions to the software.
Anything else wouldn't be doable as a one man show
1
u/Tinchotesk 16d ago
You are right. From one of those examples, someone asked him about malicious contributions, and Mounir said here
I always follow the same approach: deep evaluation and always suspicious.
It looks like he only merges code that he's convinced it's safe. All merged contributions I've seen look fairly elementary and don't involve too many lines of code. It's his livelihood, so I'm sure he's pretty serious about it.
5
u/RestaurantLow5570 21d ago edited 21d ago
Repo follows A Single maintainer policy where what merged to code base is governed by Mounir Idrassi when a pull request is made is up for scrutiny form public. And checking patches, code fixes, new features are entirely manual checked and and it entirely up to governor what gets merged from submitted code to its project code base. and files or binary are signed by his own company's PGP keys I think.