waisting some CPU time
Oct. 23rd, 2015 06:28 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Given some people having rainbow tables I'm now waisting a lot of cpu time doing:
for i in 2046 3072 4096 6144 7680 8192 ; do ssh-keygen -G moduli-$i.candidates -b $i ssh-keygen -T moduli-$i -f moduli-$i.candidates done mv /etc/ssh/moduli /etc/ssh/moduli-normal cat moduli-[23478]* > /etc/ssh/moduli systemctl restart ssh.serviceThis should give me brand-new primes, used only by me. So even if 'bad people' spend a lot of time and money hacking the 20 odd 2048-bit primes distributed with ssh, I would be ... higher on their target list?
no subject
Date: 2015-10-23 07:52 am (UTC)no subject
Date: 2015-10-23 11:55 am (UTC)Wow, an attentive reader ;)
no subject
Date: 2015-10-23 01:39 pm (UTC)Trained on multiple years of frequent code reviews, I bet.
2046?
Date: 2015-10-24 06:17 am (UTC)All the other sizes are nice round numbers.