Closed Bug 217721 Opened 21 years ago Closed 13 years ago

Support non-repudiation-only certs

Categories

(NSS :: Libraries, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED
3.12.11

People

(Reporter: katrin.selchau-hansen, Assigned: wtc)

References

Details

Attachments

(2 files, 3 obsolete files)

User-Agent:       Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.5b) Gecko/20030827
Build Identifier: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.5b) Gecko/20030827

Mozilla cannot work with a certificate containing only the non-repudiation key
usage bit. It is possible to import such certificates and PKCS#12 files
respectively, but those certificate cannot be verified by Mozilla. 
If I import a certificate which is identical except that the key usage bit
digital signature is also set, there are no problems to verfiy the certificate
or sign an email with Mozilla.

Reproducible: Always

Steps to Reproduce:
1. Import self signed root cert and  subordinate CA cert and edit trust level.
2. Import pkcs#12 file with certificate which has only the non repudiation key
usage bit  
3. View certificate 

Actual Results:  
The certificate viewer says:
Could not verify this certificate for unknown reasons.

Expected Results:  
Verify this certificate for the use "Email Signer Certificate"
and the certificate manager should show the purpose "Sign" for this certificate.
Confirmed
Status: UNCONFIRMED → NEW
Ever confirmed: true
Please provide a test cert.
The NSS libraries used by Mozilla make no use of non-reudiation certs.  
They are not used in SSL, SMIME or code signing, the three pricipal uses
of certs/PKI in mozilla, at least not at the present time.

Changing mozilla to use NR certs means determining where in SSL, SMIME 
and/or code signing theyy would play a part, and then writing a LOT of
new code (I suspect) to implement that.  

So, I think this bug wants to be a request for enhancement, but it should
specify exactly in what uses (e.g. SSL, etc.) it would be used, and 
perhaps could cite the standards and the relevant pages or sections of 
those standards.  

So, submittor, please add a comment making clear what you want to see 
such a cert (NR-only) used for in mozilla, and citing the relevant standards.
Thanks.
Severity: normal → enhancement
Summary: Mozilla cannot work with a certificate containing only the non-repudiation key usage bit. → Support non-repudiation-only certs
Mass reassign ssaux bugs to nobody
Assignee: ssaux → nobody
Here is a test certificate (incl. root- and level1-CA-certificate):

root:
-----BEGIN C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XJB4x2SQXbcJM/ZGwAmdDsS6nXS5KcUQF9LicB3IcR/N50MkyuksMfFcfRvO
9ZXVB8KHplEv/67PNr8QNsMt26EI7Mj/HpTHRIwYxrEBNPQT9g3rqYuhvgqG1q+9
vtaSCyN1NU7U7Dytk2ifXdunbA8AZ/P1GU1iyepFOAD3NSghzxF/HJsZLmWmdgIV
689TMZFqagmwDaT6pWS2KuEFITc=
-----END CERTIFICATE-----


Maybe this is not really a bug, but a request for enhancement.
I think, there are a lot of discussions in progress about the use of the
keyUsage NonRepudiation (e.g. at the pkix-mailing list). So I cannot cite the
pages of the relevant standard where it says that NR-only certs should or must
be used.
Nevertheless there are applications which uses NR-only-certs.
E.g. an OCSP-Responder which uses an certificate with keyUsasge nonRepudiation
and ExtendedKeyUsage 'OCSP Signing'.
Now it is not possible to verify an OCSPResponse of such an OCSP-responder with
Mozilla.
But I expect that Mozilla should be able to verify such things. 
cite a reproducible example of a standard protocol failing with proper
use of NR certs.  Your OCSP example, if real, would be a good start.
See, saying "NSS should use NR-only certs" is like saying "NSS should use
SHA-512 hashes" (which someone did about a year ago).  It's a technology,
but not a protocol.  

