Enno Rehling
acbbf42db1
write a warning in the template about password replacement.
...
for new factions, put the generated password into the template.
normalize and secure password generation.
2019-03-03 09:41:53 +01:00
Enno Rehling
0895ccd5d9
Bug 2527: PASSWORD command handling of bad passwords.
2018-12-03 19:19:06 +01:00
Enno Rehling
04b8068979
rename password functions to match PHP.
2018-09-26 21:07:39 +02:00
Enno Rehling
ae05d6d9e9
work factor 12 is incredibly slow, don't use it in tests.
2018-09-26 20:08:38 +02:00
Enno Rehling
2e9bde0261
More WIN32 adaptations, configurable work factor.
2018-09-26 19:05:49 +02:00
Enno Rehling
53afc86e00
fix bcrypt library, add to password.c (works on mac)
2018-09-26 17:09:29 +02:00
Enno Rehling
4e5f1d05ce
Be very strict about C standards.
...
Compile with -std=c89 in gcc.
remove all // comments (they are nice, but unnecessary).
variables only declared at start of block.
various pedantery.
backwards compatible va_copy for pre-C99 gcc.
2017-02-18 21:15:14 +01:00
Enno Rehling
ddd074f393
continue fixing compilation (gcc/clang)
2017-01-10 18:06:44 +01:00
Enno Rehling
87eafaeb99
remove all password hashing code
2016-07-13 19:10:22 +02:00
Enno Rehling
bb03517619
disable most password formats
2016-02-25 10:46:46 +01:00
Enno Rehling
7fe07439f5
fix write_faction_reference, check for f->alive in other places
...
TODO:
1. I added some new TODOs
2. What happens to morale when region owners die?
3. Needs tests
2016-02-22 20:47:06 +01:00
Enno Rehling
26a33e28ce
Merge branch 'feature/apache-md5' of https://github.com/ennorehling/eressea into ennorehling-feature/apache-md5
...
Conflicts:
src/util/password.c
src/util/password.h
src/util/password.test.c
2016-02-06 15:23:42 +01:00
Enno Rehling
bee97c002c
use apache implementation by default
2016-02-06 15:16:15 +01:00
Enno Rehling
4c46d9d0ef
add the apache md5 implementation to valid password hash algorithms
...
Conflicts:
src/util/password.c
src/util/password.h
2016-02-06 15:14:23 +01:00
Enno Rehling
8d05f4cc25
implement MD5 crypted passwords as default
2016-01-14 15:49:09 +01:00
Enno Rehling
c3da0cd42d
as long as we use no encryption, all tests pass.
2016-01-13 16:16:02 +01:00
Enno Rehling
54d25e91dd
add a new password module
...
start adding password hashing logic (WIP)
does not yet pass all tests
2016-01-12 23:52:30 +01:00