Bug 61975 - 'ret == ASN1_SUCCESS' not true at p11_x509_parse_basic_constraints
Summary: 'ret == ASN1_SUCCESS' not true at p11_x509_parse_basic_constraints
Status: RESOLVED FIXED
Alias: None
Product: p11-glue
Classification: Unclassified
Component: p11-kit (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Stef Walter
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-07 17:01 UTC by Stef Walter
Modified: 2013-03-07 17:20 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Bundle being used as p11-kit-trust input (890.79 KB, text/plain)
2013-03-07 17:01 UTC, Stef Walter
Details
x509: Don't break when cA field of BasicConstraints is missing (1.05 KB, patch)
2013-03-07 17:06 UTC, Stef Walter
Details | Splinter Review

Description Stef Walter 2013-03-07 17:01:20 UTC
Get this message when trying to extract:

[stef@stef-rawhide p11-kit]$ tools/p11-kit extract --format=java-cacerts --filter=ca-anchors --overwrite --purpose server-auth /tmp/cacerts
p11-kit: 'ret == ASN1_SUCCESS' not true at p11_x509_parse_basic_constraints
p11-kit: invalid basic constraints certificate extension
p11-kit: 'ret == ASN1_SUCCESS' not true at p11_x509_parse_basic_constraints
p11-kit: invalid basic constraints certificate extension
p11-kit: 'ret == ASN1_SUCCESS' not true at p11_x509_parse_basic_constraints
p11-kit: invalid basic constraints certificate extension
p11-kit: 'ret == ASN1_SUCCESS' not true at p11_x509_parse_basic_constraints
p11-kit: invalid basic constraints certificate extension
p11-kit: 'ret == ASN1_SUCCESS' not true at p11_x509_parse_basic_constraints
p11-kit: invalid basic constraints certificate extension
p11-kit: 'ret == ASN1_SUCCESS' not true at p11_x509_parse_basic_constraints
p11-kit: invalid basic constraints certificate extension
p11-kit: 'ret == ASN1_SUCCESS' not true at p11_x509_parse_basic_constraints
p11-kit: invalid basic constraints certificate extension
p11-kit: 'ret == ASN1_SUCCESS' not true at p11_x509_parse_basic_constraints
p11-kit: invalid basic constraints certificate extension
p11-kit: 'ret == ASN1_SUCCESS' not true at p11_x509_parse_basic_constraints
p11-kit: invalid basic constraints certificate extension
p11-kit: 'ret == ASN1_SUCCESS' not true at p11_x509_parse_basic_constraints
p11-kit: invalid basic constraints certificate extension

Will attach ca-bundle being used as source data.
Comment 1 Stef Walter 2013-03-07 17:01:55 UTC
Created attachment 76125 [details]
Bundle being used as p11-kit-trust input
Comment 2 Stef Walter 2013-03-07 17:06:44 UTC
Created attachment 76126 [details] [review]
x509: Don't break when cA field of BasicConstraints is missing
Comment 3 Stef Walter 2013-03-07 17:18:38 UTC
Tested by Kai Engert.
Comment 4 Stef Walter 2013-03-07 17:20:31 UTC
Attachment 76126 [details] pushed as 220d7b0 - x509: Don't break when cA field of BasicConstraints is missing


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.