1461 Commits

Author SHA1 Message Date
4f2741b2ad
installing gdb in project workflow 2025-01-09 15:48:21 +01:00
d58374232a
running workflow file tests in gdb
Some checks failed
Codacy Scan / Codacy Security Scan (push) Failing after 2m31s
Test Project / test-project (./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./test) (push) Failing after 2m23s
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 3m24s
Build WHY2-chat / test-why2 (./out/why2-chat-client, ./configure.sh, ubuntu-latest, ./out/why2-chat-server) (push) Failing after 3m30s
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 4m12s
2025-01-09 15:42:14 +01:00
4244d2687e
using absolute paths in workflow 2025-01-09 15:41:47 +01:00
2758a32bb8
replaced debian-based nss-curl with openssl-curl
Some checks failed
Codacy Scan / Codacy Security Scan (push) Has been cancelled
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, ubuntu-latest, ./out/why2-core-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 1m42s
Test WHY2-logger / test-why2 (why2-logger, configure.sh, ubuntu-latest, ./out/why2-logger-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 1m45s
Test Project / test-project (configure.sh, ubuntu-latest, test) (push) Failing after 1m26s
2025-01-09 15:21:07 +01:00
360d581084
replaced apt usage with apt-get
Some checks failed
Codacy Scan / Codacy Security Scan (push) Failing after 5m2s
Build WHY2-chat / test-why2 (./out/why2-chat-client, configure.sh, ubuntu-latest, ./out/why2-chat-server) (push) Failing after 1m41s
Test WHY2-core / test-why2 (why2, configure.sh, ubuntu-latest, ./out/why2-core-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 1m36s
Test WHY2-logger / test-why2 (why2-logger, configure.sh, ubuntu-latest, ./out/why2-logger-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 1m33s
Test Project / test-project (configure.sh, ubuntu-latest, test) (push) Failing after 1m0s
No money, no girls, denied

Can you fuckin’ believe it?

Oh, oh, oh, oh, oh
2025-01-09 15:08:34 +01:00
ee6840ecfb
using non-interactive apt frontend
Some checks failed
Codacy Scan / Codacy Security Scan (push) Failing after 4m10s
Build WHY2-chat / test-why2 (./out/why2-chat-client, configure.sh, ubuntu-latest, ./out/why2-chat-server) (push) Failing after 2m17s
Test WHY2-core / test-why2 (why2, configure.sh, ubuntu-latest, ./out/why2-core-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 1m28s
Test WHY2-logger / test-why2 (why2-logger, configure.sh, ubuntu-latest, ./out/why2-logger-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 1m24s
Test Project / test-project (configure.sh, ubuntu-latest, test) (push) Failing after 1m31s
2025-01-08 18:56:07 +01:00
9feca42ec5
fixed bs in workflows
Some checks failed
Codacy Scan / Codacy Security Scan (push) Failing after 1m22s
Build WHY2-chat / test-why2 (./out/why2-chat-client, configure.sh, ubuntu-latest, ./out/why2-chat-server) (push) Failing after 1m13s
Test WHY2-logger / test-why2 (why2-logger, configure.sh, ubuntu-latest, ./out/why2-logger-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 1m0s
Test Project / test-project (configure.sh, ubuntu-latest, test) (push) Failing after 4m48s
Test WHY2-core / test-why2 (why2, configure.sh, ubuntu-latest, ./out/why2-core-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 1m9s
2025-01-08 18:01:54 +01:00
f8892b03bf
moved rust-toolchain to WHY2 install step
Some checks failed
Codacy Scan / Codacy Security Scan (push) Failing after 2m8s
Build WHY2-chat / test-why2 (./out/why2-chat-client, configure.sh, ubuntu-latest, ./out/why2-chat-server) (push) Failing after 0s
Test WHY2-core / test-why2 (why2, configure.sh, ubuntu-latest, ./out/why2-core-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 0s
Test WHY2-logger / test-why2 (why2-logger, configure.sh, ubuntu-latest, ./out/why2-logger-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 0s
Test Project / test-project (configure.sh, ubuntu-latest, test) (push) Failing after 0s
2025-01-08 17:55:06 +01:00
be94830e84
added rust-toolchain to github workflows
Some checks failed
Codacy Scan / Codacy Security Scan (push) Failing after 1m43s
Build WHY2-chat / test-why2 (./out/why2-chat-client, configure.sh, ubuntu-latest, ./out/why2-chat-server) (push) Failing after 0s
Test WHY2-core / test-why2 (why2, configure.sh, ubuntu-latest, ./out/why2-core-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 0s
Test WHY2-logger / test-why2 (why2-logger, configure.sh, ubuntu-latest, ./out/why2-logger-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 0s
Test Project / test-project (configure.sh, ubuntu-latest, test) (push) Failing after 0s
2025-01-08 17:52:25 +01:00
f1ebb2b6f7
revert "sourcing cargo env before running rules"
this reverts commit ad75a52e962d5e50d961090c1a0d5d70eb43672a.
2025-01-08 17:42:07 +01:00
ad75a52e96
sourcing cargo env before running rules
Some checks failed
Codacy Scan / Codacy Security Scan (push) Failing after 2m8s
Build WHY2-chat / test-why2 (./out/why2-chat-client, configure.sh, ubuntu-latest, ./out/why2-chat-server) (push) Failing after 53s
Test WHY2-core / test-why2 (why2, configure.sh, ubuntu-latest, ./out/why2-core-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 56s
Test WHY2-logger / test-why2 (why2-logger, configure.sh, ubuntu-latest, ./out/why2-logger-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 54s
Test Project / test-project (configure.sh, ubuntu-latest, test) (push) Failing after 49s
2025-01-08 17:19:28 +01:00
a52031ad52
removed exit from anti-root check in makefile
Some checks failed
Codacy Scan / Codacy Security Scan (push) Failing after 2m5s
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, ubuntu-latest, ./out/why2-core-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 1m8s
Test WHY2-logger / test-why2 (why2-logger, configure.sh, ubuntu-latest, ./out/why2-logger-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 1m4s
Test Project / test-project (configure.sh, ubuntu-latest, test) (push) Failing after 1m6s
2025-01-08 17:11:43 +01:00
c72eb44ab0 corrected output path in make
Some checks failed
Build WHY2-chat / test-why2 (./out/why2-chat-client, configure.sh, ubuntu-latest, ./out/why2-chat-server) (push) Failing after 1m19s
Test WHY2-core / test-why2 (why2, configure.sh, ubuntu-latest, ./out/why2-core-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 59s
Test WHY2-logger / test-why2 (why2-logger, configure.sh, ubuntu-latest, ./out/why2-logger-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 59s
Test Project / test-project (configure.sh, ubuntu-latest, test) (push) Failing after 1m2s
Codacy Scan / Codacy Security Scan (push) Failing after 2m31s
2024-12-26 11:49:24 +00:00
0aed96415c
added todo to encrypter padding 2024-11-21 21:13:43 +01:00
3a62ed36e7
ignoring .gdbinit file 2024-11-21 21:08:47 +01:00
222f55587f
implemented WHY2_RECOMMENDED_PADDING_RATE in core-test input_flags 2024-11-21 21:05:28 +01:00
cf277b249f
created WHY2_RECOMMENDED_PADDING_RATE macro
basically padding every 3 chars
2024-11-21 21:04:52 +01:00
1027042edf
added core-crypto to why2 header 2024-11-21 21:03:52 +01:00
812e31f429
preventing modulating by 0 in tkch 2024-11-21 21:00:52 +01:00
6a3f005321
implemented padding in decrypter
FUCKKKKK remember how I mentioned that creating padding in encrypter was pain? This, compared to the encrypter is like getting stuck up your ass and getting it shaked by a fucking gorilla compared to stepping on a lego brick. FUCK.
2024-11-21 20:56:18 +01:00
126565cf97
preventing padding char from being 0 2024-11-21 20:53:06 +01:00
326f8f0768
created WHY2_PADDING_NONZERO_TRIES macro
when I try to generate random number, I need to prevent it from being zero, so I try this many times to be non-zero before I forcefully set it to 1

this should run few times but yk, theoretically the generated number can be the same for infinite time (or at least slow the performance :) )
2024-11-21 20:50:20 +01:00
7dcbd4fc80
created why2_list_reverse fn in llist
it reverses list you dipstick
2024-11-21 17:59:15 +01:00
90643d8247
created why2_list_remove_at in llist
removes element by index
2024-11-21 17:20:47 +01:00
38f814ac9c
implemented why2_list_push_at in encrypter paddding 2024-11-21 17:13:16 +01:00
98cc5b83b8
using why2-memory in why2-llist 2024-11-21 17:11:55 +01:00
994a2a8c4f
fixed memory leak in encrypter padding 2024-11-21 17:11:17 +01:00
c5394e63e5
created why2_recalloc fn in memory
deallocates and callocs
2024-11-21 16:52:06 +01:00
0e246be627
created why2_list_push_at fn in llist
pushes to specific position
2024-11-21 16:49:27 +01:00
08181e5f19
renamed decrypter's key_new to key
haha same shit
2024-11-20 21:45:45 +01:00
1aab7bf996
created padding in encrypter
lot of pain
2024-11-20 21:41:21 +01:00
5cc04d94b7
renamed encrypter's key_new to key
haha stupid old me was lazy af
2024-11-20 21:40:48 +01:00
f95608f52a
moved key's random number generation to why2_random fn 2024-11-20 17:56:04 +01:00
5b06ea5dc1
changed padding flag to UL 2024-11-20 17:12:54 +01:00
f754e43e19
made sum_segment comments more explanatory 2024-11-20 17:10:39 +01:00
6e7cdde99d
changed why2_sum_segment datatype to ULL
just in case
2024-11-20 16:33:22 +01:00
10fe26cca1
using rolling-hash-like way to count why2_sum_segment 2024-11-20 16:32:13 +01:00
b50305f080
created mod & base primes macros 2024-11-20 16:27:48 +01:00
e0274ec6c1
incread segment_size to 32 2024-11-20 16:24:21 +01:00
c0e9381642
renamed why2_checksum_segment to why2_sum_segment
it isn't that safe to be considered a checksum and the name checksum can be misleading. i am going to use it for getting padding size
2024-11-20 16:19:59 +01:00
c71b5275b5
changed checksum prime/segment ratio 2024-11-19 22:54:38 +01:00
5833502c7a
added checksum warning 2024-11-19 22:30:18 +01:00
7638881217
created why2_checksum_segment fn
it isn't meant to be unique checksum. it just really messses with the range of values
2024-11-19 22:29:07 +01:00
2f6ab00f93
defined WHY2_CHECKSUM_PRIME macro 2024-11-19 22:28:10 +01:00
fb2ac1a7bb
moved checksum stuff to core-crypto
also created the core-crypto
2024-11-19 21:57:29 +01:00
f3bd52b674
declared why2_checksum_segment 2024-11-19 21:39:34 +01:00
ceefd7ed98
removed constant modificator from padding rate 2024-11-19 21:17:39 +01:00
d0e6d794e0
implemented padding rate in all why2_input_flags usages 2024-11-19 21:12:02 +01:00
10edcdeccf
added padding parameter to why2_input_flags 2024-11-19 21:05:33 +01:00
d14f9adaf4
simplified stupid code in tkch_gen
damn old me was really dumb
2024-11-19 20:51:33 +01:00