|
274a3e1772
|
revert "sending ssqc on every message loop end"
this reverts commit b14c8de7105a9f570a227ce7f8608103b205eca9
it seems that I created the check for some reason
|
2024-02-26 15:19:41 +01:00 |
|
|
850ab11272
|
using latest toml version in rust module
|
2024-02-25 20:54:17 +01:00 |
|
|
4d6b29e4c6
|
implemented max_message_length in message loop
|
2024-02-25 20:34:18 +01:00 |
|
|
13d4e2f480
|
created max_message_length in server cfg
|
2024-02-25 20:25:38 +01:00 |
|
|
b14c8de710
|
sending ssqc on every message loop end
|
2024-02-25 14:23:53 +01:00 |
|
|
22282623af
|
implemented trim_string in message loop
|
2024-02-25 13:16:12 +01:00 |
|
|
157d56ac57
|
not disconnecting user on null message
|
2024-02-25 13:15:54 +01:00 |
|
|
47fd5f01b6
|
created trim_string fn
|
2024-02-25 13:15:29 +01:00 |
|
|
a141065189
|
addded null check to why2_deallocate
|
2024-02-25 12:25:29 +01:00 |
|
|
0abd38e877
|
fixed byte format overflowing
yippee
|
2024-02-24 21:56:43 +01:00 |
|
|
9734749c3e
|
implemented WHY2_OUTPUT_BYTE in decrypter
i choose literally the worst approach but YEAH...
...it doesn't work...
...it overflows...
|
2024-02-24 21:05:09 +01:00 |
|
|
226f9b3759
|
preventing encrypted bytes from being zero
|
2024-02-24 19:51:51 +01:00 |
|
|
23f7019883
|
defined why2_byte_format_length
|
2024-02-24 16:57:23 +01: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 |
|
|
89d721fa9d
|
implemented WHY2_OUTPUT_BYTE in encrypter output
|
2024-02-24 12:52:06 +01:00 |
|
|
773591d452
|
implemented WHY2_OUTPUT_TEXT in encrypter
|
2024-02-24 12:48:38 +01:00 |
|
|
782e964fa2
|
made decrypter variables snake_case
|
2024-02-24 11:56:05 +01:00 |
|
|
58327f3046
|
made encrypter variables snake_case
|
2024-02-24 11:55:56 +01:00 |
|
|
21900e27cb
|
made encrypt & decrypt fn parameters snake_case
|
2024-02-24 11:51:31 +01:00 |
|
|
06ae819a82
|
added the WHY2_OUTPUT_TEXT enum to every why2_input_flags usage
|
2024-02-23 20:36:27 +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 |
|
|
cb15d856de
|
why2_chat_generate_keys grammar fix
yessir i am an english-man fr fr
|
2024-02-23 20:27:00 +01:00 |
|
|
4564e2b63b
|
using base 62 for key save
|
2024-02-23 15:49:22 +01:00 |
|
|
836d3ec44a
|
implemented WHY2_CHAT_KEY_BASE macro
|
2024-02-23 11:55:29 +01:00 |
|
|
09a326a067
|
created WHY2_CHAT_KEY_BASE macro
|
2024-02-23 11:55:07 +01:00 |
|
|
4397122aaf
|
writing the rsa keys out
|
2024-02-23 11:47:33 +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 |
|
|
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 |
|