> Is there any chance that's what we're looking at?

I think that’s what happened. The actual key was generated in the HSM, and 
a reference key file was written to disk. The CSR was then generated using 
the reference key file as if it were a real key. The public key was derived 
from the reference value (“4”) as its private scalar, and the CSR was 
self-signed with it. The issuing CAs then certified that “reference” public 
key.

The incident report mentions that CRLs signed by the CAs failed to validate 
against their certificates. That’s consistent with this scenario. The CRLs 
were presumably signed by the real HSM-resident keys, while the 
certificates contain the public key derived from the reference value, so 
the CRL signatures can’t validate against them.

Thanks,
Corey

On Tuesday, October 20, 2026 at 2:51:06 PM UTC-4 Matthew Hardeman wrote:

I'm aware of at least one HSM integration library that utilizes "reference" 
faux private keys -- the goal being to provide a way for software that 
supports (for example) PKCS12, but in very limited fashion -- to use a 
PKCS12 driver from the manufacturer to perform HSM isolated operations 
under the direction of software that can't easily pass in things 
like...which partition & key to reference in a given operation.  Those HSMs 
can spit out a fake key which parses for the form and nature of a private 
key and which the HSM vendors' software will dereference for a signing or 
encryption operation.  Is there any chance that's what we're looking at?  
That somehow there was a failure of such a library or interface and the 
result was instead of aborting the operation to actually perform the 
operation over the faux key?

On Tue, Oct 20, 2026 at 1:35 PM <[email protected]> wrote:

On 2026-10-20 17:33, Jeffrey Walton wrote:
> Please forgive my ignorance...  I am having trouble following the
> statement. What is the "they" with a single-byte key?

Quite literally: For the private keys of the compromised certificates,
one of the factors of the moduli is always < 256 (hence single-byte).

They can be broken without any serious computation - literally trying a
few divisions using the "bc" command line calculator would be enough.

The factors have been posted on the fediverse but I don't know if a link
to them would be appreciated on this mailing list, so I am holding off
on linking them.

Li

-- 
You received this message because you are subscribed to the Google Groups "
[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an 
email to [email protected].

To view this discussion visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-security-policy/8c5b343d04fd55b144201e4c59e5971e%40invalid.invalid
.

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-security-policy/e324bc4c-9c21-4765-addb-300b07173abfn%40mozilla.org.

Reply via email to