John "Elwin" Edwards
29edae364e
sqlickrypt: add support for salted SHA-512 passwords, and fix NULL bug.
...
Passwords will now be securely encrypted with random salt. Also avoid
storing NULL in the database, because that makes dgamelaunch segfault.
2013-10-20 21:19:13 -07:00
John "Elwin" Edwards
acae714a6b
sqlickrypt: fix typo in database filename.
2012-08-13 08:53:46 -07:00
John "Elwin" Edwards
85708c5810
sqlickrypt: add setpw command.
...
Allow changing a user's password.
2012-07-28 07:49:33 -07:00
John "Elwin" Edwards
931bc5cb87
sqlickrypt: add getmail and setmail commands.
...
Add the ability to retrieve and alter users' e-mail addresses, and
clean up some of the code too.
2012-07-18 17:00:05 -07:00
John "Elwin" Edwards
6ed3b7c2ce
sqlickrypt.c: finish switching to parametrized queries.
...
sqlickrypt should now be injection-resistant.
2012-06-03 18:26:11 -07:00
John "Elwin" Edwards
41c84bcd40
sqlickrypt.c: begin converting to parametrized queries.
...
Switch the check() function to use parametrized SQL queries instead of
contructing statements with strcat(), for obvious reasons.
2012-06-03 17:08:40 -07:00
John "Elwin" Edwards
dfbd2a71d0
sqlickrypt.c: add the ability to register new users.
...
When sqlickrypt is run with the option "register", it expects a
username, password, and email, and adds them to the database if the
username is not already in use.
2012-05-21 21:40:56 -07:00
John "Elwin" Edwards
e7bcd4be4a
rlgwebd: switch to dgamelaunch's SQLite database.
...
The quickrypt utility is replaced with sqlickrypt, which takes a username
and password pair and checks them against the SQLite password database
used by dgamelaunch. This will be more extensible to using rlgwebd to
register, change passwords, etc.
2012-05-20 15:52:07 -07:00