X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fntp%2Ffiles%2Fetc-default-ntp;h=d5bcb4287245ac8ed0dd52781f10d36061a43e4b;hb=f8b10b0e0516ad8e0e0f2cf1ed7ab9fb73922b97;hp=91790cd4fdda8d7e77e870333c437ed254c3e03b;hpb=e3d9e188efddf027bd8b68319966fe3f7602994e;p=mirror%2Fdsa-puppet.git diff --git a/modules/ntp/files/etc-default-ntp b/modules/ntp/files/etc-default-ntp index 91790cd4f..d5bcb4287 100644 --- a/modules/ntp/files/etc-default-ntp +++ b/modules/ntp/files/etc-default-ntp @@ -41,6 +41,6 @@ if ! [ -e "$KEYSDIR/ntpkey_cert_$h" ] || # on the client this is all we need: if [ -x /usr/sbin/ntp-keygen ] ; then [ -d "$KEYSDIR" ] || install -d -o root -g ntp -m 770 "$KEYSDIR" - ( cd "$KEYSDIR" && RANDFILE=/dev/urandom /usr/sbin/ntp-keygen -I -H -c RSA-SHA1 -m 1024 ) + ( cd "$KEYSDIR" && RANDFILE=/dev/urandom /usr/sbin/ntp-keygen -I -H -c RSA-SHA256 -m 2048 ) fi fi