Make WordPress Core

Opened 19 years ago

Closed 19 years ago

#5404 closed enhancement (duplicate)

Add pluggable function to enforce password strength

Reported by: pishmishy Owned by: pishmishy
Priority: normal Milestone:
Component: Security Version:
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

Patch adds an extra option (disabled by default) to force users to chose secure passwords. A plugin replaceable function is called at the appropriate time to check the strength of the password. I realize that this functionality could be achieved through a plugin but I'd like to make the case that the extra security gained against brute force attacks makes it worth including. See also #4470 (Ideally I should really rewrite the function to replicate that javascript function).

Attachments (1)

5404.patch​ (3.8 KB ) - added by pishmishy 19 years ago.

Download all attachments as: .zip

Change History (6)

@pishmishy
19 years ago

#1 @pishmishy
19 years ago

  • Keywords has-patch added

Ignore my comment on #4470. With after thought I don't think that Javascript function isn't great. checkRepetition() isn't well documented, the algorithm isn't clear (why check for symbols, numbers and then again for symbols and numbers - surely the score would take that into account naturally?).

Preferring my patch for now.

#2 @pishmishy
19 years ago

  • Status new → assigned

#3 @darkdragon
19 years ago

Well, since you are doing this, then ignore my other comment.

#4 @JDTrower
19 years ago

A patch has been posted on #4470 that includes the functionality requested in this ticket. That patch needs testing.

#5 @pishmishy
19 years ago

  • Milestone 2.6
  • Resolution → duplicate
  • Status assigned → closed

Thanks. Closing as duplicate of 4470.

Note: See TracTickets for help on using tickets.