* TPM resource manager separation
@ 2020-06-05 14:45 Ken Goldman
2020-06-05 15:09 ` James Bottomley
0 siblings, 1 reply; 2+ messages in thread
From: Ken Goldman @ 2020-06-05 14:45 UTC (permalink / raw)
To: linux-integrity
Low level question:
Does the RM keep track of which handle / object belongs to which process?
E.g., process A loads a key and gets handle 80ffffff. Process B then
tries to do an operation using handle 80ffffff. Will the RM reject it?
High level question:
Does the RM have any design or capability documentation? Is there a
place to get answers other than this mailing list.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: TPM resource manager separation
2020-06-05 14:45 TPM resource manager separation Ken Goldman
@ 2020-06-05 15:09 ` James Bottomley
0 siblings, 0 replies; 2+ messages in thread
From: James Bottomley @ 2020-06-05 15:09 UTC (permalink / raw)
To: Ken Goldman, linux-integrity
On Fri, 2020-06-05 at 10:45 -0400, Ken Goldman wrote:
> Low level question:
>
> Does the RM keep track of which handle / object belongs to which
> process?
Sort of: it stores the mappings in a per open file private area. One
process can have more than one file open to the resource manager,
meaning it could have multiple views of the resource managed TPM, but
by and large there's one open per process meaning you can regard it as
mapping per process.
> E.g., process A loads a key and gets handle 80ffffff. Process B
> then tries to do an operation using handle 80ffffff. Will the RM
> reject it?
No, in fact the way the current resource manager works, the first
volatile key loaded by any process using the RM will always appear at
80ffffff.
> High level question:
>
> Does the RM have any design or capability documentation? Is there a
> place to get answers other than this mailing list.
Not really ... perhaps it is time to write a
Documentation/security/tpmrm guide.
James
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-06-05 15:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-05 14:45 TPM resource manager separation Ken Goldman
2020-06-05 15:09 ` James Bottomley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).