Bug 83799

Summary: Support BEGIN PUBLIC KEY style PEM in .p11-kit files
Product: p11-glue Reporter: Stef Walter <stefw>
Component: p11-kitAssignee: Stef Walter <stefw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: n.mavrogiannopoulos, stefw
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: trust: Allow 'BEGIN PUBLIC KEY' PEM blocks in .p11-kit files

Description Stef Walter 2014-09-12 13:20:38 UTC
We should support 'BEGIN PUBLIC KEY' style PEM in .p11-kit files ... similar to how we support 'BEGIN CERTIFICATE'.

It would contribute a CKA_PUBLIC_KEY_INFO to the object being defined.
Comment 1 Stef Walter 2014-09-12 13:38:26 UTC
Created attachment 106181 [details] [review]
trust: Allow 'BEGIN PUBLIC KEY' PEM blocks in .p11-kit files

These PEM blocks contribute a CKA_PUBLIC_KEY_INFO to the object
being read/written.
Comment 2 Stef Walter 2014-09-12 14:26:21 UTC
Nikos tested with gnutls this and it works, so I'll merge it.
Comment 3 Stef Walter 2014-10-09 09:50:45 UTC
Attachment 106181 [details] pushed as b3579cb - trust: Allow 'BEGIN PUBLIC KEY' PEM blocks in .p11-kit files

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.