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

Use serde-indexed to optimize the size of resident credentials #58

Closed
wants to merge 2 commits into from

Conversation

sosthene-nitrokey
Copy link

@sosthene-nitrokey sosthene-nitrokey commented Feb 12, 2024

Requires trussed-dev/cbor-smol#8

Thankfully serde's default deserialization support both deserializing with fields as integers, and deserializing with fields as str. So there is no need for manual deserialization code.

@sosthene-nitrokey
Copy link
Author

We could potentially implement migrations to the new format too, but that would make it much more complex.

@sosthene-nitrokey
Copy link
Author

Replaced by #59

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.

1 participant