260 Commits

Author SHA1 Message Date
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
b3e444e2d9 implemeted skipCheck 2022-05-02 18:01:52 +02:00
c5dca2c782 changed SKIP_CHECK to variable & created getter and setter 2022-05-02 18:01:12 +02:00
5dda971834 implemented install way 2022-05-01 16:23:07 +02:00
f60d6d0496 created flag for skipping checking version 2022-04-29 18:00:38 +02:00
aa5edf5840 argc typo fix 2022-04-29 17:49:51 +02:00
a04da40120 created code for checking versions.json is avaible 2022-04-29 17:31:01 +02:00
d3a03a08b2 moved removing versions.json from build.sh to misc.c 2022-04-29 17:17:00 +02:00
3f5724dc0b created test code 2022-04-27 19:18:30 +02:00
6f38a68020 added comparing versions to error message 2022-04-27 19:02:02 +02:00
fb31bb9859 added missing deallocation 2022-04-27 18:18:40 +02:00
9b57343c4c moved textKeyChain to 'variables' part 2022-04-27 18:17:35 +02:00
4f50c2b4bb implemented generateTextKeyChain 2022-04-27 18:16:37 +02:00