On Fri, Feb 16, 2024 at 04:24:33PM +0100, Petr Tesarik wrote: > From: David Howells <dhowells@xxxxxxxxxx> > > Implement a PGP data parser for the crypto key type to use when > instantiating a key. > > This parser attempts to parse the instantiation data as a PGP packet > sequence (RFC 4880) and if it parses okay, attempts to extract a public-key > algorithm key or subkey from it. I don't understand why we want to do this in-kernel instead of in userspace and then pass in the actual key.