Permalink
Browse files

Merge pull request #124 from demlasjr/patch-1

Default DKIM keys with 1024-bit instead 512-bit
  • Loading branch information...
serghey-rodin committed Mar 19, 2014
2 parents 26d1cb0 + 774c9a3 commit 3b60ab29f77dad8f71fc823f80eaed62630d50bc
Showing with 1 addition and 1 deletion.
  1. +1 −1 func/rebuild.sh
View
@@ -455,7 +455,7 @@ rebuild_mail_domain_conf() {
U_MAIL_DKMI=$((U_MAIL_DKMI + 1))
pem="$USER_DATA/mail/$domain.pem"
pub="$USER_DATA/mail/$domain.pub"
- openssl genrsa -out $pem 512 &>/dev/null
+ openssl genrsa -out $pem 1024 &>/dev/null
openssl rsa -pubout -in $pem -out $pub &>/dev/null
cp $pem $HOMEDIR/$user/conf/mail/$domain/dkim.pem

0 comments on commit 3b60ab2

Please sign in to comment.