Thread (6 messages) 6 messages, 3 authors, 2018-09-20

[PATCH 00/22] KEYS: Support TPM-wrapped key and crypto ops

From: Denis Kenzior <hidden>
Date: 2018-09-18 17:00:55
Also in: keyrings, lkml

Possibly related (same subject, not in this thread)

Hi David,

On 09/18/2018 11:55 AM, David Howells wrote:
Denis Kenzior [off-list ref] wrote:
quoted
In theory the PEM file already contains the type of the certificate, at least
at a high level.  E.g. private, public, tpm.  So if we accept PEM files
directly that could be potentially a faster way of determining the parser to
use and would still work with keyctl update/instantiate, right?
Yes.  It shouldn't be much code, either.  You still have to check for X.509
DER since the kernel currently supports that.
For reasons of backward compatibility, correct?  The kernel also has 
mscode.asn1 which we would need to support as well.  Since we can't 
break compatibility then perhaps this doesn't buy us a whole lot in the end.

Regards,
-Denis
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help