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 Clear syscall #139

Merged
merged 1 commit into from
Nov 24, 2023
Merged

Conversation

sosthene-nitrokey
Copy link
Contributor

This syscall does the same as delete for a key.
The only difference is that it is designed to allow re-import of the key if it was exported with WrapKey.

With the core trussed backend this does not change anything, as nothing is needed to allow the re-import. However the same mechansim in the SE050 work differently, and being able to differenciate permanent deletion and deletion with intent to re-import is crucial.

This syscall does the same as `delete` for a key.
The only difference is that it is designed to allow re-import of the key
if it was exported with `WrapKey`.

With the core trussed backend this does not change anything, as nothing is needed to
allow the re-import. However the same mechansim in the SE050 work differently, and
being able to differenciate permanent deletion and deletion with intent to re-import is crucial.
@sosthene-nitrokey sosthene-nitrokey marked this pull request as ready for review November 22, 2023 10:15
@sosthene-nitrokey sosthene-nitrokey merged commit f7b65c9 into trussed-dev:main Nov 24, 2023
2 checks passed
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.

2 participants