skipping the iv parameter initialisation

This commit is contained in:
SJ 2016-04-26 22:28:38 +02:00
parent c0e1425e52
commit 1d57248db9
5 changed files with 1 additions and 19 deletions

2
configure vendored
View File

@ -4883,8 +4883,6 @@ echo "tnef: $tnef"
id -u $RUNNING_USER 2>/dev/null 1>/dev/null
if test $? -eq 1; then echo "the user \"$RUNNING_USER\" does not exists, please create it, first with adduser..."; exit 1; fi
iv=`util/gen-iv.pl`
echo; echo
CFLAGS="$static -O2 -Wall -g"

View File

@ -550,8 +550,6 @@ echo "tnef: $tnef"
id -u $RUNNING_USER 2>/dev/null 1>/dev/null
if test $? -eq 1; then echo "the user \"$RUNNING_USER\" does not exists, please create it, first with adduser..."; exit 1; fi
iv=`util/gen-iv.pl`
echo; echo
CFLAGS="$static -O2 -Wall -g"

View File

@ -26,7 +26,6 @@ INSTALL = @INSTALL@
all:
sed -e 's%pidfile=.*%pidfile=$(localstatedir)/run/piler/piler.pid%g' \
-e 's%iv=.*%iv=@iv@%g' \
-e 's%pemfile=%pemfile=$(sysconfdir)/piler.pem%g' \
-e 's%workdir=.*%workdir=$(localstatedir)/piler/tmp%g' < $(srcdir)/example.conf | grep -v ^\; | grep '=' | sort > $(srcdir)/piler.conf

View File

@ -25,7 +25,7 @@ default_retention_days=2557
; this is a 16 character long vector
; after the installation you must not change it ever
; otherwise you can't access your emails
iv=****************
;iv=****************
; whether to encrypt messages (1) or not (0).
; Make sure to set this value to your needs right after installing piler,

View File

@ -1,13 +0,0 @@
#!/usr/bin/perl
#
@x = ('A'..'Z','a'..'z',0..9);
$iv = "";
srand;
for($i=0; $i<16; $i++){
$iv .= @x[rand @x];
}
print $iv;