Hacker News new | ask | show | jobs
by InsidiousWombat 44 days ago
> They just check that the CA is using a FIPS compliant key generator, and then basic things like following a logged, standard, multi person process.

FIPS-compliant key generator allowed key to be 4 ?

No, they just didn't check thoroughly enough

1 comments

The key generator is a FIPS certified HSM that created a strong key. They ran the key through some stupid script that zeroed out all the bytes except the last one. The point of a full FIPS audit is to check that you don’t do anything stupid with crypto like try to implement anything yourself and that you only use certified implementations. But that standard apparently doesn’t apply to CA’s. They only have to use FIPS modules to generate the keys but can do whatever idiocy they want after that. Therein lies the real problem.
> They ran the key through some stupid script that zeroed out all the bytes except the last one.

If a script zeroed out the private key, wont the public key not work anymore?

The public key is calculated from the private key, so it all still works, it's just a public key for a private key of 4.