1531 Commits

Author SHA1 Message Date
e66109c262
sending WHY2_CHAT_CODE_LIST_SERVER as a code
not sure if it will work (there's no way for me to test it rn...)
2025-01-31 13:49:55 +01:00
1978ed4cd8
sending WHY2_CHAT_CODE_INVALID_USERNAME as a code 2025-01-31 13:40:25 +01:00
3b603f25e8
sending WHY2_CHAT_CODE_SSQC as a code 2025-01-31 13:39:47 +01:00
fa8560d51a
sending WHY2_CHAT_CODE_PICK_USERNAME as a code 2025-01-31 13:38:21 +01:00
4ca411f32b
prepared client's receive for codes 2025-01-31 13:37:30 +01:00
db032d3066
added send_socket_code_deallocate fn
sends code with params
2025-01-31 13:36:38 +01:00
1f9df8363a
added why2_send_socket_code fn 2025-01-31 12:39:55 +01:00
2e63191085
sending welcome packet code in code field 2025-01-31 12:37:57 +01:00
ea018644f2
skipping strdup on NULL string param 2025-01-31 12:37:08 +01:00
4649b7ccf6
added WHY2_CHAT_COMMAND_PM to client help page 2025-01-30 22:51:41 +01:00
61fdb17018
created WHY2_CHAT_COMMAND_PM macro 2025-01-30 22:49:38 +01:00
e34f92b0d8
renamed WHY2_CHAT_COMMAND_PM to WHY2_CHAT_COMMAND_DM
these will be direct messages - unencrypted communication between two users
2025-01-30 21:20:59 +01:00
6f773bcecf
replaced RSA comment with ECC 2025-01-30 20:23:21 +01:00
c1e7aba879
defined why2_chat_ecc_verify_signature
one commit, 8 hours of going crazy together with AI
2025-01-30 20:07:19 +01:00
ac88620d99
added key parameter to why2_chat_ecc_verify_signature declaration 2025-01-30 20:06:20 +01:00
c8d197f6b9
returning length in base64_decode 2025-01-30 19:58:44 +01:00
210d23369b
implemented base64 delimiter 2025-01-30 19:38:47 +01:00
b859c88dcc
declared why2_chat_ecc_verify_signature 2025-01-30 19:38:02 +01:00
7c2c8b9138
created WHY2_CHAT_BASE64_LENGTH_DELIMITER macro 2025-01-30 19:37:49 +01:00
d764002546
added base64_decode fn
and tweaked the encode fn a bit
2025-01-29 22:44:46 +01:00
685b8e446e
defined why2_chat_ecc_sign
and its not working as expected lol

i will fix it in next commits, i just need this for change comparison
2025-01-29 21:15:24 +01:00
0b3cb2f957
added local base64_encode fn 2025-01-29 21:14:39 +01:00
5cc8c43b62
declared why2_chat_ecc_sign
used for signing message with ECC
2025-01-29 21:13:59 +01:00
8d17915a05
generating only one keyfile
lol ima stoopid - it seems you need only private key file and you can generate the pub from it
2025-01-29 20:52:16 +01:00
b977d0dd40
removed unused key macro
and renamed the key file
2025-01-29 20:50:54 +01:00
8b7aa98b70
removed GMP dependency 2025-01-29 16:35:45 +01:00
eff50818ea
added code for ecc keypair generation
also removed unused rsa shit
2025-01-29 16:35:02 +01:00
b833b56aef
changed up crypto header for ECC update
ill replace rsa with ecc i guess. Why? i fucking hate myself
2025-01-29 16:33:57 +01:00
94969b5588
removed the stupid goto another way
simply deleted it lol - i have no clue why i used the MSG_PEEK in the first place tho
2025-01-25 12:19:13 +01:00
99695875b1
revert "got rid of the dumbass goto in read_socket_raw"
this reverts commit 37a615cb03f1f891c4e31fc54ead028db5a0ebf9

"and possibly created 10 new problems :))" ....... fuck me
2025-01-25 11:27:39 +01:00
56672a3cfd
fixed distro ifs case
moo
2025-01-25 10:50:52 +01:00
6eeddbd14e
replaced lsb_release with os-release file
also supporting X-based distributions
2025-01-25 10:45:35 +01:00
17a73d9157
implemented anon flags in logger 2025-01-13 19:55:54 +01:00
520f8bce34
created anon fns for core-flags changed vars
calling sets flag without changing flag_changed variable
2025-01-13 19:54:44 +01:00
9e5016feb7
defined why2_get_padding_changed
and guess what it returns
2025-01-13 19:46:00 +01:00
59d6252fe3
declared why2_get_padding_changed fn 2025-01-13 19:45:19 +01:00
64f54fadce
added padding_changed to core-flags 2025-01-13 19:44:39 +01:00
4451b848f7
changed weird variable names in core-flags 2025-01-13 19:42:05 +01:00
917b466b11
replacing \n with space in logger
instead of null-term and breaking the string
2025-01-13 19:22:53 +01:00
0fe3f47752
added why2_set_padding fn
sets padding without messing with flags
2025-01-12 13:12:50 +01:00
d3aa932bdc
defined seeded-rand fns using hmac 2025-01-12 11:07:58 +01:00
e34b8b962f
changed why2_seed_random's seed to UL 2025-01-12 11:07:11 +01:00
25782d1263
changed why2_random to boolean 2025-01-10 18:09:55 +01:00
fc2d3e1360
using openssl random in why2_random 2025-01-10 18:09:36 +01:00
023e201ac7
implemented seeded-rand fns in padding code 2025-01-10 17:56:34 +01:00
e363eccc59
defined seeded-rand fns 2025-01-10 17:55:45 +01:00
25113dc0b3
declared seeded-rand fns in crypto 2025-01-10 17:54:27 +01:00
3afe9f0d4c
moved codacy workflow check to every step
crazy
2025-01-09 20:00:47 +01:00
24e5d1b8c2
checking bramborak secret on codacy start instead 2025-01-09 19:56:20 +01:00
fba541d354
checking GITHUB_ACTIONS envvar on codacy start 2025-01-09 19:51:31 +01:00