Message ID | YidTCX0NOgDfHCp9@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [GIT,PULL] TPM DEVICE DRIVER updates for v5.18 | expand |
On Tue, Mar 08, 2022 at 02:58:49PM +0200, Jarkko Sakkinen wrote:
> KEYS: asymmetric: enforce that sig algo matches key algo
It looks like you applied v1 of this patch
(https://lore.kernel.org/r/20220201003414.55380-2-ebiggers@kernel.org) rather
than v2 (https://lore.kernel.org/r/20220208052448.409152-2-ebiggers@kernel.org).
I think that v2 is necessary because some callers of
public_key_verify_signature() leave pkey_algo as NULL.
Sorry for not spotting that you applied v1 earlier.
- Eric
On Tue, Mar 08, 2022 at 10:10:31AM -0800, Eric Biggers wrote: > On Tue, Mar 08, 2022 at 02:58:49PM +0200, Jarkko Sakkinen wrote: > > KEYS: asymmetric: enforce that sig algo matches key algo > > It looks like you applied v1 of this patch > (https://lore.kernel.org/r/20220201003414.55380-2-ebiggers@kernel.org) rather > than v2 (https://lore.kernel.org/r/20220208052448.409152-2-ebiggers@kernel.org). > I think that v2 is necessary because some callers of > public_key_verify_signature() leave pkey_algo as NULL. > > Sorry for not spotting that you applied v1 earlier. > > - Eric I can do another pull request. Linus, please ignore this first one. BR, Jarkko
On Tue, Mar 08, 2022 at 08:50:30PM +0200, Jarkko Sakkinen wrote: > On Tue, Mar 08, 2022 at 10:10:31AM -0800, Eric Biggers wrote: > > On Tue, Mar 08, 2022 at 02:58:49PM +0200, Jarkko Sakkinen wrote: > > > KEYS: asymmetric: enforce that sig algo matches key algo > > > > It looks like you applied v1 of this patch > > (https://lore.kernel.org/r/20220201003414.55380-2-ebiggers@kernel.org) rather > > than v2 (https://lore.kernel.org/r/20220208052448.409152-2-ebiggers@kernel.org). > > I think that v2 is necessary because some callers of > > public_key_verify_signature() leave pkey_algo as NULL. > > > > Sorry for not spotting that you applied v1 earlier. > > > > - Eric > > I can do another pull request. Eric, does 'next' branch in git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git look good to you now? BR, Jarkko
On Thu, Mar 10, 2022 at 01:50:44AM +0200, Jarkko Sakkinen wrote: > On Tue, Mar 08, 2022 at 08:50:30PM +0200, Jarkko Sakkinen wrote: > > On Tue, Mar 08, 2022 at 10:10:31AM -0800, Eric Biggers wrote: > > > On Tue, Mar 08, 2022 at 02:58:49PM +0200, Jarkko Sakkinen wrote: > > > > KEYS: asymmetric: enforce that sig algo matches key algo > > > > > > It looks like you applied v1 of this patch > > > (https://lore.kernel.org/r/20220201003414.55380-2-ebiggers@kernel.org) rather > > > than v2 (https://lore.kernel.org/r/20220208052448.409152-2-ebiggers@kernel.org). > > > I think that v2 is necessary because some callers of > > > public_key_verify_signature() leave pkey_algo as NULL. > > > > > > Sorry for not spotting that you applied v1 earlier. > > > > > > - Eric > > > > I can do another pull request. > > Eric, does 'next' branch in > > git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git > > look good to you now? > Yes, that looks good, thanks. - Eric
The pull request you sent on Thu, 10 Mar 2022 01:50:44 +0200:
> git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git refs/heads/master
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/9d8e7007dc7c4d7c8366739bbcd3f5e51dcd470f
Thank you!