]> git.codecow.com Git - Monocypher.git/commit
Revert "Added version number to binaries"
authorLoup Vaillant <loup@loup-vaillant.fr>
Sat, 19 Oct 2019 15:54:36 +0000 (17:54 +0200)
committerLoup Vaillant <loup@loup-vaillant.fr>
Sat, 19 Oct 2019 15:54:36 +0000 (17:54 +0200)
commit77ef53fcabcb89c88c53bf924e100fa156bad1fc
treec97b1de791963c65206b9aebae693e02784f1123
parent196241981a6ed88727b9136d11383ff2789cf5f0
Revert "Added version number to binaries"

This reverts commit 30737a99843ac9f33698ea7e06afae1e7c6133df.

Exposing version numbers in the binary can expose them to attackers.
Without the version number, they have to try the exploit and hope.  With
the version number, they may perform a cheap check before they proceed
any further.  Better not take the risk.

Furthermore, changing the length of the string may break ABI.  This will
happen if a version number (major, minor, or patch) ever reaches 10.

That patch was nice, but it potentially impact security and stability.
Not worth it in the end.
src/monocypher.c
src/monocypher.h
tests/test.c