Skip to content

docs(internet): password doesn't create crypto-secure PWs #1961

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 2 commits into from
Mar 23, 2023
Merged

docs(internet): password doesn't create crypto-secure PWs #1961

merged 2 commits into from
Mar 23, 2023

Conversation

deltamualpha
Copy link
Contributor

Since this API uses faker.number, which itself is just using a Mersenne Twister implementation, these passwords are not safe for use in cryptographically-sensitive contexts.

@deltamualpha deltamualpha requested a review from a team as a code owner March 22, 2023 19:37
@ST-DDT ST-DDT requested review from a team March 22, 2023 20:03
@ST-DDT ST-DDT added c: docs Improvements or additions to documentation p: 1-normal Nothing urgent m: internet Something is referring to the internet module labels Mar 22, 2023
Shinigami92
Shinigami92 previously approved these changes Mar 22, 2023
@codecov
Copy link

codecov bot commented Mar 22, 2023

Codecov Report

Merging #1961 (5c1fa96) into next (5f3df23) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##             next    #1961   +/-   ##
=======================================
  Coverage   99.63%   99.63%           
=======================================
  Files        2384     2384           
  Lines      238991   238992    +1     
  Branches     1231     1232    +1     
=======================================
+ Hits       238118   238121    +3     
+ Misses        851      849    -2     
  Partials       22       22           
Impacted Files Coverage Δ
src/modules/internet/index.ts 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

Copy link
Member

@ST-DDT ST-DDT left a comment

Choose a reason for hiding this comment

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

Please change the description as mentioned above.

Since this API uses faker.number, which itself is just using a Mersenne Twister implementation, these passwords are not safe for use in cryptographically-sensitive contexts.
@xDivisionByZerox xDivisionByZerox changed the title docs(internet): internet.password doesn't create crypto-secure PWs docs(internet): .password doesn't create crypto-secure PWs Mar 23, 2023
@xDivisionByZerox xDivisionByZerox changed the title docs(internet): .password doesn't create crypto-secure PWs docs(internet): password doesn't create crypto-secure PWs Mar 23, 2023
@Shinigami92 Shinigami92 merged commit 4490a9e into faker-js:next Mar 23, 2023
@deltamualpha deltamualpha deleted the patch-1 branch March 23, 2023 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: docs Improvements or additions to documentation m: internet Something is referring to the internet module p: 1-normal Nothing urgent
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants