Commit Graph

10 Commits (120b6f4b9542bc46c6335b3f36c8875aa352a228)

Author SHA1 Message Date
timokoesters b0d9ccdb2d
Signing, basis for federation 2020-04-29 10:27:38 +02:00
timokoesters 80ddf80f17
work 2020-04-29 10:27:31 +02:00
gnieto fa9e127a1e Store hashed passwords (#7)
Use if let instead of unwrap

Default to invalid password if could not calculate

Move hash password methdo and return Result

Rename get_password method

Default to empty password when no pwd is received

Store hashed passwords

Store passwords hashed with Argon2 and verify password with that stored
hash.

Co-authored-by: Guillem Nieto <gnieto.talo@gmail.com>
2020-04-14 22:25:44 +02:00
timokoesters 3debb6203c
feat: handle typing events 2020-04-12 21:12:50 +02:00
timokoesters 8557278b90
better riot.im support 2020-04-08 22:07:31 +02:00
timokoesters ddcd423e6f
feat: random tokens, sessions, guest usernames and device ids 2020-04-08 22:04:29 +02:00
timokoesters fa3226898c
feat: save pdus
PDUs are saved in a pduid -> pdus map. roomid -> pduleaves keeps track
of the leaves of the event graph and eventid -> pduid maps event ids to
pdus.
2020-04-03 17:58:38 +02:00
timokoesters dba6c46667
Use sled::Tree::prefix_search for deviceids 2020-03-30 13:46:18 +02:00
timokoesters 533260edd8
Add auth 2020-03-29 21:05:20 +02:00
timokoesters 73e04e71d7
Start work on event creation 2020-03-29 13:49:13 +02:00