Commit Graph

46 Commits

Author SHA1 Message Date
Sam Hadow 49f867fd76 refactor, decoupling functions + encryption, new key exchqnge every 5 sent messages 2025-03-11 13:28:25 +01:00
Sam Hadow d4e55289a8 remove need to refresh page when adding user 2025-03-10 17:33:19 +01:00
Sam Hadow f4b251aeb3 improve ergonomy 2025-03-10 17:27:25 +01:00
Sam Hadow 874aeb8897 messages appearance 2025-03-10 16:06:47 +01:00
Sam Hadow 63e2e36511 tabbed navigation + db request fix 2025-03-10 15:07:14 +01:00
Sam Hadow e5d559b75c handle stop signal 2025-03-09 19:20:46 +01:00
Sam Hadow b7907c94ae encrypt and decrypt messages in browser 2025-03-09 19:05:24 +01:00
Sam Hadow 744e1fae29 init ratchets 2025-03-09 17:43:20 +01:00
Sam Hadow 35ff9cb240 move keccak related functions to front end 2025-03-09 15:48:54 +01:00
Sam Hadow edeb1b7c73 refactor key exchange 2025-03-09 15:18:46 +01:00
Sam Hadow 46c495f126 improve aead implementation 2025-03-09 14:51:26 +01:00
Sam Hadow 0c80e915f3 unit test aead 2025-03-06 21:18:12 +01:00
Sam Hadow b43894b58f aead 2025-03-05 16:41:58 +01:00
Sam Hadow 512b827b40 refactor db up check in functions 2025-03-05 14:05:09 +01:00
Sam Hadow 16b6b4edf9 db code, check if database is up before any select operation 2025-03-05 13:37:03 +01:00
Sam Hadow 10f25b8810 noble js download in dockerfile 2025-03-05 13:19:20 +01:00
Sam Hadow b7956f5e2c Keccak kdf 2025-03-04 23:51:10 +01:00
Sam Hadow 834267399f ECDH key exchange 2025-03-04 18:58:43 +01:00
Sam Hadow 44d2446872 absolute instead of relative url fix 2025-03-04 15:13:38 +01:00
Sam Hadow e95c9eda0f dynamically create rooms chatboxes 2025-03-04 15:10:07 +01:00
Sam Hadow 4d68e7a9f7 change representation of public key in db to hex string + create room 2025-02-21 19:16:50 +01:00
Sam Hadow da4f74b60c nobleCurves, serve file for cryptography in the browser 2025-02-19 20:48:16 +01:00
Sam Hadow 295513f83b ecdh test fix 2025-02-19 16:06:57 +01:00
Sam Hadow 2fe9b83876 ecdh test 2025-02-19 16:01:20 +01:00
Sam Hadow 7732504136 keccak unit tests 2025-02-18 15:01:30 +01:00
Sam Hadow a761bdb209 click to copy privkey and pubkey 2025-02-18 14:05:51 +01:00
Sam Hadow 035aaaaca6 keccak JS implementation 2025-02-17 22:22:57 +01:00
Sam Hadow 1816cd3cf1 fix authentication + public key linked to socket.io 2025-02-16 23:59:05 +01:00
Sam Hadow 156a39f7cb connect to socket on login 2025-02-16 19:44:39 +01:00
Sam Hadow 2073b81bbe handle enter keypress register/login 2025-02-15 16:11:50 +01:00
Sam Hadow 24600a4f8b logout action 2025-02-15 15:09:55 +01:00
Sam Hadow 021267f17d pug login logout button changes 2025-02-12 20:13:08 +01:00
Sam Hadow 5cfb29131c pug different view if logged in or out 2025-02-12 18:44:30 +01:00
Sam Hadow b547fc3b5e pug template engine 2025-02-12 16:46:34 +01:00
Sam Hadow cc1767e0d0 unit tests verify signature 2025-02-12 15:38:32 +01:00
Sam Hadow e37bec02c2 unit tests 2025-02-12 10:48:47 +01:00
Sam Hadow 4deb25962e send and verify login challenge 2025-02-11 19:07:13 +01:00
Sam Hadow e5ffbac3ea register 2025-02-10 17:08:50 +01:00
Sam Hadow 4827e6ae57 init db + ecc tests + register popup (non functionnal) 2025-02-09 17:38:42 +01:00
Sam Hadow 4abe5a07f2 database 2025-02-09 00:07:46 +01:00
Sam Hadow ba13626d46 crypto.randomBytes() instead of Math.random() 2025-02-08 19:41:50 +01:00
Sam Hadow 8250e4f98f send files with requests instead of serving the whole repertory in static 2025-02-08 18:18:15 +01:00
Sam Hadow ad0fcca2ee express routing 2025-02-08 18:01:39 +01:00
Sam Hadow 3c0da2e91f makefile 2025-02-05 16:39:11 +01:00
Sam Hadow f4749ee37d project structure 2025-02-05 16:14:06 +01:00
Sam Hadow e68445d8ad initial commit 2025-02-05 15:33:24 +01:00