Skip to content

[FIX] Random generated password not matching the Password Policy#18475

Merged
sampaiodiego merged 1 commit intodevelopfrom
fix/random-password-policy
Aug 6, 2020
Merged

[FIX] Random generated password not matching the Password Policy#18475
sampaiodiego merged 1 commit intodevelopfrom
fix/random-password-policy

Conversation

@rodrigok
Copy link
Copy Markdown
Member

@rodrigok rodrigok commented Aug 4, 2020

Proposed changes

Try to generate a random password containing all the possible required options of the policy.

Issue(s)

Closes #17785

How to test or reproduce

Screenshots

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • Improvement (non-breaking change which improves a current function)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Hotfix (a major bugfix that has to be merged asap)
  • Documentation Update (if none of the other choices apply)

Checklist

  • I have read the CONTRIBUTING doc
  • I have signed the CLA
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works (if applicable)
  • I have added necessary documentation (if applicable)
  • Any dependent changes have been merged and published in downstream modules

Changelog

Generates a password with all the possible requirements of the Password Policy and matching the size limitations when enabled.

Further comments

@rodrigok rodrigok added this to the 3.6.0 milestone Aug 4, 2020
@rodrigok rodrigok requested review from ggazzo and sampaiodiego August 4, 2020 13:27
@lgtm-com
Copy link
Copy Markdown

lgtm-com bot commented Aug 4, 2020

This pull request introduces 1 alert when merging e7bd521 into 139e8db - view on LGTM.com

new alerts:

  • 1 for Insecure randomness

@sampaiodiego sampaiodiego merged commit 3ce8e65 into develop Aug 6, 2020
@sampaiodiego sampaiodiego deleted the fix/random-password-policy branch August 6, 2020 16:29
gabriellsh added a commit that referenced this pull request Aug 10, 2020
…omni

* 'develop' of github.com:RocketChat/Rocket.Chat:
  [NEW] Add REST API endpoint to search Livechat visitors (#18514)
  LingoHub based on develop (#18516)
  Update README.md (#18503)
  [NEW] Channel avatar (#18443)
  [FIX] Sending notifications from senders without a name (#18479)
  [FIX] UserCard avatar cache (avatarETag) (#18466)
  [IMPROVE] Admin Info page requires permission (#18408)
  [FIX] Marking room as read with unread threads still (#18410)
  [FIX] Random generated password not matching the Password Policy (#18475)
  Typo in privacy agreement message (#18476)
  bugfix for uploading files from livechat (#18474)
  LingoHub based on develop (#18465)
  [NEW] Add the ability to set the character message limit on Livechat widget (#18261)
  [FIX] Migration 194 (#18457)
  [FIX] Omnichannel session monitor is not starting (#18412)
  [FIX] Invalid MIME type when uploading audio files (#18426)
  [FIX] Error when updating omnichannel department without agents parameter (#18428)
  [FIX] Omnichannel Take Inquiry endpoint checking wrong permission (#18446)
  [FIX] Multiple push notifications sent via native drivers (#18442)
  [FIX] Appending 'false' to Jitsi URL (#18430)
@sampaiodiego sampaiodiego mentioned this pull request Aug 29, 2020
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.

Random password is generated without special characters

2 participants