Skip to content

Commit 774c9a3

Browse files
author
demlasjr
committed
Default DKIM keys with 1024-bit instead 512-bit
Seems like Google is not very happy with the 512-bit. There are many news and blogs posts about it. Example: http://blog.wordtothewise.com/2012/11/gmail-sending-out-warnings-for-512-bit-dkim-keys/ I personally tested it with 1024-bit and 2048-bit and everything is working just fine.
1 parent 76bf903 commit 774c9a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

func/rebuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ rebuild_mail_domain_conf() {
455455
U_MAIL_DKMI=$((U_MAIL_DKMI + 1))
456456
pem="$USER_DATA/mail/$domain.pem"
457457
pub="$USER_DATA/mail/$domain.pub"
458-
openssl genrsa -out $pem 512 &>/dev/null
458+
openssl genrsa -out $pem 1024 &>/dev/null
459459
openssl rsa -pubout -in $pem -out $pub &>/dev/null
460460
cp $pem $HOMEDIR/$user/conf/mail/$domain/dkim.pem
461461

0 commit comments

Comments
 (0)