Earlier quoted context omitted.
It's pretty easy. There are ways to test primarily such that constructing a counterexample would be an important mathematical result. https://en.wikipedia.org/wiki/Baillie–PSW_primality_test > The power of the Baillie-PSW test comes from the fact that these lists of strong Fermat pseudoprimes and strong Lucas pseudoprimes have no known overlap. There is even evidence that the numbers in these lists tend to be differe…
It might be "easy" but is it quick enough to be tolerated as part of a build?
Socat: “the hard coded 1024 bit DH p parameter was not prime”
171–180 of 199 posts
Re: Socat: “the hard coded 1024 bit DH p parameter was not prime”
#172Earlier quoted context omitted.
> I would guess they were aware of the problem weather they created it or not. While it's smart to assume so, it's also pretty laughable to think that the NSA has an exhaustive list of encryption vulnerabilities.
> While it's smart to assume so, it's also pretty laughable to think that the NSA has an exhaustive list of encryption vulnerabilities. True, but in this case I'm sure they have enough hardware to factor any widely deployed primes used in crypto or semi crypto comms software. After all, that is half of the NSAs job description.
Re: Socat: “the hard coded 1024 bit DH p parameter was not prime”
#173Earlier quoted context omitted.
I thought it was proven to be trancendental? Or were you saying that this property of trancendental numbers is only conjectured?
Pi is transcendental, which means that it is not a root of a non-zero polynomial with rational coefficients. Being transcendental does not imply that a number's expansion in a given base must include every digit string. Consider the number 1/10^1! + 1/10^2! + 1/10^3! + 1/10^4! + .... This number, whose decimal expansion is 0.110001000000000000000001... is transcendental (proven by Liouville in 1844). Its decimal expa…
Re: Socat: “the hard coded 1024 bit DH p parameter was not prime”
#174Earlier quoted context omitted.
Wow. 271 is a factor. Why not try dividing by all 32 bit numbers, to at least filter easy cases. Shouldn't take more than a few seconds.
The following Sage script shows that p has no prime factors less than 2^32 other than 271 and 13597: p_list = [0xCC, 0x17, 0xF2, 0xDC, 0x96, 0xDF, 0x59, 0xA4, 0x46, 0xC5, 0x3E, 0x0E, 0xB8, 0x26, 0x55, 0x0C, 0xE3, 0x88, 0xC1, 0xCE, 0xA7, 0xBC, 0xB3, 0xBF, 0x16, 0x94, 0xD8, 0xA9, 0x45, 0xA2, 0xCE, 0xA9, 0x5B, 0x22, 0x25, 0x5F, 0x92, 0x59, 0x94, 0x1C, 0x22, 0xBF, 0xCB, 0xC8, 0xC8, 0x57, 0xCB, 0xBF, 0xBC, 0x0E, 0xE8, 0x4…
Re: Socat: “the hard coded 1024 bit DH p parameter was not prime”
#175Earlier quoted context omitted.
> it's also pretty laughable to think that the NSA has an exhaustive list of encryption vulnerabilities Why not? They have enough mathematicians and cryptographers on payroll that they can analyse the major protocols and software that is used. If you look at the recent attacks on TLS - especially the downgrade attacks to export grade ciphers they would be stupid to not exploit this for targeted attacks. That being sa…
Because coming up with an exhaustive list of all the encryption software in the world would be difficult, let alone enumerating all of their vulnerabilities.
Re: Socat: “the hard coded 1024 bit DH p parameter was not prime”
#176Earlier quoted context omitted.
That is not know to be the case, only conjectured.
I thought it was proven to be trancendental? Or were you saying that this property of trancendental numbers is only conjectured?
The property you're referring to is related to normality. A normal number in a base b is a number where the frequency of digits in that base approaches 1/b, but is not a rational number (and thus does not have cycles). Pi has not been proven to be normal, but if it were then it would have the property of which you speak (which is an informal property provided by normality).
Re: Socat: “the hard coded 1024 bit DH p parameter was not prime”
#177I think most people are glossing over the first part of the title. Why is the DH p parameter hardcoded? Why not just generate one on each startup?
Generating those parameters is very slow. Just run `time openssl dhparam -text -noout 1024` a few times and see for yourself.
Re: Socat: “the hard coded 1024 bit DH p parameter was not prime”
#178Earlier quoted context omitted.
I thought it was proven to be trancendental? Or were you saying that this property of trancendental numbers is only conjectured?
Pi is transcendental, which means that it is not a root of a non-zero polynomial with rational coefficients. Being transcendental does not imply that a number's expansion in a given base must include every digit string. Consider the number 1/10^1! + 1/10^2! + 1/10^3! + 1/10^4! + .... This number, whose decimal expansion is 0.110001000000000000000001... is transcendental (proven by Liouville in 1844). Its decimal expa…
Re: Socat: “the hard coded 1024 bit DH p parameter was not prime”
#179Re: Socat: “the hard coded 1024 bit DH p parameter was not prime”
#180Earlier quoted context omitted.
Oh jeez. That non-prime is evenly divisible by 271 and 13597 (among other things).
Let's assume it's not malice. Can it be a typo? Is there a prime with a low Levenshtein distance in hex of the old no-prime number? (Is there a always a prime within a low distance from any number?)
Anyone got a cluster laying around?