Skip to content

Individual setters for persistent key attributes #109

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

Conversation

gilles-peskine-arm
Copy link
Collaborator

Use individual setters for the id and lifetime fields of an attribute structure, like the other attributes.

@gilles-peskine-arm gilles-peskine-arm added enhancement New feature or request needs: review The pull request is ready for review. This generally means that it has no known issues. api-spec Issue or PR about the PSA specifications labels May 15, 2019
@gilles-peskine-arm gilles-peskine-arm added this to the api-1.0-beta-3 milestone May 15, 2019
Use individual setters for the id and lifetime fields of an attribute
structure, like the other attributes.

This commit updates the specification and adds an implementation of
the new setters.
Remove all internal uses of psa_make_key_persistent.
psa_set_key_lifetime and psa_set_key_id aren't pure setters: they also
set the other attribute in some conditions. Add dedicated tests for
this behavior.
@gilles-peskine-arm gilles-peskine-arm force-pushed the psa-key_attributes-set_persistent branch from 5f75e35 to dd835cb Compare May 15, 2019 17:14
@gilles-peskine-arm gilles-peskine-arm added the needs: ci Needs a passing full CI run label May 15, 2019
@Patater Patater removed the needs: review The pull request is ready for review. This generally means that it has no known issues. label May 16, 2019
@Patater
Copy link
Contributor

Patater commented May 16, 2019

CI failure is ABI job (known to fail until Mbed-TLS/mbedtls#2636 lands in the development branch) and USE_PSA_CRYPTO, which doesn't work on the API branch.

@Patater Patater merged commit d35249e into ARMmbed:psa-api-1.0-beta May 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-spec Issue or PR about the PSA specifications enhancement New feature or request needs: ci Needs a passing full CI run
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants