1618 Commits

Author SHA1 Message Date
b9651a6749
connecting to CA on client startup 2025-02-01 13:44:29 +01:00
c10677c29c
added plain why2_listen_authority fn 2025-02-01 13:41:59 +01:00
22bf36481a
removed unused connectStatus variable from client 2025-02-01 13:34:05 +01:00
103d5d5385
added authority_ip to client config 2025-02-01 13:27:52 +01:00
7eaee3a89c
created WHY2_CHAT_CODE_KEY_EXCHANGE macro 2025-02-01 13:21:48 +01:00
bf354372ff
created why2_chat_ecc_deserialize_public_key fn 2025-02-01 13:03:21 +01:00
313c2930e9
allowing NULL length in base64_decode 2025-02-01 13:00:21 +01:00
7bb6e38a99
created why2_chat_ecc_serialize_public_key fn 2025-02-01 12:55:39 +01:00
7eb7940701
generating ecc keys on authority startup 2025-01-31 17:15:13 +01:00
aa037bce74
WHY2_UPDATE_FAILED identifier fix 2025-01-31 17:12:04 +01:00
86c804b6c0
changed __WHY2_ACCEPT_THREAD_PARAMS identifier to lowercase
i forgot it isn't macro
2025-01-31 17:10:30 +01:00
2e53e63345
changed codes to shorter forms
also rename PM codes to DM codes but I already staged it and i am too lazy to redo it
2025-01-31 17:04:53 +01:00
f7e71324f4
implemented _WHY2_ACCEPT_THREAD_PARAMS in servers 2025-01-31 16:57:57 +01:00
4b6ca483c8
using _WHY2_ACCEPT_THREAD_PARAMS in why2_accept_thread 2025-01-31 16:57:33 +01:00
316bdcc778
created _WHY2_ACCEPT_THREAD_PARAMS struct 2025-01-31 16:52:25 +01:00
1928519757
created WHY2_CHAT_SERVER_TYPE enum 2025-01-31 16:32:20 +01:00
8c80d3b815
added plain why2_authority_communicate_thread fn 2025-01-31 16:29:06 +01:00
7f76a43ea4
added make rules for ca server 2025-01-31 16:24:56 +01:00
1d0dc26f87
created ca server file
it is slightly modified server file - gonna change stuff in future commits
2025-01-31 16:21:17 +01:00
d01ba3e141
defined why2_chat_init_authority 2025-01-31 16:20:28 +01:00
78fc77cd69
created WHY2_CHAT_AUTHORITY_DIR macro 2025-01-31 15:59:14 +01:00
ee1c784b84
removed WHY_SA macro
first of all, its stupid. second thing - sa? seriously?
2025-01-31 15:56:17 +01:00
0994558a39
created WHY2_CHAT_AUTHORITY_PORT macro 2025-01-31 15:53:42 +01:00
2768280e7f
declared why2_chat_init_authority 2025-01-31 15:52:00 +01:00
07eb596180
checking for WHY2_CHAT_CODE_ACCEPT_MESSAGES from client
All checks were successful
Codacy Scan / Codacy Security Scan (push) Successful in 1m9s
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 2m43s
Build WHY2-chat / test-why2 (./out/why2-chat-client, ./configure.sh, ubuntu-latest, ./out/why2-chat-server) (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 2m53s
Test Project / test-project (./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./test) (push) Successful in 2m53s
it was using the first received message
2025-01-31 14:49:37 +01:00
15e36f5919
added key to connection_node_t 2025-01-31 14:42:30 +01:00
b392451486
fixed server receive code param error
All checks were successful
Test Project / test-project (./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./test) (push) Successful in 1m49s
Codacy Scan / Codacy Security Scan (push) Successful in 2m22s
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 2m22s
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 2m33s
Build WHY2-chat / test-why2 (./out/why2-chat-client, ./configure.sh, ubuntu-latest, ./out/why2-chat-server) (push) Successful in 3m20s
2025-01-31 14:31:30 +01:00
c0c0ad6894
using codes in exit_client fn 2025-01-31 14:11:27 +01:00
0781fc4caf
fixed uninitialized variable 2025-01-31 14:07:29 +01:00
a3c54207db
sending WHY2_CHAT_CODE_VERSION as a code
this is the last one. now time for 20 hours of debugging.... yay
2025-01-31 14:05:30 +01:00
c120d38804
sending WHY2_CHAT_CODE_PM as a code 2025-01-31 14:04:40 +01:00
9ab4f50fc6
sending WHY2_CHAT_CODE_LIST as a code 2025-01-31 14:01:41 +01:00
cf70fb0367
proccessing codes in server receive 2025-01-31 14:00:37 +01:00
771e0de333
sending WHY2_CHAT_CODE_INVALID_PASSWORD as a code 2025-01-31 13:54:13 +01:00
2394006d76
sending WHY2_CHAT_CODE_ENTER_PASSWORD as a code 2025-01-31 13:53:39 +01:00
b96852606e
sending WHY2_CHAT_CODE_PM_SERVER as a code 2025-01-31 13:53:00 +01:00
06f5d434c1
sending WHY2_CHAT_CODE_VERSION_SERVER as a code 2025-01-31 13:51:13 +01:00
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
All checks were successful
Codacy Scan / Codacy Security Scan (push) Successful in 14s
Build WHY2-chat / test-why2 (./out/why2-chat-client, ./configure.sh, ubuntu-latest, ./out/why2-chat-server) (push) Successful in 1m49s
Test Project / test-project (./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./test) (push) Successful in 2m6s
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 2m12s
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 2m24s
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