mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 01:41:59 +01:00
skipping the iv parameter initialisation
This commit is contained in:
parent
c0e1425e52
commit
1d57248db9
2
configure
vendored
2
configure
vendored
@ -4883,8 +4883,6 @@ echo "tnef: $tnef"
|
|||||||
id -u $RUNNING_USER 2>/dev/null 1>/dev/null
|
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
|
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
|
echo; echo
|
||||||
|
|
||||||
CFLAGS="$static -O2 -Wall -g"
|
CFLAGS="$static -O2 -Wall -g"
|
||||||
|
@ -550,8 +550,6 @@ echo "tnef: $tnef"
|
|||||||
id -u $RUNNING_USER 2>/dev/null 1>/dev/null
|
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
|
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
|
echo; echo
|
||||||
|
|
||||||
CFLAGS="$static -O2 -Wall -g"
|
CFLAGS="$static -O2 -Wall -g"
|
||||||
|
@ -26,7 +26,6 @@ INSTALL = @INSTALL@
|
|||||||
|
|
||||||
all:
|
all:
|
||||||
sed -e 's%pidfile=.*%pidfile=$(localstatedir)/run/piler/piler.pid%g' \
|
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%pemfile=%pemfile=$(sysconfdir)/piler.pem%g' \
|
||||||
-e 's%workdir=.*%workdir=$(localstatedir)/piler/tmp%g' < $(srcdir)/example.conf | grep -v ^\; | grep '=' | sort > $(srcdir)/piler.conf
|
-e 's%workdir=.*%workdir=$(localstatedir)/piler/tmp%g' < $(srcdir)/example.conf | grep -v ^\; | grep '=' | sort > $(srcdir)/piler.conf
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ default_retention_days=2557
|
|||||||
; this is a 16 character long vector
|
; this is a 16 character long vector
|
||||||
; after the installation you must not change it ever
|
; after the installation you must not change it ever
|
||||||
; otherwise you can't access your emails
|
; otherwise you can't access your emails
|
||||||
iv=****************
|
;iv=****************
|
||||||
|
|
||||||
; whether to encrypt messages (1) or not (0).
|
; whether to encrypt messages (1) or not (0).
|
||||||
; Make sure to set this value to your needs right after installing piler,
|
; Make sure to set this value to your needs right after installing piler,
|
||||||
|
@ -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;
|
|
Loading…
Reference in New Issue
Block a user