Re: [PATCH RESEND] docs: update trusted-encrypted.rst

2020-08-19 Thread Jarkko Sakkinen
On Tue, Aug 18, 2020 at 09:19:18AM -0700, James Bottomley wrote: > On Tue, 2020-08-18 at 18:44 +0300, Jarkko Sakkinen wrote: > > On Sun, Aug 16, 2020 at 10:12:13AM -0700, James Bottomley wrote: > > > On Mon, 2020-08-17 at 00:57 +0800, Coly Li wrote: > > > > On 2020/8/17 00:36, James Bottomley wrote

Re: [PATCH RESEND] docs: update trusted-encrypted.rst

2020-08-18 Thread James Bottomley
On Tue, 2020-08-18 at 18:44 +0300, Jarkko Sakkinen wrote: > On Sun, Aug 16, 2020 at 10:12:13AM -0700, James Bottomley wrote: > > On Mon, 2020-08-17 at 00:57 +0800, Coly Li wrote: > > > On 2020/8/17 00:36, James Bottomley wrote: > > > > On Sun, 2020-08-16 at 12:06 -0400, Stefan Berger wrote: > > > >

Re: [PATCH RESEND] docs: update trusted-encrypted.rst

2020-08-18 Thread Jarkko Sakkinen
On Sun, Aug 16, 2020 at 10:12:13AM -0700, James Bottomley wrote: > On Mon, 2020-08-17 at 00:57 +0800, Coly Li wrote: > > On 2020/8/17 00:36, James Bottomley wrote: > > > On Sun, 2020-08-16 at 12:06 -0400, Stefan Berger wrote: > > > [...] > > > > A note in this file states this: > > > > > > > > Not

Re: [PATCH RESEND] docs: update trusted-encrypted.rst

2020-08-16 Thread Coly Li
On 2020/8/17 01:08, James Bottomley wrote: > On Mon, 2020-08-17 at 01:01 +0800, Coly Li wrote: >> On 2020/8/17 00:06, Stefan Berger wrote: >>> On 8/15/20 3:51 AM, Coly Li wrote: > [...] Usage:: @@ -115,7 +114,7 @@ append 'keyhandle=0x8101' to statements between quotes, such a

Re: [PATCH RESEND] docs: update trusted-encrypted.rst

2020-08-16 Thread Coly Li
On 2020/8/17 01:12, James Bottomley wrote: > On Mon, 2020-08-17 at 00:57 +0800, Coly Li wrote: >> On 2020/8/17 00:36, James Bottomley wrote: >>> On Sun, 2020-08-16 at 12:06 -0400, Stefan Berger wrote: >>> [...] A note in this file states this: Note: When using a TPM 2.0 with a persis

Re: [PATCH RESEND] docs: update trusted-encrypted.rst

2020-08-16 Thread James Bottomley
On Mon, 2020-08-17 at 00:57 +0800, Coly Li wrote: > On 2020/8/17 00:36, James Bottomley wrote: > > On Sun, 2020-08-16 at 12:06 -0400, Stefan Berger wrote: > > [...] > > > A note in this file states this: > > > > > > Note: When using a TPM 2.0 with a persistent key with handle > > > 0x8101, app

Re: [PATCH RESEND] docs: update trusted-encrypted.rst

2020-08-16 Thread James Bottomley
On Mon, 2020-08-17 at 01:01 +0800, Coly Li wrote: > On 2020/8/17 00:06, Stefan Berger wrote: > > On 8/15/20 3:51 AM, Coly Li wrote: [...] > > > Usage:: > > > @@ -115,7 +114,7 @@ append 'keyhandle=0x8101' to statements > > > between quotes, such as > > > > > > A note in this file states th

Re: [PATCH RESEND] docs: update trusted-encrypted.rst

2020-08-16 Thread Coly Li
On 2020/8/17 00:06, Stefan Berger wrote: > On 8/15/20 3:51 AM, Coly Li wrote: >> The parameters in tmp2 commands are outdated, people are not able to >> create trusted key by the example commands. >> >> This patch updates the paramerters of tpm2 commands, they are verified >> by tpm2-tools-4.1 with

Re: [PATCH RESEND] docs: update trusted-encrypted.rst

2020-08-16 Thread Coly Li
On 2020/8/17 00:06, Stefan Berger wrote: > On 8/15/20 3:51 AM, Coly Li wrote: >> The parameters in tmp2 commands are outdated, people are not able to >> create trusted key by the example commands. >> >> This patch updates the paramerters of tpm2 commands, they are verified >> by tpm2-tools-4.1 with

Re: [PATCH RESEND] docs: update trusted-encrypted.rst

2020-08-16 Thread Coly Li
On 2020/8/17 00:36, James Bottomley wrote: > On Sun, 2020-08-16 at 12:06 -0400, Stefan Berger wrote: > [...] >> A note in this file states this: >> >> Note: When using a TPM 2.0 with a persistent key with handle >> 0x8101, append 'keyhandle=0x8101' to statements between >> quotes, such as "

Re: [PATCH RESEND] docs: update trusted-encrypted.rst

2020-08-16 Thread James Bottomley
On Sun, 2020-08-16 at 12:06 -0400, Stefan Berger wrote: [...] > A note in this file states this: > > Note: When using a TPM 2.0 with a persistent key with handle > 0x8101, append 'keyhandle=0x8101' to statements between > quotes, such as "new 32 keyhandle=0x8101". > > Now if someone w

Re: [PATCH RESEND] docs: update trusted-encrypted.rst

2020-08-16 Thread Stefan Berger
On 8/15/20 3:51 AM, Coly Li wrote: The parameters in tmp2 commands are outdated, people are not able to create trusted key by the example commands. This patch updates the paramerters of tpm2 commands, they are verified by tpm2-tools-4.1 with Linux v5.8 kernel. Signed-off-by: Coly Li Cc: Dan Wi

[PATCH RESEND] docs: update trusted-encrypted.rst

2020-08-15 Thread colyli
From: Coly Li The parameters in tmp2 commands are outdated, people are not able to create trusted key by the example commands. This patch updates the paramerters of tpm2 commands, they are verified by tpm2-tools-4.1 with Linux v5.8 kernel. Signed-off-by: Coly Li Cc: Dan Williams Cc: James Bot

[PATCH RESEND] docs: update trusted-encrypted.rst

2020-08-15 Thread Coly Li
The parameters in tmp2 commands are outdated, people are not able to create trusted key by the example commands. This patch updates the paramerters of tpm2 commands, they are verified by tpm2-tools-4.1 with Linux v5.8 kernel. Signed-off-by: Coly Li Cc: Dan Williams Cc: James Bottomley Cc: Jark