Bug 988745

Summary: p11-kit: the CKA_X_CRITICAL attribute is not valid for the object
Product: [Fedora] Fedora Reporter: piio <bugzilla>
Component: ca-certificatesAssignee: Kai Engert (:kaie) (inactive account) <kengert>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: i, john_antony40, jorton, kengert, mclasen, michal, pwouters, stefw, tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ca-certificates-2013.1.94-18.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-06 17:13:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1130485    
Attachments:
Description Flags
Update BasicConstraints for Entrust root
none
Update BasicConstraints for Entrust root none

Description piio 2013-07-26 09:45:40 UTC
Description of problem:
After update to p11-kit-0.19.3-1.fc20.i686 I see warnings:
p11-kit: the CKA_X_CRITICAL attribute is not valid for the object
p11-kit: couldn't load file into objects: /usr/share/pki/ca-trust-source/ca-bundle.supplement.p11-kit

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Stef Walter 2013-07-30 10:23:09 UTC
Indeed. Some of the fields for the p11-kit persistence format have changed, based on discussion on the mailing list. Will adapt the *.p11-kit files in ca-certificates...

Comment 2 Michal Jaegermann 2013-08-11 21:27:50 UTC
AFAICS "the CKA_X_CRITICAL attribute is not valid for the object" errors results from running /usr/bin/update-ca-trust script while installing ca-certificates.  Packages ca-certificates-2013.1.94-16.fc20, with a build date "Fri 02 Aug 2013 10:32:00 PM MDT", and p11-kit-trust-0.19.3-2.fc20 are still affected by the issue. /usr/share/pki/ca-trust-source/ca-bundle.supplement.p11-kit indeed remains untouched.

Comment 3 Stef Walter 2013-08-12 10:19:54 UTC
Created attachment 785635 [details]
Update BasicConstraints for Entrust root

    The PKCS#11 attributes of a stapled extension changed slightly
    during the 0.19.x releases. This was due to specification work on
    the 'Storing Trust Policy' document.

Comment 4 Stef Walter 2013-08-12 10:38:19 UTC
Created attachment 785638 [details]
Update BasicConstraints for Entrust root

    The PKCS#11 attributes of a stapled extension changed slightly
    during the 0.19.x releases. This was due to specification work on
    the 'Storing Trust Policy' document.

Comment 5 Stef Walter 2013-09-04 15:15:37 UTC
Kai, can I push this change and do a build/update to ca-certificates?

Comment 6 Kai Engert (:kaie) (inactive account) 2013-09-04 15:27:06 UTC
Sorry, it wasn't clear to me that you had asked for an update.

It seems like you are requiring changes to the files we ship, because of incompatibilities between p11-kit versions.

Can you please clearly document until which version the old format was being used, and from which version the new format is required?

Comment 7 Kai Engert (:kaie) (inactive account) 2013-09-04 15:34:32 UTC
Comment on attachment 785638 [details]
Update BasicConstraints for Entrust root

If this new file is incompatible with old p11-kit, and works correctly with a newer p11-kit only, we should have a conflicts: rpm statement in the spec file, and a requires: statement for the newer version.

Comment 8 Christopher Meng 2013-09-05 00:28:26 UTC
  Updating   : ca-certificates-2013.1.94-17.fc21.noarch                                                                                               23/358 
p11-kit: the CKA_X_CRITICAL attribute is not valid for the object
p11-kit: couldn't load file into objects: /usr/share/pki/ca-trust-source/ca-bundle.supplement.p11-kit
p11-kit: the CKA_X_CRITICAL attribute is not valid for the object
p11-kit: couldn't load file into objects: /usr/share/pki/ca-trust-source/ca-bundle.supplement.p11-kit
p11-kit: the CKA_X_CRITICAL attribute is not valid for the object
p11-kit: couldn't load file into objects: /usr/share/pki/ca-trust-source/ca-bundle.supplement.p11-kit
p11-kit: the CKA_X_CRITICAL attribute is not valid for the object
p11-kit: couldn't load file into objects: /usr/share/pki/ca-trust-source/ca-bundle.supplement.p11-kit
p11-kit: the CKA_X_CRITICAL attribute is not valid for the object
p11-kit: couldn't load file into objects: /usr/share/pki/ca-trust-source/ca-bundle.supplement.p11-kit

Comment 9 Kai Engert (:kaie) (inactive account) 2013-09-06 15:44:23 UTC
Could you please try the ca-certificates package for rawhide/f21 here:
http://koji.fedoraproject.org/koji/taskinfo?taskID=5905170

Does it fix the issue for you?

Comment 10 piio 2013-09-06 16:10:27 UTC
It looks like the issue is fixed. Thanks.

Comment 11 Kai Engert (:kaie) (inactive account) 2013-09-06 17:13:52 UTC
Thanks for testing.
I assume the F20 package will still be picked up automatically.

Comment 12 Stef Walter 2013-09-09 13:33:21 UTC
(In reply to Kai Engert (:kaie) from comment #11)
> Thanks for testing.
> I assume the F20 package will still be picked up automatically.

Hmmm, I started to have to do updates recently. But maybe I'm just confused :)

Comment 13 Fedora Update System 2013-09-09 14:52:45 UTC
ca-certificates-2013.1.94-18.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/ca-certificates-2013.1.94-18.fc20

Comment 14 Kai Engert (:kaie) (inactive account) 2013-09-09 14:55:23 UTC
(In reply to Stef Walter from comment #12)
> (In reply to Kai Engert (:kaie) from comment #11)
> > Thanks for testing.
> > I assume the F20 package will still be picked up automatically.
> 
> Hmmm, I started to have to do updates recently. But maybe I'm just confused
> :)

Thanks for motivating me to doublecheck.

Since bodhi now lists f20, you are probably right, and submitting an update is indeed necessary already.

ca-certificates-2013.1.94-18.fc20

Comment 15 Fedora Update System 2013-09-23 00:38:24 UTC
ca-certificates-2013.1.94-18.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.