Remix.run Logo
▲ sscaryterry 7 hours ago

I wouldn't be surprised if we learn in the near future, that this was deliberate.

▲edent 7 hours ago | parent | next [-]

I'm not so sure. If you wanted to be deliberate, you'd choose a plausible value that you could control.

No one is going to suspect `98761316832165974216498789746` is anything other than random. But `000000000000000123` looks suspicious.

▲K0balt 5 hours ago | parent | next [-]

But that would be obviously intentional. Much more plausible deniability with 0x4.

▲sscaryterry 7 hours ago | parent | prev [-]

Why are many of them, suspicious?

▲kenniskrag 6 hours ago | parent | next [-]

The probability of getting a 0 is the same for every digit. However, in my opinion, the probability of getting a number that starts with two zeros is 1/10 * 1/10, and the probability of getting a number that starts with the same two digits is 10 * 1/10 * 1/10.

But the probability to receive one number or the other are the same.

▲matsemann 6 hours ago | parent | prev [-]

By random chance you probably wouldn't get that many zeros. Of course, one could say it's just as random as any other string, but..

▲sscaryterry 6 hours ago | parent [-]

Not a mathematician, but I'm sure the probability of them all being below 384 is going to be in the order of 0.000000001% if not less :)

▲betterunix2 3 hours ago | parent | next [-]

Sure, if they were actually sampling 384 bits. Sounds like they sampled a lot less than that; maybe someone though "384 bits" meant "in the range [0, 383]" or whatever.

▲kenniskrag 6 hours ago | parent | prev [-]

10 times the amount of digits is the possible number space.

smaller than 384 means 384 numbers (including 0) divided by the amount of possible numbers (see above) imho

▲SAI_Peregrinus 4 hours ago | parent [-]

It's a 384-bit curve, so between 0 and 2^384 which has about 115 decimal digits.

▲hannob 7 hours ago | parent | prev | next [-]

Makes no sense.

If it was deliberate, one would use keys that only the person abusing it has. Not keys everyone can guess if they get a hint.

▲bombcar 6 hours ago | parent [-]

Deliberate deniability - if you leak a real key, it's pretty obvious you leaked a real key.

Here, you didn't leak anything, you just fucked up.

▲yoavm 7 hours ago | parent | prev | next [-]

Why would it be?

▲sscaryterry 7 hours ago | parent [-]

Do I honestly need to enumerate what you can do if you have the keys for a CA?

▲swiftcoder 7 hours ago | parent [-]

Yeah, but if you are the one issuing the CA's private key, you already, by definition, have the keys to that CA. You don't need to make stupid keys in that scenario

▲sscaryterry 6 hours ago | parent [-]

In case it wasn't obvious. The NSA and many other organisation would find this extremely useful.

▲yoavm 6 hours ago | parent [-]

But it doesn't make sense. Sure they'd find it extremely useful to have the key, but it doesn't need to be a weak key for it to be useful. If anything, it makes it less useful to them.

If I'm going to ask you or force you to share your password with me, there's no reason I'd ask you to set the password to 4. We might as well agree that the password would be D#!(s9fj0jalk!4af095SF42 , and it's much more likely our collaboration will continue working for years.

"Never attribute to malice that which is adequately explained by stupidity"

▲skinfaxi 4 hours ago | parent [-]

A weak key means use is unattributable.

▲NetMageSCW an hour ago | parent [-]

A secret strong key is also unattributable.

▲betterunix2 3 hours ago | parent | prev | next [-]

I would be shocked if this was anything other than a bug. A CA already has the power to issue MITM certificates, so what reason would a CA have to deliberately generate bad keys?

In all likelihood it is code that reads 1 byte from /dev/random, or reads 32 bytes but writes it into a 1 byte array, or something to that effect.

▲skywhopper 7 hours ago | parent | prev [-]

Sounds more like extremely sloppy procedures. Which depressingly I doubt are unusual among CAs.

▲sscaryterry 6 hours ago | parent [-]

As far as I know, to become a CA, with the requirements and ceremonies involved, this type of mistake must never happen. Assuming malice instead of ignorance is reasonable here. The entire premise of a CA, is trust.

▲woodruffw 5 hours ago | parent [-]

There are a lot of CAs that are essentially grandfathered into root programs (and there’s no “one” root program, every OS and verifier gets to choose their own inclusion policies). They might need to jump through hoops to stay in any given program, but being there in the first place is not a strong indicator of quality.