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

Use 32 byte salt by default #1690

Merged
merged 1 commit into from
Jan 12, 2021

Conversation

dominikschulz
Copy link
Member

This changes the salted hash funcs for the template feature to
use 32 salts by default and accept a parameter to choose the
desired salt length.

Fixes #1688

Signed-off-by: Dominik Schulz dominik.schulz@gauner.org

@dominikschulz dominikschulz added this to the 1.10.2 milestone Jan 6, 2021
@codecov-io
Copy link

codecov-io commented Jan 6, 2021

Codecov Report

Merging #1690 (c76facd) into master (f966884) will decrease coverage by 0.13%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1690      +/-   ##
==========================================
- Coverage   57.31%   57.19%   -0.13%     
==========================================
  Files         205      205              
  Lines        9806     9770      -36     
==========================================
- Hits         5620     5587      -33     
+ Misses       3526     3521       -5     
- Partials      660      662       +2     
Impacted Files Coverage Δ
internal/tpl/funcs.go 41.38% <0.00%> (-4.77%) ⬇️
internal/action/show.go 43.54% <0.00%> (-8.39%) ⬇️
internal/store/leaf/read.go 61.54% <0.00%> (-7.21%) ⬇️
internal/action/edit.go 44.44% <0.00%> (-2.07%) ⬇️
internal/config/config.go 52.38% <0.00%> (-0.74%) ⬇️
cmd/gopass-jsonapi/internal/jsonapi/responses.go 63.20% <0.00%> (-0.58%) ⬇️
internal/config/legacy.go 73.91% <0.00%> (-0.41%) ⬇️
internal/config/io.go 68.75% <0.00%> (-0.39%) ⬇️
internal/action/otp.go 58.97% <0.00%> (ø)
internal/config/context.go 0.00% <0.00%> (ø)
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f966884...c018eb7. Read the comment docs.

AnomalRoil
AnomalRoil previously approved these changes Jan 6, 2021
This changes the salted hash funcs for the template feature to
use 32 salts by default and accept a parameter to choose the
desired salt length.

Fixes gopasspw#1688

RELEASE_NOTES=[ENHANCEMENT] Use 32 byte salt by default

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
@dominikschulz dominikschulz merged commit 8d227c9 into gopasspw:master Jan 12, 2021
@dominikschulz dominikschulz deleted the fix/issue-1688 branch January 12, 2021 08:01
kpitt pushed a commit to kpitt/gopass that referenced this pull request Jul 21, 2022
This changes the salted hash funcs for the template feature to
use 32 salts by default and accept a parameter to choose the
desired salt length.

Fixes gopasspw#1688

RELEASE_NOTES=[ENHANCEMENT] Use 32 byte salt by default

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
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.

Template are using only 4 bytes of salt by default
3 participants