[cabfpub] Fwd: Discussion about RFC5280 and BR in Mozilla-dev-security

Mads Egil Henriksveen Mads.Henriksveen at buypass.no
Wed Feb 10 07:41:52 UTC 2016


I do not understand the reason for this entropy requirement for certificates signed by a Root CA. It does not hurt, of course, to require this - neither would it hurt to increase the requirement to 30 bits of entropy.

But a Root CA and its private key must be kept offline or air gapped and will not be exposed to the same threats as an “online CA” issuing Subscriber certificates. The main cause for the entropy requirement is to protect against (hash) collision attacks and I do not see this as a real threat to a Root CA.

A Root CA may also issue certificates using other systems and procedures than used for online CAs, so it does not necessarily say anything about how the “online CA” will handle the entropy requirement when issuing Subscriber certificates.

Regards
Mads

From: public-bounces at cabforum.org<mailto:public-bounces at cabforum.org> [mailto:public-bounces at cabforum.org] On Behalf Of Ryan Sleevi
Sent: 10. februar 2016 00:04
To: Brown, Wendy (10421)
Cc: public at cabforum.org<mailto:public at cabforum.org>
Subject: Re: [cabfpub] Fwd: Discussion about RFC5280 and BR in Mozilla-dev-security

1) 20 bits of entropy is not a requirement, at present. Only a SHOULD [Yes, we should fix that]
2) The RFC 5280 compliance was always a requirement, and zero is, apparently, questionable (I argue it's clearly wrong, but hey, some disagree)
3) Mozilla's suggestion, is, at least, that everything created after the BR compliance dates, or which is audited to BR compliance, should be BR compliant.

Even if a Root Certificate was generated before 20 bits of entropy became a requirement, the CA could certainly bring that key out of offline storage and re-generate it. They have to have the key still (so they can revoke the intermediates or generate the short-lived responder certificates), and while it means the certificate generation ceremony must be followed, it does not strictly seem like an unreasonable requirement to conduct during the next audit, where your auditors are already on site.

On Tue, Feb 9, 2016 at 2:46 PM, Brown, Wendy (10421) <wendy.brown at protiviti.com<mailto:wendy.brown at protiviti.com>> wrote:
Jeremy -
One potential issue is if the Root Certificate was generated before the 20 bits of entropy became a requirement- are you really saying those CAs had to modify their root certificate retroactively?

-----Original Message-----
From: public-bounces at cabforum.org<mailto:public-bounces at cabforum.org> [mailto:public-bounces at cabforum.org<mailto:public-bounces at cabforum.org>] On Behalf Of Jeremy Rowley
Sent: Tuesday, February 9, 2016 5:15 PM
To: Dimitris Zacharopoulos <jimmy at it.auth.gr<mailto:jimmy at it.auth.gr>>; public at cabforum.org<mailto:public at cabforum.org>
Subject: Re: [cabfpub] Fwd: Discussion about RFC5280 and BR in Mozilla-dev-security

What does it hurt to require RootCAs to have 20 bits of entropy in the serial?  We certainly didn't create an exemption for entropy from the serial number. Plus it seems like a good indicator on whether your end entity certs and sub CAs will likely have 20 bits of entropy in the serial number, doesn't it?

Jeremy

-----Original Message-----
From: public-bounces at cabforum.org<mailto:public-bounces at cabforum.org> [mailto:public-bounces at cabforum.org<mailto:public-bounces at cabforum.org>] On Behalf Of Dimitris Zacharopoulos
Sent: Tuesday, February 9, 2016 5:26 AM
To: public at cabforum.org<mailto:public at cabforum.org>
Subject: [cabfpub] Fwd: Discussion about RFC5280 and BR in Mozilla-dev-security


Re-posting to the public list (and apologies for those receiving it twice).

Begin forwarded message:


Dear CA/B Forum members,

There is a discussion in Mozilla-dev-security mailing list regarding the interpretation of some sections from the BR (mainly 7.1) and RFC5280 (mainly
4.2.1) regarding the "serial number" of "trust anchors" (as defined in RFC5280). Now, trust anchors are usually self-signed certificates known as RootCA certificates.

According to the verification algorithm, as described in RFC5280, "Trust anchors" are treated as input to the algorithm. This means that the serial number of the RootCA certificate is ignored, together with other elements (for example policy OIDs).

Also, the BR required serial numbers to have 20bits of entropy to prevent hash collision attacks. Was there ever a requirement or intension for trust anchors to RootCA certificates to have 20bits of entropy?

It would be interesting for people with good technical knowledge of RFC5280 and people who defined section 7.1 of the BR to engage in the public discussion in moz-dev-sec under thread "New requirement:certlint testing".


Best regards,
Dimitris Zacharopoulos.

_______________________________________________
Public mailing list
Public at cabforum.org<mailto:Public at cabforum.org>
https://cabforum.org/mailman/listinfo/public
NOTICE: Protiviti is a global consulting and internal audit firm composed of experts specializing in risk and advisory services. Protiviti is not licensed or registered as a public accounting firm and does not issue opinions on financial statements or offer attestation services. This electronic mail message is intended exclusively for the individual or entity to which it is addressed. This message, together with any attachment, may contain confidential and privileged information. Any views, opinions or conclusions expressed in this message are those of the individual sender and do not necessarily reflect the views of Protiviti Inc. or its affiliates. Any unauthorized review, use, printing, copying, retention, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email message to the sender and delete all copies of this message. Thank you.
_______________________________________________
Public mailing list
Public at cabforum.org<mailto:Public at cabforum.org>
https://cabforum.org/mailman/listinfo/public

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cabforum.org/pipermail/public/attachments/20160210/a06b2534/attachment-0003.html>


More information about the Public mailing list