]> Cypherpunks.ru repositories - govpn.git/commit
Replace Argon2 with Balloon hashing
authorSergey Matveev <stargrave@stargrave.org>
Sun, 11 Sep 2016 13:12:54 +0000 (16:12 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 11 Sep 2016 13:48:16 +0000 (16:48 +0300)
commitf9209136cff0331fc2293f25061971f6c77ff213
tree905e16d8de0dc07d6e0801fe725213e834fe26d1
parent7dbd0610bd50346310e205b48de1e2e8f0f1474c
Replace Argon2 with Balloon hashing

* We should use Argon2i, instead of Argon2d. Current implementation was
  Argon2i and did not support d-one.
* Other Argon2i implementations on Go exists, but they implements not
  the latest Argon2 1.3 version.
* Argon2 is not so trivial to rewrite from scratch.
* Used argon2 library contained testing-library import, that added -test
  related flags to the command line.
* Argon2i has some cryptoanalysis, showing it is not so perfect as
  expected.

So all the issues above are mitigated by replacing this hashing function
with much more simpler Balloon hashing written from scratch. Simplicity
wins.
17 files changed:
.gitmodules
VERSION
doc/developer.texi
doc/example.texi
doc/installation.texi
doc/news.ru.texi
doc/news.texi
doc/server.texi
doc/sources.texi
doc/thanks.texi
doc/verifier.texi
doc/verifierstruct.texi
src/cypherpunks.ru/balloon [new submodule]
src/cypherpunks.ru/govpn/cmd/govpn-verifier/main.go
src/cypherpunks.ru/govpn/verifier.go
src/github.com/magical/argon2 [deleted submodule]
utils/makedist.sh