I added the 3 new SHA hash algorithms to NSS, and now they just sit there,
unused, because SSL and SMIME and OCSP do not use them.

NSS implements protocols, like SMIME and SSL and OCSP, and uses certs as 
defined in those protocol standards, IINM.  People would LIKE it if those
protocol standards included new technologies, but (AFAIK) they don't.  
So, until they do, adding new technology just adds dead code to NSS.

I predict that action will be taken on this bug right AFTER some revision
to SSL/TLS or SMIME codes out that explains how NR-only certs are to be
used in it, not before.  When this bug says "Use NR-only certs ACCORDING
TO THE NEW IETF RFC-xxxx", then action will happen.
Product: PSM → Core
(In reply to comment #7)
> See, saying "NSS should use NR-only certs" is like saying "NSS should use
> SHA-512 hashes" (which someone did about a year ago).  It's a technology,
> but not a protocol.  
> 
> I added the 3 new SHA hash algorithms to NSS, and now they just sit there,
> unused, because SSL and SMIME and OCSP do not use them.
> 
> NSS implements protocols, like SMIME and SSL and OCSP, and uses certs as 
> defined in those protocol standards, IINM.  People would LIKE it if those
> protocol standards included new technologies, but (AFAIK) they don't.  
> So, until they do, adding new technology just adds dead code to NSS.
> 
> I predict that action will be taken on this bug right AFTER some revision
> to SSL/TLS or SMIME codes out that explains how NR-only certs are to be
> used in it, not before.  When this bug says "Use NR-only certs ACCORDING
> TO THE NEW IETF RFC-xxxx", then action will happen.


According the the ISIS-MTT Specification which is based on RFC and ETSI,
Non-Repudiation only certs must be used for ocsp-responder certificates and
should be used for End-Entity certificates which are meant for usage of
content-commitment. 
Page 33: "OCSP responder certificates: the crlSign bit and only this bit MUST be
set, if the CA uses the corresponding key to sign CRLs. OCSP responders are
issued end-entity certificates with only the nonRepudiation bit set and
including the ExtendedKeyUsage extension with only the id-kp-OCSPSigning option"
and
End entity user certificates: all permitted purposes MUST be stated in end
entity certificates, so that client components are able to find the certificate
intended for a specific action. In particular, it is RECOMMENDED that CAs issue
separate certificates for the purposes of non-repudiation (only nonRepudiation
set), authentication(only signature bit set) and encryption (only
DataEncipherment and keyEncipherment set).

English Version of the whole specification can be found at
http://www.teletrust.de/Dokumente%5CISIS-MTT_Core_Specification_v1.1.pdf
I don't know why this bug was filed against security UI, since it's not a UI
problem.  

NSS bug 240456 was filed about this problem in April 2004, and was fixed in
NSS 3.10.  Products incorporating NSS 3.10 or later should not have any 
problems with NR certs.  

I'm hereby asking Katrin Selchau-Hansen, the reporter of this bug, to confirm
that the problem is fixed in browsers with NSS 3.10.  If so, I will mark this
bug as a duplicate of bug 240456.
Katrin Selchau-Hansen: to verify that the bug has been
fixed with a Mozilla browser, you must use Firefox 1.5
or later.
If you need to verify the fix with an email client,
use Thunderbird 1.5 (the current pre-release is RC2)
or later.

No Mozilla Application Suite ("SeaMonkey") release
uses NSS 3.10.
Bug 240456 is resolved.  
Is there additional change (such as UI) requested by this bug?
Or is this merely a dup of bug 240456 ?
Depends on: 240456
QA Contact: bmartin → ui
Attached patch Non-repudiation patch (obsolete) — Splinter Review
Comment on attachment 438218 [details] [diff] [review]
Non-repudiation patch

Philipp: thanks for the patch.  Is the goal of your patch to prevent
NSS from using non-repudiation-only certs for SSL client authentication?
I just wanted to make sure I understand the intention of your patch
correctly.  I noticed that you didn't modify the certUsageSSLClient
case in that switch statement.
The problem with NR certs is that different countries have different 
definitions of the correct and proper usage of these certificates. 
If we make a change to make one user in one country happy, we make users
in another country unhappy.  We have been around this circle several times
before.  We've received numerous patches, and have committed some, only to
receive bug reports from other users complaining that the change was 
incorrect.  Each would-be contributor is certain that his idea of the 
"right way" is the only definition of correct behavior.  I think we should
avoid making any more trips around this circle.
Wan-Teh Chang:
Exactly: That's what the patch should do.
Only allowing NR certificates for s/mime, OCSP,.. but not for client authentication.

the problem is that most servers don't accept a certificate without digitalSignature in keyusage and it'll result in an ugly ssl error that a normal user doesn't understand.
Attachment #438218 - Flags: review?(wtc)
Comment on attachment 438218 [details] [diff] [review]
Non-repudiation patch

r=wtc.  Please make the following changes.

1. In certdb.c:

In CERT_KeyUsageAndTypeForCertUsage, please add a
comment to the certUsageSSLClient case to note that
KU_NON_REPUDIATION is not acceptable for authentication.

In CERT_CheckKeyUsage, please remove the local variable
certKeyUsage; replace it with cert->keyUsage.  Remove the
comment:
    /* Accept either signature or non repudation. */
because it is redundant with a previous comment.

2. In certt.h:

> /* This value will not occur in certs.  It is used internally for the case
>+ * when the key type is not know ahead of time and either digital signature or
>+ * non repudiation are the correct value based on key type
>+ */
>+#define KU_DIGITAL_SIGNATURE_OR_NON_REPUDIATION (0x2000)

The key type is irrelevant to this issue.  So please
change the second sentence in the comment to:
    
  It is used internally for the case when either digital signature or
  non-repudiation is the correct value.
Attachment #438218 - Attachment description: Non-repudiation patch → Non-repudiation patch (wtc: needs changes and an additional review by nelson or rrelyea before checkin)
Attachment #438218 - Flags: review?(wtc) → review+
Philip can you update the patch to match comment 17 ?
Assignee: nobody → debian
Ludovic: if Philip doesn't reply in a week, please remind me to
update his patch.  I can make those changes for him.  Thanks.
(In reply to comment #19)
> Ludovic: if Philip doesn't reply in a week, please remind me to
> update his patch.  I can make those changes for him.  Thanks.

Wan-Teh : reminder :-)
Ludovic/Wan-Teh:
Sorry for the delay. I will upload the updated patch ASAP (with the next hour)
Comment on attachment 495514 [details] [diff] [review]
Non-repudiation patch with additional fixes and comments

setting the review flag just in caes :D
Attachment #495514 - Flags: review?(wtc)
Assignee: debian → wtc
This is essentially Philipp Hug's patch v2 (attachment 495514 [details] [diff] [review]).
I only made minor punctuation changes to some comments.

Bob, Nelson, please review.
Attachment #438218 - Attachment is obsolete: true
Attachment #495514 - Attachment is obsolete: true
Attachment #496044 - Flags: superreview?(rrelyea)
Attachment #496044 - Flags: review?(nelson)
Attachment #495514 - Flags: review?(wtc)
Comment on attachment 496044 [details] [diff] [review]
Non-repudiation patch v3, by Philipp Hug

r+ though I'm curious why the previous code didn't work? If we asked for digitial signature, then we would accept either digital signature and non repudiation.

The patch is better because it will no longer accept non-repudiation in the SSL client auth cert.

bob
Attachment #496044 - Flags: superreview?(rrelyea) → superreview+
OK, after reviewing the comments more, I now understand the purpose is exactly that (not accept non-repudiation in ssl client auth certs).
Bob: I guess the idea of the patch is that Mozilla's client
cert selection dialog should not present a non-repudiation-only
cert.  I remember Mozilla tries to do that in PSM.  Perhaps
the PSM code isn't working perfectly, so they want to do this
at the NSS level.
Component: Security: UI → Libraries
Product: Core → NSS
QA Contact: ui → libraries
Target Milestone: --- → 3.12.10
Version: Other Branch → 3.12
Version: 3.12 → 3.3
Comment on attachment 496044 [details] [diff] [review]
Non-repudiation patch v3, by Philipp Hug

Behold, the slippery slope onto which our descent begins.  

As you know, there are numerous different country standards for the use of NR,
that are mutually exclusive.  No one implementation can satisfy them all.
Proponents of each one insist that NSS be made to conform one particular 
standards, insisting that it is the ONE TRUE WAY (tm).  When you accede to 
one, you must thereafter explain why you will not accede to all others.
Attachment #496044 - Flags: review?(nelson) → review+
What's the state of this bug?

Please either check it in, or remove the checkin-needed keyword.
Status: NEW → ASSIGNED
Keywords: checkin-needed
Whiteboard: [patchlove][needs new assignee?]
Target Milestone: 3.12.10 → 3.12.11
I forgot to check this patch in.  Sorry about that.

Patch checked in on the NSS trunk (NSS 3.13).

Checking in certdb.c;
/cvsroot/mozilla/security/nss/lib/certdb/certdb.c,v  <--  certdb.c
new revision: 1.115; previous revision: 1.114
done
Checking in certt.h;
/cvsroot/mozilla/security/nss/lib/certdb/certt.h,v  <--  certt.h
new revision: 1.55; previous revision: 1.54
done
Attachment #496044 - Attachment is obsolete: true
Attachment #438218 - Attachment description: Non-repudiation patch (wtc: needs changes and an additional review by nelson or rrelyea before checkin) → Non-repudiation patch
I studied the relevant text in RFC 5280 and TLS 1.2 (RFC 5246).
Both state or imply that SSL client authentication certificates
should have the digitalSignature bit in the key usage extension,
if the extension exists.

RFC 5280 also says code signing needs digitalSignature, as
opposed to "digitalSignature and/or nonRepudiation", so I
changed the certUsageObjectSigner case back to
KU_DIGITAL_SIGNATURE.

Bob, Nelson, please review.  Thanks.
Attachment #549505 - Flags: superreview?
Attachment #549505 - Flags: review?(rrelyea)
Attachment #549505 - Flags: superreview? → superreview?(nelson)
Comment on attachment 549505 [details] [diff] [review]
Follow RFC 5280 guidance

r+ I like the idea that we point to an RFC for these changes.

bob
Attachment #549505 - Flags: review?(rrelyea) → review+
Comment on attachment 549231 [details] [diff] [review]
Non-repudiation patch v4, by Philipp Hug

This patch was also checked in on the NSS 3.12 branch (NSS 3.12.11)
last week (2011/07/28).

certdb.c, rev. 1.104.2.4
certt.h, rev. 1.54.2.1
Comment on attachment 549505 [details] [diff] [review]
Follow RFC 5280 guidance

Patch checked in on the NSS trunk (NSS 3.13) and
NSS_3_12_BRANCH (NSS 3.12.11).

Checking in certdb.c;
/cvsroot/mozilla/security/nss/lib/certdb/certdb.c,v  <--  certdb.c
new revision: 1.116; previous revision: 1.115
done

Checking in certdb.c;
/cvsroot/mozilla/security/nss/lib/certdb/certdb.c,v  <--  certdb.c
new revision: 1.104.2.5; previous revision: 1.104.2.4
done
Severity: enhancement → normal
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
OS: Windows NT → All
Priority: -- → P1
Hardware: x86 → All
Resolution: --- → FIXED
Whiteboard: [patchlove][needs new assignee?]
Attachment #549505 - Flags: superreview?(nelson)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: