Skip to content

add blake3, blake2b is legacy#9643

Open
ThomasWaldmann wants to merge 9 commits into
borgbackup:masterfrom
ThomasWaldmann:blake3
Open

add blake3, blake2b is legacy#9643
ThomasWaldmann wants to merge 9 commits into
borgbackup:masterfrom
ThomasWaldmann:blake3

Conversation

@ThomasWaldmann
Copy link
Copy Markdown
Member

@ThomasWaldmann ThomasWaldmann commented May 14, 2026

See #8867.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 14, 2026

⚠️ JUnit XML file not found

The CLI was unable to find any JUnit XML files to upload.
For more help, visit our troubleshooting guide.

@ThomasWaldmann ThomasWaldmann force-pushed the blake3 branch 3 times, most recently from 2629a21 to 65a460b Compare May 14, 2026 17:56
@ThomasWaldmann ThomasWaldmann changed the title add blake3 add blake3, blake2b is legacy May 14, 2026
BLAKE3 is generally faster and provides a more modern construction for
keyed hashing (using its internal keyed mode instead of the construction
used for BLAKE2b).

Key types changed:
- authenticated-blake2 -> authenticated-blake3
- {keyfile,repokey}-blake2-aes-ocb -> {keyfile,repokey}-blake3-aes-ocb
- {keyfile,repokey}-blake2-chacha20-poly1305 -> {keyfile,repokey}-blake3-chacha20-poly1305

This also fixes the slightly unusual way how we used blake2b,
it is only supported for importing borg 1.x repos.

New repos either use HMAC-SHA256 or BLAKE3.
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