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 external storage #117

Merged
merged 4 commits into from
Feb 10, 2023
Merged

Use external storage #117

merged 4 commits into from
Feb 10, 2023

Conversation

sosthene-nitrokey
Copy link
Collaborator

@sosthene-nitrokey sosthene-nitrokey commented Feb 8, 2023

This PR makes the storage used configurable via the options, and makes it to be External by default.

For better readability, it renames the Internal state to Persistent and the Runtime state to Volatile.

Open question: should we allow more granular control of the storage used? For example storing the keys on the Internal storage but storing the state in the external storage?

@sosthene-nitrokey sosthene-nitrokey marked this pull request as ready for review February 8, 2023 12:50
@daringer
Copy link
Contributor

daringer commented Feb 8, 2023

Open question: should we allow more granular control of the storage used? For example storing the keys on the Internal storage but storing the state in the external storage?

I don't see a use-case for this right now, so we should keep it simple and either entirely have all data on the external or the internal flash. Towards SE050 support we have to think about this again either way.

@sosthene-nitrokey sosthene-nitrokey merged commit ae13648 into main Feb 10, 2023
@sosthene-nitrokey sosthene-nitrokey deleted the external-storage branch February 10, 2023 10:48
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.

3 participants