8000 [Format v2] Upgrade mechanism · Issue #208 · ANSSI-FR/MLA · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Format v2] Upgrade mechanism #208

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

Open
commial opened this issue Jul 22, 2024 · 0 comments
Open

[Format v2] Upgrade mechanism #208

commial opened this issue Jul 22, 2024 · 0 comments
Labels
mlar Concerns the mlar utility
Milestone

Comments

@commial
Copy link
Contributor
commial commented Jul 22, 2024

Thoughts

Add the possibility to upgrade from a format v1 to a format v2 in mlar.

This could be part of the convert command line or a dedicated upgrade_v1_to_v2 sub-action.
In the current draft of the format v2, the upgrade consists of:

A possibility is to only update the first bytes of the layer, without re-encrypting the whole archive. But this solution:

  • does not renew the key, which might not be expected
  • could be problematic if some PQC key for recipients are missing

The preferred method for now would be like convert, ie. re-encrypting the whole archive with new keys materials.

Implementation

MLA 2 will mainly consist of:

  • mla 2.0.0: hybrid cryptography detailed in CRYPTO.md for the moment
  • mlar 2.0.0: supports MLA 2 only
  • no MLA 1 support except backporting fixes regarding MLA extraction or repair

Upgrade mechanism will consist in specific versions of mlar:

  • mlar-legacy: mlar version that will support extraction (and repair) for MLA 1 and MLA 2 in addition with everything mlar 2 has : best option for current pipelines using MLA
  • mlar-upgrade: mlar archive upgrader from MLA 1 to MLA 2 : option if you decide to only support MLA 2 in your pipelines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mlar Concerns the mlar utility
Projects
None yet
Development

No branches or pull requests

1 participant
0