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

Add ActivateCredential tests and fixes #560

Merged
merged 2 commits into from
Nov 26, 2021

Conversation

ionut-arm
Copy link
Member

A number of new tests are added for the new ActivateCredential key
attestation mechanism.

A couple of fixes were also implemented, based on issues discovered
during testing:

  • the TPM provider now acknowledges that it supports key attestation
  • PrepareKeyAttestation now returns buffers under the correct name

Signed-off-by: Ionut Mihalcea ionut.mihalcea@arm.com

@ionut-arm ionut-arm added the enhancement New feature or request label Nov 24, 2021
@ionut-arm ionut-arm added this to the Parsec Release 0.9.0 milestone Nov 24, 2021
@ionut-arm ionut-arm requested a review from anta5010 November 24, 2021 17:01
@ionut-arm ionut-arm self-assigned this Nov 24, 2021
@ionut-arm ionut-arm changed the title Add ActivateCredential testa and fixes Add ActivateCredential tests and fixes Nov 24, 2021
A number of new tests are added for the new ActivateCredential key
attestation mechanism.

A couple of fixes were also implemented, based on issues discovered
during testing:
* the TPM provider now acknowledges that it supports key attestation
* PrepareKeyAttestation now returns buffers under the correct name

Signed-off-by: Ionut Mihalcea <ionut.mihalcea@arm.com>
@ionut-arm ionut-arm marked this pull request as ready for review November 25, 2021 14:38
Tests that open a `Context` are made serial to ensure no two of them
open Contexts in parallel which might cause issues.

The Activate Credential tests are also moved into a separate module.

Signed-off-by: Ionut Mihalcea <ionut.mihalcea@arm.com>
@ionut-arm ionut-arm merged commit f50e5ee into parallaxsecond:main Nov 26, 2021
@ionut-arm ionut-arm deleted the activ-cred-tests branch November 26, 2021 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants