Re: Weak DH primes and openssh

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Sun, 24 May 2015, Daniel Kahn Gillmor wrote:

> Yep, but then we're all just relying on your (or Darren's) claims of
> Miller-Rabin tests, i guess.  I trust you guys, but as Darren points
> out, it's a drag to have to be a single point of failure on something
> like this where corroboration would be better.

You can trust and verify :)

ssh-keygen -T /tmp/moduli < /etc/moduli

Will run the Miller-Rabin tests on your own system, and with open-source
code.

> In that spirit, i've just tested the moduli (both the 2012 versions and
> the recent update), using gmp's mpz_probab_prime_p() [2] with 400 rounds
> of randomized Miller-Rabin [3] on each modulus p and on q=(p-1)/2.

That works too :)

-d
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux