Skip to content

Reject rounds=0 for SHA1 hashes - #677

Merged
rsgowman merged 4 commits into
masterfrom
rsgowman/rounds0
Oct 23, 2019
Merged

rsgowman merged 4 commits into
masterfrom
rsgowman/rounds0

Conversation

@rsgowman

Copy link
Copy Markdown
Member

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

md5ShaPbkdfAlgorithms.forEach((algorithm) => {

Copy link
Copy Markdown
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.

@bojeil-google bojeil-google left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
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