446 Commits

Author SHA1 Message Date
bcb33ad354
created exitCode check for why2-test
if exitCode isn't 0, test now fails
2022-07-15 19:55:20 +02:00
dfbf65cc0f
replaced repeating malloc with realloc
tf I tried to fix this much earlier but it was throwing segfaults... I should start taking those pills
2022-07-15 19:32:57 +02:00
090d82842c
article typo fix
indefinite article, bitch
2022-07-14 17:43:35 +02:00
0f01cde0f1
[E&D CHANGE] reversed textKeyChain generation
tag 'old-generation-but_newer' contains older generation

https://github.com/ENGO150/WHY2/tree/old-generation-but_newer
2022-07-11 19:12:41 +02:00
ee0f9f00af
renamed why2-test's test-why2-makefile to test-why2 2022-07-11 18:06:29 +02:00
ea4b231c4b
removed build script usage from why2-project workflow
"Think before you remove somethin"
2022-07-11 18:05:35 +02:00
23078e5a28
removed test-why2-script job from why2-test workflow 2022-07-11 18:01:06 +02:00
79cf4ecc70
removed build script 2022-07-11 17:57:11 +02:00
d35ce48684
moved encrypter's 'fileBuffer' deallocation at the end of encryptText 2022-07-11 17:52:45 +02:00
635f946671
changed decrypter's 'encryptedTextKeyChain' allocation to heap 2022-07-11 17:50:23 +02:00
5482dcac2f
changed version to v4.3
I wanna die, Alex
2022-07-10 19:26:51 +02:00
7c87d835dd
removed ALL forgotten (flags) parameters passed to misc functions
I mean... I hope
2022-07-10 18:31:40 +02:00
8363ff25ea
implemented getFlags in misc 2022-07-10 18:27:00 +02:00
163cbb8c6d
removed inputFlags from misc functions
getter time babyyy
2022-07-10 18:24:44 +02:00
e49f56f288
implemented getFlags function 2022-07-10 18:18:36 +02:00
307642272e
implemented setFlags function 2022-07-10 18:17:42 +02:00
ad21a520b5
removed inputFlags from encrypt & decrypt functions 2022-07-10 18:17:05 +02:00
c3b5db0124
declared getFlags & setFlags 2022-07-10 18:10:18 +02:00
692e76db17
created getter & setter for 'flags' 2022-07-10 18:07:21 +02:00
fb620fd8c9
created (local variable) DEFAULT_FLAGS to simplify defaultFlags() etc. 2022-07-10 18:04:33 +02:00
8b57e5450b
created 'flags' flag
this variable will be used as default
2022-07-10 17:52:28 +02:00
212f0205c5
renamed noUpdate flag to update & swapped its value everywhere
it was kinda annoying when you were trying to disable it with positive value :DD
2022-07-10 17:51:31 +02:00
71865826fa
renamed noFlags to defaultFlags 2022-07-10 17:40:32 +02:00
92dd06d8b0
moved variables from flags.h to flags.c
this just makes flags safer
2022-07-01 18:45:44 +02:00
f617d10343
created noTarget make rule
this will be run when no target is set
2022-06-28 17:45:39 +02:00
7cb46db306
added some quotes to why2-test success message
I think it's good for checking if there aren't any 'trailing spaces'
2022-06-25 18:09:42 +02:00
c3e7caf4b3
added missing installCommand deallocation to auto-update
NOTE: function 'replaceWord' returns allocated text
2022-06-21 19:14:06 +02:00
7471d8eaa4
added many more warning flags to CFLAGS 2022-06-19 17:19:36 +02:00
9ffefa4419
biatch, added every missing type cast
if you're asking why, look at next commit
2022-06-19 17:19:03 +02:00
d293941646
created UNUSED flag 2022-06-19 17:15:23 +02:00
f26d23a08c
removed unused math library from encrypter
woah, I forgot to remove it in 271afd53d3728039a43bd543e48e176d7e3bbcfe
2022-06-19 16:35:39 +02:00
5aa45b9bcd
removed TODO from key generation
I forgot it there
2022-06-19 16:25:32 +02:00
c3b6e26036
renamed noOutput variables
made it prettier
2022-06-19 16:22:28 +02:00
0a0803145c
made noOutput safer
it's now returning empty key of *VALID* keyLength
2022-06-19 16:20:52 +02:00
f3c11a46c6
added missing comment to encryptionSeparator 2022-06-19 16:05:39 +02:00
e45e13b7e5
blocking null character in setEncryptionSeparator 2022-06-18 18:37:39 +02:00
3585563139
added encryptionSeparator setter to why2-test 2022-06-18 18:34:27 +02:00
fdd41f35a5
implemented encryptionSeparator getter 2022-06-18 18:30:06 +02:00
1a5b58edf9
created getter & setter for encryptionSeparator 2022-06-18 18:28:33 +02:00
cabd16a63f
changed ENCRYPTION_SEPARATOR from const to var 2022-06-18 18:26:31 +02:00
f9a9347ed9
removed ENCRYPTION_SEPARATOR_STRING
it's unused now
2022-06-18 18:18:33 +02:00
23dec2b310
replaced ENCRYPTION_SEPARATOR_STRING usage for ENCRYPTION_SEPARATOR 2022-06-18 18:17:54 +02:00
227b933bc4
added ENCRYPTION_SEPARATOR_STRING security note 2022-06-16 18:20:21 +02:00
e192b0cd8e
changed version to v4.2.1
kill me
2022-06-13 18:58:19 +02:00
910ac02b48
added debug (-g) flag to why2-test rule
I'm putting it there every debugging so it's pretty annoying

lya
2022-06-13 18:48:23 +02:00
4aa80c199c
fixed (I hope) every allocation size
"Just use Valgrind", they said.... I should listen to them
2022-06-13 18:13:27 +02:00
62b2094d48
made random seed always positive in encrypter
the UL was risky
2022-06-12 18:32:08 +02:00
b23a2e2b22
added deprecated note to build.sh
I'll remove this buggy shit
2022-06-12 18:28:53 +02:00
b5e27a1857
changed checking functions type from I to UC 2022-06-12 17:20:55 +02:00
86c8460615
changed returned text in noOutput to same but allocated text
it could possibly cause deallocattion problems
2022-06-12 17:15:07 +02:00