Skip to content

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

Open
jforissier wants to merge 2 commits into96boards-poplar:poplar-4.9from
jforissier:poplar-tee-login
Open

tee: add support for session's client UUID generation#5
jforissier wants to merge 2 commits into96boards-poplar:poplar-4.9from
jforissier:poplar-tee-login

Conversation

@jforissier
Copy link
Copy Markdown

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 <vesa.jaaskelainen@vaisala.com>
[jf: cherry-picked and applied to branch poplar-4.9]
Signed-off-by: Jerome Forissier <jerome@forissier.org>
Adds support for client UUID generation for OP-TEE. For group based session
logins membership is verified.

Signed-off-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com>
@igoropaniuk
Copy link
Copy Markdown

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
Copy Markdown
Author

Hello @igoropaniuk,

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

@igoropaniuk
Copy link
Copy Markdown

@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