687 Commits

Author SHA1 Message Date
8c4b888a88
renamed logger-test's test variable to logFile 2022-11-22 18:57:53 +01:00
3c17674cdb
added comments to logger-test 2022-11-22 18:57:06 +01:00
28a38e5290
moved logger-test's directory to WRITE_DIR flag 2022-11-22 18:56:10 +01:00
2c379872d9
moved logger-test's write message to WRITE_MESSAGE flag 2022-11-22 18:55:34 +01:00
9fe1fbde66
added something intelligent to logger-test write message 2022-11-22 18:54:06 +01:00
48977c0fe1
added on byte to writeLog's buffer allocation
I mean... Valgrind told me to.
2022-11-22 18:50:41 +01:00
0f4492a611
added some *working* code into writeLog's body 2022-11-22 18:47:56 +01:00
8ee309fe7c
implemented writeLog in logger-test 2022-11-22 18:32:44 +01:00
95d5c8201f
added missing header file include
I thought it write() was in fcnttl

whoops
2022-11-22 18:30:55 +01:00
e5a4c21f6a
added test code into writeLog 2022-11-22 18:29:00 +01:00
f2b059da13
implemented deallocateLogger in logger-test 2022-11-22 18:19:47 +01:00
453a8a1cca
added code to deallocateLogger's body
just close function lmao
2022-11-22 18:19:21 +01:00
614d788350 implemented LOG_FORMATTING in logger 2022-11-21 12:08:37 +00:00
4a7f3ac3ab fixed logger's todo
and deallocated filePath
2022-11-21 11:58:10 +00:00
ddb5389916 implemented MAX_USAGE flag 2022-11-21 11:55:25 +00:00
6862a1815f added missing initLogger deallocation
I forgor
2022-11-21 11:53:53 +00:00
091fe43bb2
created some basic code for logs generation
I will make more variable etc. tomorrow
2022-11-18 19:54:33 +01:00
952c348e8e
added some *serious* test code into logger-test 2022-11-18 18:56:22 +01:00
1e52db8967
renamed path to directoryPath in initLogger 2022-11-18 18:32:28 +01:00
7a296a2ca6
created why2-logger test file 2022-11-18 17:34:11 +01:00
d47bf0b56a
added some basic test code into initLogger 2022-11-18 17:27:47 +01:00
6c3165ed91
created logger files 2022-11-18 16:10:54 +01:00
1bfe7a4108
moved all source files into core folder
so app and lib is now at ./src/core/, ok?
2022-11-18 16:06:50 +01:00
e70b54da69
made reading /dev/urandom in encrypter little bit more variable 2022-11-17 14:26:08 +01:00
79617cb3b4
added missing numberBuffer definition 2022-11-17 14:10:25 +01:00
eff64dac06
replaced stupid code with abs 2022-11-17 14:09:26 +01:00
c1c0e41a33
changed checkExitCode's type to UC 2022-11-03 17:17:15 +01:00
0702dd26cd
removed unused byte from why2-test failed message
because I can
2022-11-03 17:11:17 +01:00
708f53287e
removed unused unistd header from encrypter
idk
2022-11-02 17:38:08 +01:00
8fa0b012b1
simplified using callback in TKCh-gen 2022-10-17 17:00:22 +02:00
49ca8d2012
implemented encryptionOperationTest in why2-test 2022-10-17 16:56:54 +02:00
3058a34eab
created encryptionOperationTest in why2-test 2022-10-17 16:54:42 +02:00
565271f673
created setter function for encryptionOperation 2022-10-17 16:52:09 +02:00
2772a06797
updated encryptionOperation comment 2022-10-17 16:50:45 +02:00
187f11ed65
replaced encryptionOperation usage with encryptionOperation getter 2022-10-17 16:47:05 +02:00
0edab92261
moved encryptionOperation_type_cb into flags.h 2022-10-17 16:41:04 +02:00
148070c2bb
created getter function for encryptionOperation_cb
and also created encryptionOperation_type_cb cuz I didn't found any other way to make it work hehe
2022-10-17 16:38:28 +02:00
04856bb9f6
created callback for encryptionOperation 2022-10-16 19:52:56 +02:00
e4c5feedb4
implemented encryptedTextKeyChain function in encrypter & decrypter
you can now change the encryption operation in one function
2022-10-16 19:46:56 +02:00
178df23585
created encryptionOperation function
see next commit for context
2022-10-16 19:42:25 +02:00
a40f9637f0
replaced _Bool with boolean typedef
basically char but it looks good and smart now
2022-10-15 15:21:28 +02:00
f889bb28e3
created CURL_TIMEOUT constant
and implemented it ofc
2022-08-25 12:02:16 +02:00
6982bb2def
added missing why2-test's outputBuffer deallocation
so now if you don't count that fucking json-c library, there are no memory leaks

FUCK YES
2022-08-25 11:55:42 +02:00
3b0a59545d
fixed no connection segfault
this was caused by my stupid-ass
2022-08-25 11:49:54 +02:00
1d769cec36
set cURL timeout to 3s
hey..... versions.json is currently 374 bytes, so it's enough for you, right?
2022-08-25 11:34:54 +02:00
916c670e4b
fixed countRepeatedKeySize result
I forgot that the key has to be 2x longer than text

TEXT = Hi, KEY = abcd
2022-08-25 11:11:35 +02:00
3421fb5b70
*really* fixed countUnusedKeySize result
result number was basically only even
2022-08-25 10:52:05 +02:00
c51002e100
unfucked the countUnusedKeySize fix
this reverts commit f157b2181074d11268abc543a891898dff1057c8
2022-08-24 16:04:54 +02:00
3c600c2d78
removed unused UNUSED modificatiors from countRepeatedKeySize
unused UNUSED lmao
2022-08-24 16:01:48 +02:00
f157b21810
fixed countUnusedKeySize result (I hope) 2022-08-24 16:00:44 +02:00