KEYS-TRUSTED git
It seems that at least vast majority of the trusted keys patches flow through my tree to the mainline. Still, it is undocumented in the MAINTAINERS file.
So, should I just add my TPM tree as the upstream there? Or should I just create a new GIT for trusted keys? My TPM PR goes to Linux ATM. Should my trusted keys PR go to David instead? That would definitely require own tree.
With Sumit's recent work trusted keys is turning more than just being TPM keys so now it is a good time to consider the flow... Sumit, I'm sorry that I haven't added your first series yet. I need to first sync up how we are going to move forward.
/Jarkko
Mimi Zohar
maintainerQuoted 9 lines · Jarkko Sakkinen
It seems that at least vast majority of the trusted keys patches flow through my tree to the mainline. Still, it is undocumented in the
MAINTAINERSfile.So, should I just add my TPM tree as the upstream there? Or should I just create a new GIT for trusted keys? My TPM PR goes to Linux ATM. Should my trusted keys PR go to David instead? That would definitely require own tree.
Quoted 4 lines
With Sumit's recent work trusted keys is turning more than just being TPM keys so now it is a good time to consider the flow... Sumit, I'm sorry that I haven't added your first series yet. I need to first sync up how we are going to move forward.
Thanks, Jarkko. Agreed, trusted keys is becoming more than just TPM based keys. Now would be a good time to set up at least a separate branch or GIT repo.
Are all "trust" methods equivalent? As new "trust" methods are defined, there should be a document describing the trust method, with a comparison to the TPM.
(It would be nice to have some kernel selftests to ensure existing methods don't break.)
Mimi
Quoted 11 lines · Mimi Zohar
Quoted 9 lines · Jarkko Sakkinen
It seems that at least vast majority of the trusted keys patches flow through my tree to the mainline. Still, it is undocumented in the
MAINTAINERSfile.So, should I just add my TPM tree as the upstream there? Or should I just create a new GIT for trusted keys? My TPM PR goes to Linux ATM. Should my trusted keys PR go to David instead? That would definitely require own tree.
Quoted 4 lines
Quoted 4 lines
With Sumit's recent work trusted keys is turning more than just being TPM keys so now it is a good time to consider the flow... Sumit, I'm sorry that I haven't added your first series yet. I need to first sync up how we are going to move forward.
@Jarkko: No worries, I understand the situation.
Quoted 4 lines
Thanks, Jarkko. Agreed, trusted keys is becoming more than just TPM based keys. Now would be a good time to set up at least a separate branch or GIT repo.
+1
Quoted 4 lines
Are all "trust" methods equivalent? As new "trust" methods are defined, there should be a document describing the trust method, with a comparison to the TPM.
For Trusted Execution Environment (TEE) as a new "trust" method, I have tried to document it here [1]. Please share your thoughts on this patch [1] in case I missed something. I would be happy to incorporate your feedback. Also, can you elaborate on "comparison to the TPM", what specifics parameters are you looking for documentation?
[1] https://patchwork.kernel.org/patch/11065679/
-Sumit
Quoted 6 lines
(It would be nice to have some kernel selftests to ensure existing methods don't break.)
Mimi
Mimi Zohar
maintainer[Cc'ing Ken, Dave, & Monty]
Quoted 11 lines · Sumit Garg
Quoted 3 lines · Mimi Zohar
Are all "trust" methods equivalent? As new "trust" methods are defined, there should be a document describing the trust method, with a comparison to the TPM.
For Trusted Execution Environment (TEE) as a new "trust" method, I have tried to document it here [1]. Please share your thoughts on this patch [1] in case I missed something. I would be happy to incorporate your feedback. Also, can you elaborate on "comparison to the TPM", what specifics parameters are you looking for documentation?
For example, the security properties/guarantees of a hardware TPM are different than a software TPM. Could we capture that difference in chart form? As new "trust" methods are added, include that information in the chart and extend the chart with other information, as needed.
Mimi
Quoted 4 lines
[1] https://patchwork.kernel.org/patch/11065679/
-Sumit
Quoted 5 lines · Sumit Garg
For Trusted Execution Environment (TEE) as a new "trust" method, I have tried to document it here [1]. Please share your thoughts on this patch [1] in case I missed something. I would be happy to incorporate your feedback. Also, can you elaborate on "comparison to the TPM", what specifics parameters are you looking for documentation?
I think the right order is actually:
1. Set up the GIT tree.
2. Merge your TEE patches (when they pass the review phase).
3. Come up with the documentation.
/Jarkko
Quoted 8 lines · Jarkko Sakkinen
Quoted 5 lines · Sumit Garg
For Trusted Execution Environment (TEE) as a new "trust" method, I have tried to document it here [1]. Please share your thoughts on this patch [1] in case I missed something. I would be happy to incorporate your feedback. Also, can you elaborate on "comparison to the TPM", what specifics parameters are you looking for documentation?
Quoted 5 lines
I think the right order is actually:
1. Set up the GIT tree.
2. Merge your TEE patches (when they pass the review phase).
3. Come up with the documentation.
Sounds good to me.
-Sumit
Quoted 2 lines
/Jarkko
Quoted 10 lines · Sumit Garg
Quoted 8 lines · Jarkko Sakkinen
Quoted 5 lines · Sumit Garg
For Trusted Execution Environment (TEE) as a new "trust" method, I have tried to document it here [1]. Please share your thoughts on this patch [1] in case I missed something. I would be happy to incorporate your feedback. Also, can you elaborate on "comparison to the TPM", what specifics parameters are you looking for documentation?
Quoted 7 lines
Quoted 5 lines
I think the right order is actually:
1. Set up the GIT tree.
2. Merge your TEE patches (when they pass the review phase).
3. Come up with the documentation.Sounds good to me.
Come to 2nd thoughts. As long as the master has your changes, James should be fine and James' changes also work as a test bed for your changes. Decided to postpone.
/Jarkko
Quoted 1 line · Sumit Garg
@Jarkko: No worries, I understand the situation.
I made the call to add them anyway to my TPM tree.
/Jarkko
Quoted 5 lines · Jarkko Sakkinen
Quoted 1 line · Sumit Garg
@Jarkko: No worries, I understand the situation.
I made the call to add them anyway to my TPM tree.
Thanks.
-Sumit
Quoted 2 lines
/Jarkko
Jarkko Sakkinen
Tested-byQuoted 4 lines · Jarkko Sakkinen
Quoted 1 line · Sumit Garg
@Jarkko: No worries, I understand the situation.
I made the call to add them anyway to my TPM tree.
Also,
I think I give a shot of doing one more PR to 5.4 because that would help both your and James' work because this is the kind of intersection point betwen them.
/Jarkko
Quoted 6 lines · Jarkko Sakkinen
Quoted 4 lines · Jarkko Sakkinen
Quoted 1 line · Sumit Garg
@Jarkko: No worries, I understand the situation.
I made the call to add them anyway to my TPM tree.
Quoted 7 lines
Also,
Tested-by Jarkko Sakkinen <[email protected]>I think I give a shot of doing one more PR to 5.4 because that would help both your and James' work because this is the kind of intersection point betwen them.
Polished short summaries a bit:
1. Start with capital letter.
2. s/tpm2/TPM2/g
/Jarkko
Quoted 11 lines · Jarkko Sakkinen
Quoted 10 lines · Jarkko Sakkinen
Quoted 4 lines · Jarkko Sakkinen
Quoted 1 line · Sumit Garg
@Jarkko: No worries, I understand the situation.
I made the call to add them anyway to my TPM tree.
Also,
Tested-by Jarkko Sakkinen <[email protected]>
Quoted 8 lines
Quoted 3 lines
I think I give a shot of doing one more PR to 5.4 because that would help both your and James' work because this is the kind of intersection point betwen them.
Polished short summaries a bit:
1. Start with capital letter.
2. s/tpm2/TPM2/g
Now also in my next branch. I wait for 24h or so and if no alarms are rised I'll send a PR. The code changes for the most part mechanically move stuff, which makes me confident that I can still do a PR with these changes.
/Jarkko
Quoted 19 lines · Jarkko Sakkinen
Quoted 17 lines · Jarkko Sakkinen
Quoted 6 lines · Jarkko Sakkinen
Quoted 4 lines · Jarkko Sakkinen
Quoted 1 line · Sumit Garg
@Jarkko: No worries, I understand the situation.
I made the call to add them anyway to my TPM tree.
Quoted 7 lines
Also,
Tested-by Jarkko Sakkinen <[email protected]>I think I give a shot of doing one more PR to 5.4 because that would help both your and James' work because this is the kind of intersection point betwen them.
Polished short summaries a bit:
Quoted 7 lines
Quoted 2 lines
1. Start with capital letter.
2. s/tpm2/TPM2/gNow also in my next branch. I wait for 24h or so and if no alarms are rised I'll send a PR. The code changes for the most part mechanically move stuff, which makes me confident that I can still do a PR with these changes.
Did you notice an issue reported by kbuild test robot? It looks like asymmetric keys based on TPM also relied on old tpm_buf method. So we need to transition them also to use new tpm_buf method. I can work on corresponding changes required but need your help to test it.
-Sumit
Quoted 2 lines
/Jarkko
Quoted 30 lines · Sumit Garg
Quoted 19 lines · Jarkko Sakkinen
Quoted 17 lines · Jarkko Sakkinen
Quoted 6 lines · Jarkko Sakkinen
Quoted 4 lines · Jarkko Sakkinen
Quoted 1 line · Sumit Garg
@Jarkko: No worries, I understand the situation.
I made the call to add them anyway to my TPM tree.
Quoted 7 lines
Also,
Tested-by Jarkko Sakkinen <[email protected]>I think I give a shot of doing one more PR to 5.4 because that would help both your and James' work because this is the kind of intersection point betwen them.
Polished short summaries a bit:
Quoted 7 lines
Quoted 2 lines
1. Start with capital letter.
2. s/tpm2/TPM2/gNow also in my next branch. I wait for 24h or so and if no alarms are rised I'll send a PR. The code changes for the most part mechanically move stuff, which makes me confident that I can still do a PR with these changes.
Quoted 5 lines
Did you notice an issue reported by kbuild test robot? It looks like asymmetric keys based on TPM also relied on old
tpm_bufmethod. So we need to transition them also to use newtpm_bufmethod. I can work on corresponding changes required but need your help to test it.
Patch: https://lkml.org/lkml/2019/9/11/312 to transition TPM asymmetric keys code.
-Sumit
Quoted 3 lines
Quoted 3 lines
/Jarkko
Quoted 19 lines · Mimi Zohar
Quoted 9 lines · Jarkko Sakkinen
It seems that at least vast majority of the trusted keys patches flow through my tree to the mainline. Still, it is undocumented in the
MAINTAINERSfile.So, should I just add my TPM tree as the upstream there? Or should I just create a new GIT for trusted keys? My TPM PR goes to Linux ATM. Should my trusted keys PR go to David instead? That would definitely require own tree.
Quoted 4 lines
With Sumit's recent work trusted keys is turning more than just being TPM keys so now it is a good time to consider the flow... Sumit, I'm sorry that I haven't added your first series yet. I need to first sync up how we are going to move forward.
Thanks, Jarkko. Agreed, trusted keys is becoming more than just TPM based keys. Now would be a good time to set up at least a separate branch or GIT repo.
Quoted 6 lines
Are all "trust" methods equivalent? As new "trust" methods are defined, there should be a document describing the trust method, with a comparison to the TPM.
(It would be nice to have some kernel selftests to ensure existing methods don't break.)
We could put this (with appropriate mods whatever they are) to selftests:
https://raw.githubusercontent.com/jsakkine-intel/tpm2-scripts/master/keyctl-smoke.sh
No near adequate but it is starting point...
/Jarkko
Quoted 3 lines · Mimi Zohar
Thanks, Jarkko. Agreed, trusted keys is becoming more than just TPM based keys. Now would be a good time to set up at least a separate branch or GIT repo.
I created a tree for trusted keys:
http://git.infradead.org/users/jjs/linux-trusted-keys.git
The remaining issue before I send a patch to update MAINTAINERS is whether the flow goes through David to Linus or directly to Linus.
/Jarkko
Mimi Zohar
maintainerQuoted 11 lines · Jarkko Sakkinen
Quoted 3 lines · Mimi Zohar
Thanks, Jarkko. Agreed, trusted keys is becoming more than just TPM based keys. Now would be a good time to set up at least a separate branch or GIT repo.
I created a tree for trusted keys:
http://git.infradead.org/users/jjs/linux-trusted-keys.git
The remaining issue before I send a patch to update
MAINTAINERSis whether the flow goes through David to Linus or directly to Linus.
David?
Quoted 6 lines · Mimi Zohar
Quoted 5 lines · Jarkko Sakkinen
Quoted 3 lines · Mimi Zohar
Thanks, Jarkko. Agreed, trusted keys is becoming more than just TPM based keys. Now would be a good time to set up at least a separate branch or GIT repo.
Quoted 8 lines
Quoted 6 lines
I created a tree for trusted keys:
http://git.infradead.org/users/jjs/linux-trusted-keys.git
The remaining issue before I send a patch to update
MAINTAINERSis whether the flow goes through David to Linus or directly to Linus.David?
I think using tpmdd tree makes sense because there is so much correlation.
/Jarkko
Mimi Zohar
maintainerQuoted 11 lines · Jarkko Sakkinen
Quoted 10 lines · Mimi Zohar
Quoted 9 lines · Jarkko Sakkinen
Quoted 3 lines · Mimi Zohar
Thanks, Jarkko. Agreed, trusted keys is becoming more than just TPM based keys. Now would be a good time to set up at least a separate branch or GIT repo.
I created a tree for trusted keys:
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
The remaining issue before I send a patch to update
MAINTAINERSis whether the flow goes through David to Linus or directly to Linus.David?
I think using tpmdd tree makes sense because there is so much correlation.
Yes, agreed.
Mimi
Quoted 11 lines · Jarkko Sakkinen
Quoted 3 lines · Mimi Zohar
Thanks, Jarkko. Agreed, trusted keys is becoming more than just TPM based keys. Now would be a good time to set up at least a separate branch or GIT repo.
I created a tree for trusted keys:
http://git.infradead.org/users/jjs/linux-trusted-keys.git
The remaining issue before I send a patch to update
MAINTAINERSis whether the flow goes through David to Linus or directly to Linus.
I use my tpmdd tree for trusted-keys changes too. For me managing two trees is only adds to work and probably does not add that much value to anyone else. The only glitch is the tree's name...
/Jarkko