Skip to content

Reject rounds=0 for SHA1 hashes #677

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

Merged
merged 4 commits into from
Oct 23, 2019
Merged

Reject rounds=0 for SHA1 hashes #677

merged 4 commits into from
Oct 23, 2019

Conversation

rsgowman
Copy link
Member

@@ -207,12 +207,34 @@ describe('UserImportBuilder', () => {

md5ShaPbkdfAlgorithms.forEach((algorithm) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an amazing variable name.

Copy link
Contributor

@bojeil-google bojeil-google left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix. Looks good. Just one typo.

maxRounds = 120000;
break;
default:
throw new Error('Unexpected algorith: ' + algorithm);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: algorithm

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

@rsgowman rsgowman merged commit 943e40c into master Oct 23, 2019
@rsgowman rsgowman deleted the rsgowman/rounds0 branch October 23, 2019 13:14
rsgowman added a commit to firebase/firebase-admin-java that referenced this pull request Nov 1, 2019
rsgowman added a commit to firebase/firebase-admin-go that referenced this pull request Nov 1, 2019
rsgowman added a commit to firebase/firebase-admin-python that referenced this pull request Nov 1, 2019
rsgowman added a commit to firebase/firebase-admin-java that referenced this pull request Nov 5, 2019
rsgowman added a commit to firebase/firebase-admin-python that referenced this pull request Nov 5, 2019
rsgowman added a commit to firebase/firebase-admin-go that referenced this pull request Nov 6, 2019
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.

4 participants