Skip to content
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

refactor(general): include parameters in pbkdf2 instantiation #3811

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

julio-lopez
Copy link
Collaborator

@julio-lopez julio-lopez commented Apr 19, 2024

Use pbkdf2-sha256-600000 as the name to be consistent with the scrypt instantiation.

The format is pbkdf2-<hash_type>-<number_of_iterations>

Copy link

codecov bot commented Apr 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.06%. Comparing base (cb455c6) to head (d2945a7).
Report is 110 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3811      +/-   ##
==========================================
+ Coverage   75.86%   77.06%   +1.19%     
==========================================
  Files         470      473       +3     
  Lines       37301    28656    -8645     
==========================================
- Hits        28299    22083    -6216     
+ Misses       7071     4684    -2387     
+ Partials     1931     1889      -42     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@julio-lopez julio-lopez marked this pull request as ready for review April 19, 2024 22:18
@julio-lopez
Copy link
Collaborator Author

FYI: @bathina2 @miquella @kidgilson

internal/crypto/pbkdf.go Outdated Show resolved Hide resolved
@julio-lopez julio-lopez merged commit 17c3a8d into kopia:master Apr 19, 2024
27 checks passed
@julio-lopez julio-lopez deleted the pbkdf-instance-name branch April 19, 2024 22:50
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.

None yet

2 participants