55 Commits

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