333 Commits

Author SHA1 Message Date
2f4c73ce09
created why2_chat_deallocate_keys fn 2024-04-13 12:26:47 +02:00
ef1f9bbf38
renamed why2_chat_generate_keys to why2_chat_init_keys
I think the name is much more self-explanatory now
2024-04-13 12:24:19 +02:00
bf64d848c7
declared why2_byte_format_length fn
you pass in string created using byte format and it returns the length of it
2024-02-24 16:55:10 +01:00
21900e27cb
made encrypt & decrypt fn parameters snake_case 2024-02-24 11:51:31 +01:00
3ef929665a
added WHY2_OUTPUT_FORMAT enum to why2_input_flags
you can basically specify if you want the "69.-420" output or you want messy string where each character is one output number iykwim
2024-02-23 20:33:37 +01:00
4564e2b63b
using base 62 for key save 2024-02-23 15:49:22 +01:00
09a326a067
created WHY2_CHAT_KEY_BASE macro 2024-02-23 11:55:07 +01:00
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
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
0e2da6ccb7
created WHY2_CHAT_PUB_KEY_LOCATION macro
contains path to key dir
2024-02-23 10:50:28 +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
13dff8514d
created crypto files 2024-02-23 09:40:34 +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
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
3955561b82
fixed WHY2_CHAT_CONFIG_URL 2024-02-21 11:22:27 +01:00
4d68d6e72b
declared config functions 2024-02-21 10:30:17 +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
1004b10a28
created WHY2_MIN_USERNAME_LENGTH flag 2024-01-27 22:17:26 +01:00
31db7c0622
created WHY2_MAX_USERNAME_TRIES flag 2024-01-27 22:13:00 +01:00
5db46ba17d
created WHY2_DEFAULT_USERNAME flag 2024-01-27 17:58:25 +01:00
e36b2ffa61
created WHY2_CHAT_CODE_INVALID_USERNAME flag 2024-01-27 17:45:53 +01:00
e42632db6a
created WHY2_MAX_USERNAME_LENGTH flag 2024-01-27 17:45:29 +01:00
885aba79ab
fixed formatting on invalid command 2024-01-27 15:36:09 +01:00
bd3eb8ed4a
removed duplicate tkch version
so yeah v1 and v2 were the same
2024-01-24 21:07:45 +01:00
42f406f6b6
implemented tkch_version in why2_input_flags 2024-01-24 15:11:22 +01:00
d540c1ea88
removed tkch_version from tkch_gen parameters, using flags instead 2024-01-24 15:08:37 +01:00
d7aa65944b
moved WHY2_TEXT_KEY_CHAIN_VERSIONS into core-flags 2024-01-24 15:03:54 +01:00
7e33714f53
added WHY2_TEXT_KEY_CHAIN_VERSIONS enum as gen_tkch parameter 2024-01-24 14:54:30 +01:00
54da223e23
moved the historic tkch functions into enum versions 2024-01-24 14:47:48 +01:00
492563ee40
renamed why2_config_read to why2_toml_read
idk why i didnt do this at first
2024-01-24 12:18:12 +01:00
c8bfaedd9d
removed parses files 2024-01-24 12:10:16 +01:00
758c9c1431
revert "added table parameter to why2_config_read"
This reverts commit f0376a73c28bb7d3caec0a8a761eb76ea1b1bb98.
2024-01-23 19:53:51 +01:00
f0376a73c2
added table parameter to why2_config_read 2024-01-23 19:45:12 +01:00
7d76a12708
changed yml to toml in config 2024-01-23 19:20:26 +01:00
dfb7b54fbf
declared config_read stuff
you will facepalm few commits later, trust me :)))
2024-01-23 18:46:06 +01:00
c9e1567ae9
added missing license to memory related files 2024-01-23 18:29:33 +01:00
c31ea476a6
added c++ support to headers 2024-01-23 18:27:24 +01:00
ddbe899071
added message thread cleanup for server
also swaped the function names cause I am so smart
2024-01-21 13:44:31 +01:00
7ffb9b1d9c
fixed client segfault on ssqc 2024-01-20 15:48:34 +01:00
9b238b6d70
created WHY2_CHAT_CODE_ACCEPT_MESSAGES macro 2023-08-27 15:32:55 +02:00
b1062ad8df
moved config-related macros to config header 2023-08-27 12:01:26 +02:00