|
6ede019547
|
created pub & pri key location macros
|
2024-02-23 11:11:35 +01:00 |
|
|
923b9907db
|
renamed WHY2_CHAT_PUB_KEY_LOCATION to WHY2_CHAT_KEY_LOCATION
|
2024-02-23 11:08:19 +01:00 |
|
|
c89ae6c884
|
implemented WHY2_CHAT_RSA_EXPONENT in why2_chat_generate_keys
|
2024-02-23 11:04:21 +01:00 |
|
|
8599b06495
|
created WHY2_CHAT_RSA_EXPONENT macro
i mean it is convention AND it will make my life so much fucking easier
|
2024-02-23 11:03:53 +01:00 |
|
|
0c03ed3785
|
added key dir check into why2_chat_generate_keys
|
2024-02-23 10:59:38 +01:00 |
|
|
0e2da6ccb7
|
created WHY2_CHAT_PUB_KEY_LOCATION macro
contains path to key dir
|
2024-02-23 10:50:28 +01:00 |
|
|
1e925ec794
|
implemented why2_chat_generate_keys in client
|
2024-02-23 10:35:22 +01:00 |
|
|
c450adb0a8
|
added config init comments
|
2024-02-23 10:34:04 +01:00 |
|
|
f1a8e11ed1
|
using libgmp in makefile
|
2024-02-23 10:29:20 +01:00 |
|
|
55550e4ea4
|
defined why2_chat_generate_keys fn
and guess what! it doesn't save the keys, yet :dd
|
2024-02-23 10:27:00 +01:00 |
|
|
df4f7aae7d
|
created generate_prime fn
it uses gmp 😎
|
2024-02-23 10:25:07 +01:00 |
|
|
2beb4401ee
|
created WHY2_CHAT_PRIME_ITERS macro
|
2024-02-23 10:20:47 +01:00 |
|
|
9007dce4fd
|
created WHY2_CHAT_KEY_BITS macro
|
2024-02-23 10:14:50 +01:00 |
|
|
35f4b0447a
|
declered why2_chat_generate_keys fn
|
2024-02-23 10:13:47 +01:00 |
|
|
b1add93eca
|
added gmp dependency
|
2024-02-23 10:10:16 +01:00 |
|
|
07c82120dd
|
added unsupported distro dependency array
|
2024-02-23 09:52:33 +01:00 |
|
|
c294be679b
|
updated unsupported distro message formatting
|
2024-02-23 09:45:03 +01:00 |
|
|
13dff8514d
|
created crypto files
|
2024-02-23 09:40:34 +01:00 |
|
|
8fe73fafe9
|
implemented getrandom instead of rand
also made why2_generate_key's variables snake_case
|
2024-02-22 22:05:12 +01:00 |
|
|
20e805a8ad
|
removed why2_read_socket fn
using raw data in client loop
|
2024-02-22 09:31:46 +01:00 |
|
|
fd68b0d01a
|
implemented max/min username
|
2024-02-21 21:38:38 +01:00 |
|
|
c2b9c7c57a
|
possible loop problems fix
|
2024-02-21 21:35:13 +01:00 |
|
|
d30cd4f714
|
simplified json/config to int parse
|
2024-02-21 21:33:50 +01:00 |
|
|
32592aefb8
|
removed unused find_color fn
|
2024-02-21 21:25:49 +01:00 |
|
|
c163b63afc
|
implemented server_uname in why2_listen_server
|
2024-02-21 21:24:20 +01:00 |
|
|
57116ecd33
|
sending welcome packet
|
2024-02-21 20:56:21 +01:00 |
|
|
8a81c515df
|
added welcome parameter to packet sending
|
2024-02-21 20:50:45 +01:00 |
|
|
965395e9d4
|
implemented max_username_tries from server config
|
2024-02-21 20:29:40 +01:00 |
|
|
968498cf4e
|
implemented communication_time from server config
|
2024-02-21 20:18:39 +01:00 |
|
|
8c742b1884
|
implemented default_username from server config
|
2024-02-21 16:39:44 +01:00 |
|
|
e450032f26
|
implemented server_username from server config
|
2024-02-21 16:35:44 +01:00 |
|
|
06af6a801c
|
sending WHY2_CHAT_CODE_ACCEPT_MESSAGES earlier
|
2024-02-21 11:24:56 +01:00 |
|
|
3955561b82
|
fixed WHY2_CHAT_CONFIG_URL
|
2024-02-21 11:22:27 +01:00 |
|
|
f77f3a8c93
|
implemented config functions
way better now
|
2024-02-21 10:48:48 +01:00 |
|
|
41a0911a28
|
defined config functions
made it as least duplicate as possible
|
2024-02-21 10:42:19 +01:00 |
|
|
4d68d6e72b
|
declared config functions
|
2024-02-21 10:30:17 +01:00 |
|
|
0067524713
|
added some flags to server config file
|
2024-02-21 09:16:33 +01:00 |
|
|
a6f37b1aa3
|
added WHY2 into some chat-flags' identificator
|
2024-02-21 09:06:43 +01:00 |
|
|
92ab33a594
|
moved codes to why2-flags
|
2024-02-21 09:06:38 +01:00 |
|
|
532e22ef1d
|
moved config files to config dir
|
2024-02-20 20:49:33 +01:00 |
|
|
f0730dd4fd
|
fixed smol allocation size
|
2024-02-20 17:06:40 +01:00 |
|
|
0525c43b6f
|
reverted "removed pointless strlen from for loops"
This reverts commit 49b53ec5b1ffd1931e51c7d7c17a64a99e2bd54e.
|
2024-02-20 14:45:35 +01:00 |
|
|
3355d6ceea
|
unfuck reverts
This reverts commit 577c84c997c3b970ea9407d6727af5adc613487e.
|
2024-02-20 14:44:46 +01:00 |
|
|
577c84c997
|
reverted "removed unused read_socket_from_raw fn"
reverting commit f3eb26ed59cd09f066a266b9e72bfd94982e46cb.
|
2024-02-20 14:41:23 +01:00 |
|
|
49b53ec5b1
|
removed pointless strlen from for loops
|
2024-02-20 13:45:47 +01:00 |
|
|
f3eb26ed59
|
removed unused read_socket_from_raw fn
|
2024-02-20 13:32:16 +01:00 |
|
|
54aed2330b
|
fixed bad socket read in some cases
idk just reading it by bytes now and it seems to work
|
2024-02-20 13:31:54 +01:00 |
|
|
8f62b45d1d
|
protecting from invalid json syntax crashes
|
2024-02-20 13:24:31 +01:00 |
|
|
5d5f9be9ab
|
reverting "allocating sizeof(char*) in chat-misc"
reverts commit d6a0cc40fb20379bae02ace13a3569577c8b75b6.
|
2024-02-19 13:09:47 +01:00 |
|
|
f8ac3a5b1a
|
made code a bit safer
|
2024-02-19 12:48:26 +01:00 |
|