V-Sekai / uro

Provides functionality needed to run your V-Sekai backend. It will serve custom game content, support content caching, and provide a user authentication system
https://v-sekai.org
MIT License
8 stars 3 forks source link

Reduce external dependencies to compile uro with BLAKE2 #79

Closed fire closed 10 months ago

fire commented 1 year ago

Context and Problem Statement

https://github.com/BLAKE3-team/BLAKE3

We wanted to reduce external dependencies.

Describe the proposed option and how it helps to overcome the problem or limitation

URO uses bcrypt because it's the industry standard.

BLAKE2 in Erlang/OTP https://www.erlang.org/doc/man/crypto.html

Is it possible to pick a KDF that is reputable and is in the openssl standard library of erlang?

I believe that blake3 can also be used for KDF hashing and it is in the Erlang hex.pm online library.

https://github.com/Thomas-Jean/blake3

fire commented 10 months ago

Closing because lack of resources. Use what is usable. I'm testing on Linux.