Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tee: add support for session's client UUID generation #5

Open
wants to merge 2 commits into
base: poplar-4.9
Choose a base branch
from

Conversation

jforissier
Copy link

Cherry-picking commits from https://github.com/linaro-swg/linux/commits/optee related to linaro-swg/linux#74.

@igoropaniuk could you please test this?

TEE Client API defines that from user space only information needed for
specified login operations is group identifier for group based logins.

REE kernel is expected to formulate trustworthy client UUID and pass that
to TEE environment. REE kernel is required to verify that provided group
identifier for group based logins matches calling processes group
memberships.

TEE specification only defines that the information passed from REE
environment to TEE environment is encoded into on UUID.

In order to guarantee trustworthiness of client UUID user space is not
allowed to freely pass client UUID.

UUIDv5 form is used encode variable amount of information needed for
different login types.

Signed-off-by: Vesa Jääskeläinen <[email protected]>
[jf: cherry-picked and applied to branch poplar-4.9]
Signed-off-by: Jerome Forissier <[email protected]>
Adds support for client UUID generation for OP-TEE. For group based session
logins membership is verified.

Signed-off-by: Vesa Jääskeläinen <[email protected]>
@igoropaniuk
Copy link

Hi @jforissier , I think we can switch to our linaro-swg/linux/optee (it successfully boots on Poplar; the only change needed is optee node in dts so the optee driver is probed).

If you don't have any objections, I'll create PRs then.

@jforissier
Copy link
Author

Hello @igoropaniuk,

That would be great indeed. Thanks for taking care of this.

@igoropaniuk
Copy link

@jforissier

here it is:
linaro-swg/linux#76
OP-TEE/manifest#160
OP-TEE/build#421
96boards-poplar/poplar-tools#5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants