518 Commits

Author SHA1 Message Date
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
ad15dce494
added exit code to final why2-test message 2022-06-12 17:08:37 +02:00
3412ebd8d3
implemeted the new integer types of check functions in decrypter
didn't expect this, right? lmao
2022-06-12 17:06:44 +02:00
e036359677
implemeted the new integer types of check functions in encrypter 2022-06-12 17:04:47 +02:00
02d48ef32c
blocking update in why2-test 2022-06-12 16:43:22 +02:00
ebe54b4b4a
added missing SUCCESS value to skipping check in checkVersion 2022-06-12 16:37:32 +02:00
99e1ca932d
added missing SUCCESS exit to checkKey & checkText 2022-06-12 16:36:41 +02:00
827331c2ff
changed all other checking functions type to int 2022-06-12 16:35:43 +02:00
d196818ec0
changed checkVersion return type to int
it will return exitCode
2022-06-12 16:34:19 +02:00
78e93f6d19
removed unreachable/duplicate code from encrypter
I have no clue why, but there was duplicate code for checking text
2022-06-12 16:29:35 +02:00
f9bdbb1053
replaced all exit calls by returning noOutput 2022-06-12 16:28:16 +02:00
c7902f5c83
added missing exit code to returning outputFlags in decrypter & encrypter 2022-06-12 16:23:26 +02:00
8c787b5387
replaced exit for noOutput in INVALID_TEXT scenario 2022-06-12 16:22:29 +02:00
045db6c7db
added exitCode parameter to noOutput function 2022-06-12 16:21:12 +02:00
85ec93bb7d
added SUCCESS exit code 2022-06-12 16:19:58 +02:00
9428c838ed
added exitCode variable to outputFlags 2022-06-12 16:19:04 +02:00
c5de589fff
created noOutput function
let's play a game - I will not explain what it does and you'll start thinking about it
2022-06-12 16:17:09 +02:00
7245b03a37
implemented the INVALID_TEXT exit value 2022-06-12 16:13:23 +02:00
32d5022b29
added INVALID_TEXT exit value 2022-06-12 16:11:27 +02:00
eba0e72e33
changed version to v4.2 2022-06-11 19:26:28 +02:00
4580d1eda2
added git2 to build script 2022-06-11 19:07:12 +02:00
23663d5524
added warning
sad
2022-06-11 19:05:23 +02:00
388f0d05c7
created code for auto-update
it's just beta - you have to run program with root perms
2022-06-11 19:00:24 +02:00
40ebc534c1
added UPDATE_COMMAND variable 2022-06-11 18:54:34 +02:00
c3198d6ab2
added tmux to required dependencies 2022-06-11 18:54:14 +02:00
d1e6ff12dc
blocking auto-update as default 2022-06-11 18:53:25 +02:00
eaf06a9ad0
added c11 version to CFLAGS 2022-06-11 17:46:59 +02:00
f6d5bde413
added UPDATE_FAILED exit-code 2022-06-11 17:38:44 +02:00
004a006e6e
added libgit2 to LIBS 2022-06-11 17:13:27 +02:00