-
Notifications
You must be signed in to change notification settings - Fork 221
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
fix: low entropy mac passphrase in cipher seed (see issue #4182) #4296
Merged
stringhandler
merged 22 commits into
tari-project:development
from
jorgeantonio21:ja-mac-keyed-directly-with-low-entropy-passphrase
Aug 2, 2022
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
623f7c1
embed passphrase into a higher entropy space before generating the MA…
jorgeantonio21 4741d51
mods in Cargo.toml
jorgeantonio21 2202c37
add PR code suggestions on the use of MacDomain for domain separation
jorgeantonio21 5a3ea8d
resolve wasm tests
jorgeantonio21 7ef3d29
refactor wallet tests
jorgeantonio21 b1150c2
refactor tests
jorgeantonio21 08a3838
refactor code on failing tests
jorgeantonio21 5f6864c
refactor wallet tests
jorgeantonio21 2171eed
refactor tests in wallet ffi
jorgeantonio21 3f5a728
Merge branch 'development' into ja-mac-keyed-directly-with-low-entrop…
jorgeantonio21 2415813
add new hashing API support use
jorgeantonio21 b05ef8c
add hashing api support
jorgeantonio21 2d75995
refactor failed tests
jorgeantonio21 f6ebee0
comments on PR
jorgeantonio21 f5c78fd
merge with development
jorgeantonio21 b5b86e6
use of hash_domain! macro
jorgeantonio21 37c6ec0
use of the hash_domain! macro and refactor code to use tari-crypto v0…
jorgeantonio21 b316486
merge development
jorgeantonio21 16a4046
merge development branch
jorgeantonio21 3277ce4
refactor tests
jorgeantonio21 b4f8b5f
further refactor tests
jorgeantonio21 6535710
Merge branch 'development' into ja-mac-keyed-directly-with-low-entrop…
stringhandler File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Oops, something went wrong.
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.
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.
To be clear, MAC-then-encrypt is in general not a safe approach to authenticated encryption. It can be shown to be safe under certain designs, like a stream cipher with a strong MAC, but it isn't clear that the truncated hash function approach here strictly meets this requirement.