← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1715684] [NEW] password_regex option in keystone.conf not working

 

Public bug reported:

Set password_regex to the pattern below (Note that this pattern is from
the note section in keystone.conf above 'password_regex' - pattern for
at least 1 letter, 1 digit, and have a minimum length of 7 characters)

******************
STEPS TO REPRODUCE
*******************
$ sudo grep "password_regex" /etc/keystone/keystone.conf
password_regex = ^(?=.*\d)(?=.*[a-zA-Z]).{7,}$

2) Restart httpd
$ sudo service httpd restart

3) $ openstack user create --password-prompt panbalag
User Password:a
Repeat User Password:a
+----------+----------------------------------+
| Field    | Value                            |
+----------+----------------------------------+
| email    | None                             |
| enabled  | True                             |
| id       | 12665ec14f73478fa7acc74271f119bd |
| name     | panbalag                         |
| options  | {}                               |
| username | panbalag                         |
+----------+----------------------------------+

4) Step 3 must have returned an error message since password does not
match the requirements defined in password_regex

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1715684

Title:
  password_regex option in keystone.conf not working

Status in OpenStack Identity (keystone):
  New

Bug description:
  Set password_regex to the pattern below (Note that this pattern is
  from the note section in keystone.conf above 'password_regex' -
  pattern for at least 1 letter, 1 digit, and have a minimum length of 7
  characters)

  ******************
  STEPS TO REPRODUCE
  *******************
  $ sudo grep "password_regex" /etc/keystone/keystone.conf
  password_regex = ^(?=.*\d)(?=.*[a-zA-Z]).{7,}$

  2) Restart httpd
  $ sudo service httpd restart

  3) $ openstack user create --password-prompt panbalag
  User Password:a
  Repeat User Password:a
  +----------+----------------------------------+
  | Field    | Value                            |
  +----------+----------------------------------+
  | email    | None                             |
  | enabled  | True                             |
  | id       | 12665ec14f73478fa7acc74271f119bd |
  | name     | panbalag                         |
  | options  | {}                               |
  | username | panbalag                         |
  +----------+----------------------------------+

  4) Step 3 must have returned an error message since password does not
  match the requirements defined in password_regex

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1715684/+subscriptions


Follow ups