122 Commits

Author SHA1 Message Date
12557a6a94 removed new FUCKING trailing spaces 2022-05-25 17:20:10 +02:00
cffdd22b85 found some better way to rewind FILE in version checking
just removing that TODO
2022-05-25 17:18:39 +02:00
375aeccc1c added more output to test failure 2022-05-24 19:10:26 +02:00
314846a45e whoops, I missed one
foq
2022-05-24 19:01:31 +02:00
6282bc6aec removed only char sizeof
'cause char length is 1 lulw
2022-05-24 18:56:32 +02:00
ef4f9f5084 reverted the sizeof removing
I have no idea
2022-05-24 18:45:44 +02:00
d63c97614f moved fileBuffer deallocation to beggining of encrypter
it for some reason threw segfault
2022-05-24 18:21:33 +02:00
cfb55cd493 removed stdlib from why2-app
idk why it was there
2022-05-24 18:17:49 +02:00
e4a2986c12 made test failure memory safe 2022-05-24 18:09:35 +02:00
74931327c0 changed test's buffer size to 64
this shouldn't be problem (I think)
2022-05-24 18:07:46 +02:00
70a2040bab removed unused sizeof
fixing my recent mistakes
2022-05-24 18:03:08 +02:00
cea8f06ad8 changed maximal line length (versions.json) to 32
I think 32 is enough/fine
2022-05-24 17:54:25 +02:00
a1503d6b74 changed buffer for versions.json to correct size
it was set to 256 and guess what? the current versions.json is EXACTLY 256 characters long lmaoo
2022-05-24 17:51:19 +02:00
7f90c74124 trying to add correct memory allocation
it's possible I'll revert this lol
2022-05-23 18:02:59 +02:00
9a2663c7a4 replaced malloc in loop with realloc
when I was coding first version of WHY2 I didn't know there's something like it lulw
2022-05-22 15:27:37 +02:00
64bc4482a6 added exit note to DOWNLOAD_FAILED 2022-05-21 18:35:51 +02:00
f4148b0de7 secured key generation
I made generating 'random' numbers much much secured -> /dev/urandom
2022-05-21 16:26:24 +02:00
f2da93818b removed *all* trailing spaces
God, please...
2022-05-21 15:46:19 +02:00
2440440353 removed deprecated flags completely 2022-05-20 18:30:36 +02:00
471c676af2 added manual allocation for buffer
just trying to fix da fukin github actionz
2022-05-13 17:31:40 +02:00
67380f51cf fixed invalid allocations
I forgot to add sizeof(int)
2022-05-13 17:30:17 +02:00
1ff00c5ccf removed the fucking github thing
FUUUCK
2022-05-12 18:50:58 +02:00
70dd6783ad trying to fix github actions problems 2022-05-12 18:45:32 +02:00
60f0ef807e fixed checkVersion problem(s)
this was caused to invalid buffer
2022-05-12 18:42:17 +02:00
3c536f22a8 created github flag
cuz github actions is crashing due to low RAM
2022-05-12 18:41:39 +02:00
c936ac4b6c implemented why2.h in main files 2022-05-12 17:12:33 +02:00
6486f500b6 created code for checking how old is your release
don't ask
2022-05-11 18:15:03 +02:00
1f2031b18c removed double-deallocation problem
this was caused by CURL
2022-05-11 18:00:12 +02:00
f09db993e7 added all missing deallocations (hopefully) 2022-05-11 17:50:01 +02:00
e60c05a59f added missing textKeyChain deallocation 2022-05-11 17:41:45 +02:00
7015a58762 added missing buffer deallocation 2022-05-11 17:39:08 +02:00
43ea16b596 removed TEST_KEY & added more info for successful test 2022-05-08 20:02:47 +02:00
442c7f3175 implemented deallocateOutput 2022-05-08 19:56:16 +02:00
7b5f1ba9b6 created function for deallocating outputFlags 2022-05-08 19:54:46 +02:00
0389ca0226 removed deallocation broking outputFlags 2022-05-08 19:48:50 +02:00
efab8647a8 added missing flags implementation 2022-05-08 19:41:20 +02:00
6907ba160e implemented new checkVersion 2022-05-06 17:50:08 +02:00
7c86692363 added inputFlags as checkVersion parameter 2022-05-06 17:48:28 +02:00
a11415b949 implemented inputFlags & outputFlags 2022-05-06 17:43:00 +02:00
f9bd01c394 moved *all* flags into flags.h 2022-05-05 18:26:10 +02:00
7357e27b32 added missing skipCheck to why2-app 2022-05-04 19:50:57 +02:00
726315c5e1 added missing deallocation of encryptedText 2022-05-04 19:13:45 +02:00
32440a0cb7 created basic info code for why2-app 2022-05-04 19:00:02 +02:00
7158843b73 fixed noOutput getter 2022-05-04 18:52:51 +02:00
265d3c134a implemented noOutput flag 2022-05-04 18:44:54 +02:00
b6819fbebd created noOutput flag 2022-05-04 18:42:30 +02:00
38eeb4303e created basic app source code 2022-05-04 18:28:15 +02:00
eefffcecdc created folder for WHY2 lib in src/ 2022-05-04 18:18:07 +02:00
61ce5d0c1b implemented keyLength 2022-05-03 18:37:28 +02:00
e85a14b253 created getter & setter for keyLength (replacement for KEY_LENGTH) 2022-05-03 18:36:44 +02:00