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

Update Lifetime structure #78

Open
hug-dev opened this issue Mar 5, 2021 · 1 comment
Open

Update Lifetime structure #78

hug-dev opened this issue Mar 5, 2021 · 1 comment
Labels
good first issue Good for newcomers medium Effort label
Projects

Comments

@hug-dev
Copy link
Member

hug-dev commented Mar 5, 2021

Version 1.0.1 of PSA Crypto introduced new subtypes for psa_key_lifetime_t: key persistence (psa_key_persistence_t) and key location (psa_key_location_t).

These new types need to be abstracted in the Rust wrapper and their utility macros need to be accessible as well.

Warning: Parsec uses the Lifetime type in its mappings. Changing it means that it will break the deserialisation of older mappings. Ultimately this is a Parsec problem and does not concern this crate. But worth noting. I put it as an agenda item for 09/02/2021 to discuss.

@hug-dev hug-dev added the medium Effort label label Mar 5, 2021
@hug-dev hug-dev added this to All issues in Parsec via automation Mar 5, 2021
@hug-dev
Copy link
Member Author

hug-dev commented Mar 5, 2021

See section 9.3 of PSA Crypto 1.0.1

@hug-dev hug-dev added the good first issue Good for newcomers label Apr 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers medium Effort label
Projects
Parsec
All issues
Development

No branches or pull requests

1 participant