Argon2 via OpenSSL >= 3.2#9602
Draft
ThomasWaldmann wants to merge 8 commits into
Draft
Conversation
- src/borg/crypto/low_level.pyx: implement `argon2_hash` using OpenSSL's `EVP_KDF` API for ARGON2 (requires OpenSSL >= 3.2.0). - src/borg/crypto/key.py: switch to the native `argon2_hash` implementation, removing `argon2-cffi` dependency. - setup.py: require OpenSSL >= 3.2.0 for the crypto extension to ensure ARGON2 KDF support is available. - pyproject.toml: drop `argon2-cffi` dependency. - docs: update installation requirements and security documentation to reflect the transition to OpenSSL for Argon2.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #9602 +/- ##
==========================================
- Coverage 83.34% 79.57% -3.77%
==========================================
Files 89 89
Lines 15546 15543 -3
Branches 2342 2342
==========================================
- Hits 12957 12369 -588
- Misses 1835 2452 +617
+ Partials 754 722 -32 ☔ View full report in Codecov by Sentry. |
745ffbd to
b06e98b
Compare
Member
Author
|
Guess we need to wait for:
|
- haiku r1beta5 has openssl 3.0, install openssl 3.5.6 packages from current master - let pkg-config find openssl
ffe98c5 to
18e786b
Compare
18e786b to
252cf06
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.