-
-
Notifications
You must be signed in to change notification settings - Fork 750
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
remove legacy crypto modes for new repos #6490
Milestone
Comments
deprecation / removal timing:
|
Based on the docs, this looks like it would affect both regular keys and blake2b keys. Is that correct? |
yes, it will affect all pre-borg-2.0 modes, they are all based on AES-CTR mode and need the related counter management, which can be problematic in some situations. |
ThomasWaldmann
changed the title
deprecate legacy crypto
remove legacy crypto modes for new repos
Jun 29, 2022
ThomasWaldmann
added a commit
to ThomasWaldmann/borg
that referenced
this issue
Jun 29, 2022
…up#6490 These are legacy crypto modes based on AES-CTR mode: (repokey|keyfile)[-blake2] New crypto modes with session keys and AEAD ciphers: (repokey|keyfile)[-blake2]-(aes-ocb|chacha20-poly1305) Tests needed some changes: - most used repokey/keyfile, changed to new modes - some nonce tests removed, the new crypto code does not generate the repo side nonces any more (were only used for AES-CTR)
ThomasWaldmann
added a commit
to ThomasWaldmann/borg
that referenced
this issue
Jun 29, 2022
…up#6490 These are legacy crypto modes based on AES-CTR mode: (repokey|keyfile)[-blake2] New crypto modes with session keys and AEAD ciphers: (repokey|keyfile)[-blake2]-(aes-ocb|chacha20-poly1305) Tests needed some changes: - most used repokey/keyfile, changed to new modes - some nonce tests removed, the new crypto code does not generate the repo side nonces any more (were only used for AES-CTR)
ThomasWaldmann
added a commit
to ThomasWaldmann/borg
that referenced
this issue
Jun 30, 2022
…up#6490 These are legacy crypto modes based on AES-CTR mode: (repokey|keyfile)[-blake2] New crypto modes with session keys and AEAD ciphers: (repokey|keyfile)[-blake2]-(aes-ocb|chacha20-poly1305) Tests needed some changes: - most used repokey/keyfile, changed to new modes - some nonce tests removed, the new crypto code does not generate the repo side nonces any more (were only used for AES-CTR)
ThomasWaldmann
added a commit
that referenced
this issue
Jun 30, 2022
…ion-borg2 rcreate: remove legacy crypto for new repos, fixes #6490
fixed in borg2 branch. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#6463 added shiny nice AEAD crypto modes and also the usage of session keys, which solves the potential issues with the legacy AES-CTR based crypto (mainly about nonce management to avoid nonce reuse).
To get rid of the old stuff quickly, I think we should remove the legacy crypto modes for new repos with 2.0 and remove the legacy code completely in N+1 release.
The text was updated successfully, but these errors were encountered: