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

Is the backup format stable? #36

Open
wiktor-k opened this issue Nov 26, 2024 · 2 comments
Open

Is the backup format stable? #36

wiktor-k opened this issue Nov 26, 2024 · 2 comments

Comments

@wiktor-k
Copy link
Contributor

Hi folks,

We're writing a tool to inspect the consistency of backups and have been wondering to what extend can we describe / rely on backup format and the keys in it to stay consistent: https://gitlab.archlinux.org/archlinux/signstar/-/merge_requests/99#note_226496

Is the backup format considered an internal detail or can we be sure it will mostly stay the same? What about the keys within the decrypted backup file?

Thank you for your time! 👋

@robin-nitrokey
Copy link
Member

That’s a question for @ansiwen.

My understanding is that the (outer) backup format is versioned and breaking changes would trigger a version bump. The (inner) data keys are unlikely to change but are not guaranteed to stay the same. It is only guaranteed that the backup can be applied, i. e. the NetHSM would transform the keys to the new scheme if there was a change to the internal data layout.

@wiktor-k
Copy link
Contributor Author

AFAICS the inner format is also versioned (both of these are zeros currently). I forgot to ask if this a correct repo to discuss anyway but it seems it's not the worst place 😅

Thanks for help! I'll wait to see what @ansiwen will add :)

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

No branches or pull requests

2 participants