lkml.org 
[lkml]   [2018]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 00/22] KEYS: Support TPM-wrapped key and crypto ops
Date
Denis Kenzior <denkenz@gmail.com> wrote:

> 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.

David

\
 
 \ /
  Last update: 2018-09-18 18:56    [W:0.087 / U:5.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site