-
-
Notifications
You must be signed in to change notification settings - Fork 734
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
Argon2 fourth part: borg benchmark cpu: use ARGON2_ARGS #6552
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6552 +/- ##
==========================================
+ Coverage 83.07% 83.10% +0.02%
==========================================
Files 39 39
Lines 10586 10586
Branches 2070 2070
==========================================
+ Hits 8794 8797 +3
+ Misses 1291 1289 -2
+ Partials 501 500 -1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
can you check that, guess it does not apply any more?
Line 3 in 76063ab
# IMPORTANT keep imports from borg here to a minimum because our testsuite depends on |
I think you are right fgrep -r --exclude-dir=.tox --exclude-dir=.git --exclude-dir=__pycache__ PBKDF2_ITERATIONS
src/borg/archiver.py: ("pbkdf2", lambda: Passphrase('mypassphrase').kdf(b'salt'*8, PBKDF2_ITERATIONS, 32)),
src/borg/crypto/key.py: iterations = PBKDF2_ITERATIONS
src/borg/__init__.py:# being able to import borg.constants and then monkey patching borg.constants.PBKDF2_ITERATIONS
src/borg/constants.py:PBKDF2_ITERATIONS = 100000 |
BTW, if you like, we could change the plan a bit:
What do you think? |
Sure |
I have updated the cpu benchmark to use the same argon2 configuration as we use normally.
After this is merged I'll work on the last PR of #747 - the changelog and documentation updates