deepstream.io
deepstream.io copied to clipboard
MacOS standalone binary hashing broken
The password hashes generated by the MacOS standalone binary v2.0.1 always lead to authentication errors.
The error must be located in the hash computation because the default config files shipped with the standalone binary work with both the standalone binary and the deepstream server installed via npm. Similarly, using newly generated password hashes causes authentication failures with both programs.
Steps to reproduce:
- download the binary (direct link)
- unzip
- enable file-based authentication in
conf/config.yml - start the server
- connect with a client, username
userA, passwordpassword - observe
AUTH_SUCCESSFULmessage in server output - kill client and server
- compute a password hash with
./deepstream hash password - copy the new hash into
conf/users.yml - start the server
- connect with a client, username
userA, passwordpassword - observe
INVALID_AUTH_DATAmessage in server output,AUTH_SUCCESSFULis expected
Hash computation with deepstream 2.0.1 installed with npm works.
Can we reverify if this is broken?
not able to reproduce:
