Re: [RFC PATCH 2/8] KEYS: Provide keyctls to drive the new key type ops for asymmetric keys [ver 3]

From: David Howells
Date: Thu May 12 2016 - 06:16:50 EST


Mat Martineau <mathew.j.martineau@xxxxxxxxxxxxxxx> wrote:

> > + If the key must be unlocked with a password before it can be used,
> > + password_id should point to a logon-type key that holds this.
>
> It should be noted that the password_id should be 0 if no password is to be
> used.

Currently I'm just ignoring it if I don't need it, but this makes more sense.

David