lfs-test-server
lfs-test-server copied to clipboard
password sha1 encryption - only use hashed password in database
In order to comply with data protection, original passwords should not be stored in the database. Now, only the hashed password is in the database. I've changed the two places where the password is processed:
- while add-user input, before writing to DB
- while login-check, after reading from DB to compare the hashed passwords
lfs-test-server is just a reference LFS protocol implementation. It is not meant for production use. So, the less LFS-unrelated stuff it has the better.