1599 Commits

Author SHA1 Message Date
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
7377b672bf
returing code from why2_listen_authority 2025-02-01 18:07:13 +01:00
bd986f5327
saving user certificate 2025-02-01 17:32:27 +01:00
d799ff1e0c
allocating correct size in why2_get_authority_cert_path 2025-02-01 17:32:06 +01:00
a42764f6d6
created WHY2_CHAT_CODE_SUCCESS and WHY2_CHAT_CODE_FAILURE macros 2025-02-01 16:32:58 +01:00
61c06dc25a
created why2_get_authority_cert_path fn 2025-02-01 16:26:32 +01:00
43f4d31023
created WHY2_CHAT_AUTHORITY_CERTS_EXTENSION macro 2025-02-01 16:23:33 +01:00
9099192c8a
sending ca pubkey unencrypted to client 2025-02-01 16:12:46 +01:00
cb9ec62b94
sending authority_username from client during ca 2025-02-01 16:05:29 +01:00
82a572bda1
created why2_toml_write_preserve rust fn
same as why2_toml_write but does not remove comments
2025-02-01 16:04:04 +01:00
3227814edf
created why2_get_client_config_path fn 2025-02-01 15:24:23 +01:00
99ae6a7106
simplified config using config_path fn 2025-02-01 15:23:04 +01:00
44ddd6b3d1
sending server client's public key 2025-02-01 15:11:26 +01:00
56bd7c664d
fixed double read from authority 2025-02-01 15:09:44 +01:00
89c0f87678
created WHY2_CHAT_CODE_CLIENT_KEY_EXCHANGE macro 2025-02-01 14:58:39 +01:00
e51a6bf4e8
created why2_chat_ecc_encrypt fn 2025-02-01 14:54:11 +01:00
bf583fd495
created calculate_ecdh_secret fn
calculates shared secret (ECDH)
2025-02-01 14:53:46 +01:00
145f8d790f
created WHY2_CHAT_PADDING macro
how much padding should be used in chat encryption
2025-02-01 14:53:05 +01:00
be15fcd2f6
implemented new why2_sha256 in client 2025-02-01 14:38:14 +01:00
ea1bb6789e
added length parameter to why2_sha256 2025-02-01 14:37:53 +01:00
f404da5e2d
sending ca pubkey to client 2025-02-01 14:00:59 +01:00
9d40603741
added missing crypto include to authority 2025-02-01 14:00:04 +01:00
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