1639 Commits

Author SHA1 Message Date
667eac9faa
using upload-artifact only on github
All checks were successful
Codacy Scan / Codacy Security Scan (push) Successful in 8s
Build WHY2-chat / test-why2 (./out/why2-chat-client, ./configure.sh, ubuntu-latest, ./out/why2-chat-server) (push) Successful in 2m1s
Test Project / test-project (./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./test) (push) Successful in 2m30s
Test WHY2-core / test-why2 (why2, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-core-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Successful in 2m51s
Test WHY2-logger / test-why2 (why2-logger, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-logger-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Successful in 3m5s
2025-02-04 22:28:07 +01:00
45accc4b97
revert "using upload-artifact v3 instead of v4"
Some checks failed
Codacy Scan / Codacy Security Scan (push) Successful in 32s
Build WHY2-chat / test-why2 (./out/why2-chat-client, ./configure.sh, ubuntu-latest, ./out/why2-chat-server) (push) Failing after 2m26s
Test WHY2-core / test-why2 (why2, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-core-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Successful in 2m42s
Test Project / test-project (./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./test) (push) Successful in 2m50s
Test WHY2-logger / test-why2 (why2-logger, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-logger-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Successful in 2m59s
this reverts commit f903d265d97ef3269dd2632f00fb6a456ae05040

github made v3 deprecated, so yeahhhh, uhmmm... basically...
2025-02-04 22:12:59 +01:00
af1a1d8855
showing client whether he is logging in or registering 2025-02-04 22:07:18 +01:00
240e7a79af
optimized ifs in why2_listen_server 2025-02-04 22:06:47 +01:00
037bd2a966
changed authority_ip address 2025-02-04 20:15:46 +01:00
4e04b89221
checking for invalid base64 in read_socket_raw
All checks were successful
Codacy Scan / Codacy Security Scan (push) Successful in 29s
Build WHY2-chat / test-why2 (./out/why2-chat-client, ./configure.sh, ubuntu-latest, ./out/why2-chat-server) (push) Successful in 3m24s
Test Project / test-project (./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./test) (push) Successful in 3m19s
Test WHY2-core / test-why2 (why2, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-core-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Successful in 3m56s
Test WHY2-logger / test-why2 (why2-logger, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-logger-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Successful in 4m11s
2025-02-04 20:00:14 +01:00
429e0cfeaa
implemented message delays in read_socket_raw
All checks were successful
Codacy Scan / Codacy Security Scan (push) Successful in 24s
Build WHY2-chat / test-why2 (./out/why2-chat-client, ./configure.sh, ubuntu-latest, ./out/why2-chat-server) (push) Successful in 2m21s
Test Project / test-project (./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./test) (push) Successful in 2m26s
Test WHY2-core / test-why2 (why2, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-core-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Successful in 3m5s
Test WHY2-logger / test-why2 (why2-logger, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-logger-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Successful in 3m17s
2025-02-04 18:34:22 +01:00
01455eab12
created max_message_delay_violations in server cfg 2025-02-04 18:04:49 +01:00
05ed50ddfd
declaring find_connection at the file top 2025-02-03 21:33:17 +01:00
fa6826ca05
using set_server fn in server-side programs 2025-02-03 21:12:10 +01:00
ffcdfa0657
created is_server & set_server functions 2025-02-03 21:11:18 +01:00
7fe2172ce9
created min_message_delay in server cfg 2025-02-03 21:08:36 +01:00
6daf74d0be
removing non-ascii characters at read_socket_raw 2025-02-03 20:33:23 +01:00
97248c3772
using domains in client config
All checks were successful
Codacy Scan / Codacy Security Scan (push) Successful in 18s
Build WHY2-chat / test-why2 (./out/why2-chat-client, ./configure.sh, ubuntu-latest, ./out/why2-chat-server) (push) Successful in 2m3s
Test Project / test-project (./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./test) (push) Successful in 2m1s
Test WHY2-core / test-why2 (why2, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-core-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Successful in 2m44s
Test WHY2-logger / test-why2 (why2-logger, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-logger-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Successful in 2m55s
2025-02-03 18:07:10 +01:00
d1142b469b
resolving domains on client connect 2025-02-03 18:02:21 +01:00
b6dff4d2f3
included stddef in crypto header
All checks were successful
Codacy Scan / Codacy Security Scan (push) Successful in 16s
Build WHY2-chat / test-why2 (./out/why2-chat-client, ./configure.sh, ubuntu-latest, ./out/why2-chat-server) (push) Successful in 1m32s
Test WHY2-core / test-why2 (why2, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-core-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Successful in 2m15s
Test WHY2-logger / test-why2 (why2-logger, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-logger-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Successful in 2m27s
cause github actions are way too stupid...
2025-02-02 21:58:23 +01:00
44be9ad2f6
proccessing fread output on CA 2025-02-02 21:55:07 +01:00
6c080a438c
implemented WHY2_CHAT_MESSAGE_DELIMITER in read/send fns
Some checks failed
Codacy Scan / Codacy Security Scan (push) Successful in 13s
Build WHY2-chat / test-why2 (./out/why2-chat-client, ./configure.sh, ubuntu-latest, ./out/why2-chat-server) (push) Failing after 1m50s
Test Project / test-project (./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./test) (push) Failing after 1m45s
Test WHY2-core / test-why2 (why2, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-core-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 2m11s
Test WHY2-logger / test-why2 (why2-logger, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-logger-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 2m10s
2025-02-02 21:05:14 +01:00
97ee13591e
created WHY2_CHAT_MESSAGE_DELIMITER macro 2025-02-02 18:08:30 +01:00
2586f1a937
returning NULL on invalid packet in read_socket_raw 2025-02-02 16:50:16 +01:00
e688023383
allocating correct size in why2_chat_base64_encode 2025-02-02 16:49:54 +01:00
06d835e2b9
implemented encrypt_decrypt_message in send/receive fns
Some checks failed
Codacy Scan / Codacy Security Scan (push) Successful in 21s
Build WHY2-chat / test-why2 (./out/why2-chat-client, ./configure.sh, ubuntu-latest, ./out/why2-chat-server) (push) Failing after 1m33s
Test WHY2-core / test-why2 (why2, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-core-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 1m52s
Test WHY2-logger / test-why2 (why2-logger, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-logger-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 1m51s
Test Project / test-project (./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./test) (push) Failing after 1m53s
2025-02-02 15:48:18 +01:00
6e67e6225f
fixed encrypt_decrypt_message base64 problems 2025-02-02 15:47:40 +01:00
ee104f3208
created encrypt_decrypt_message fn
with ENCRYPTION_DECRYPTION enum
2025-02-02 15:16:17 +01:00
5cbb9375dd
implicit declaration of base64_decode fix 2025-02-02 15:15:08 +01:00
2649709c41
added length to why2_output_flags 2025-02-02 15:11:56 +01:00
4c7100760b
changed base64_encode length to size_t* 2025-02-02 15:01:20 +01:00
0a9a716ffe
moved base64 fns to crypto header 2025-02-02 14:59:52 +01:00
06b1c8728c
deallocating CS key on client exit 2025-02-02 14:29:14 +01:00
cdbbdce47c
fixed invalid read on double json in buffer 2025-02-02 14:28:08 +01:00
90be3ebc21
passing key to send/receive functions 2025-02-02 00:02:56 +01:00
35ec44ae68
saving shared client-server key
Some checks failed
Codacy Scan / Codacy Security Scan (push) Successful in 38s
Test Project / test-project (./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./test) (push) Failing after 2m4s
Build WHY2-chat / test-why2 (./out/why2-chat-client, ./configure.sh, ubuntu-latest, ./out/why2-chat-server) (push) Failing after 2m10s
Test WHY2-logger / test-why2 (why2-logger, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-logger-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 2m26s
Test WHY2-core / test-why2 (why2, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-core-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 2m29s
2025-02-01 22:13:32 +01:00
7b2f55e3ae
created client_server_key fns 2025-02-01 22:11:39 +01:00
8a7c389a74
generating ECC keys on server startup 2025-02-01 22:00:07 +01:00
481bce366c
removed message parameter from why2_chat_ecc_shared_key 2025-02-01 21:54:43 +01:00
4d8f61259d
removed encryption from why2_chat_ecc_shared_key 2025-02-01 21:51:58 +01:00
4317c9fa5d
renamed why2_chat_ecc_encrypt to why2_chat_ecc_shared_key
it will be used only for encrypting WHY2 key
2025-02-01 21:49:42 +01:00
f3f5533763
exchanging ecc keys on client connect 2025-02-01 21:44:37 +01:00
c1ee049f32
fixed username/password server memory leak 2025-02-01 21:32:41 +01:00
ca6b81943a
moved SC codes one up 2025-02-01 21:18:20 +01:00
a242fbea95
added cs/sc key exchange macros 2025-02-01 21:06:50 +01:00
a4b8bf2f4c
implemented WHY2_CHAT_CODE_PASSWORD 2025-02-01 21:03:49 +01:00
ee309b2cbb
created WHY2_CHAT_CODE_USERNAME macro 2025-02-01 21:01:13 +01:00
767f78a554
fixed server connection problems on client 2025-02-01 20:58:03 +01:00
7daa9aa124
sending WHY2_CHAT_CODE_USERNAME from client 2025-02-01 20:57:42 +01:00
4d64d73c07
waiting for WHY2_CHAT_CODE_USERNAME 2025-02-01 20:57:07 +01:00
6c53169f09
added askin_username getter & setter 2025-02-01 20:47:45 +01:00
2970878bce
created WHY2_CHAT_CODE_USERNAME macro 2025-02-01 20:39:36 +01:00
e99f0115d6
disconnecting user on ca auth end
Some checks failed
Codacy Scan / Codacy Security Scan (push) Successful in 1m16s
Test WHY2-core / test-why2 (why2, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-core-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 1m54s
Test WHY2-logger / test-why2 (why2-logger, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-logger-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 1m54s
Build WHY2-chat / test-why2 (./out/why2-chat-client, ./configure.sh, ubuntu-latest, ./out/why2-chat-server) (push) Failing after 2m20s
Test Project / test-project (./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./test) (push) Failing after 2m29s
2025-02-01 19:23:24 +01:00
a0bb314010
implemented CA code in client 2025-02-01 18:07:33 +01:00