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

Delete metadata for transient keys #34

Merged
merged 2 commits into from
Aug 13, 2024

Conversation

sosthene-nitrokey
Copy link
Collaborator

This requires re-generating a key on import, which is weird, I'll see if there are ways to avoid that

src/lib.rs Outdated Show resolved Hide resolved
This requires re-generating a key on import, which is weird,
I'll see if there are ways to avoid that
@sosthene-nitrokey
Copy link
Collaborator Author

Ok, this is fixed, there were some challenges with private-key only imported keys (brainpool and nist curves larger than 256 bits), since the re-import would not accept not having the exact same metadata, but that should be fixed now!

The full opcard test suite passes on hardware including brainpool and large nist curves now!

Copy link
Member

@robin-nitrokey robin-nitrokey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The documentation for reimport_volatile_key still needs to be updated (reselect has been removed, maybe mention re-creation), otherwise LGTM.

@sosthene-nitrokey sosthene-nitrokey merged commit f04beb6 into main Aug 13, 2024
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