User's email format hasn't been checked
Bug #1218682 reported by
Haiwei Xu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Invalid
|
Wishlist
|
Unassigned | ||
oslo-incubator |
Won't Fix
|
Wishlist
|
Unassigned | ||
python-keystoneclient |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
When a user is created, the email attribute can be in any format.
I think it's necessary to do the format check of email.
$ keystone user-list
+------
| id | name | enabled | email |
+------
| 4d0458857e604f0
Changed in python-keystoneclient: | |
assignee: | nobody → Haiwei Xu (xu-haiwei) |
Changed in oslo: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Changed in oslo: | |
assignee: | nobody → Ryan Oshima (ryan-oshima) |
assignee: | Ryan Oshima (ryan-oshima) → nobody |
Changed in keystone: | |
assignee: | nobody → Ryan Oshima (ryan-oshima) |
Changed in keystone: | |
status: | Triaged → In Progress |
Changed in python-keystoneclient: | |
assignee: | Haiwei Xu (xu-haiwei) → Abhishek Talwar (abhishek-talwar) |
Changed in python-keystoneclient: | |
assignee: | Abhishek Talwar (abhishek-talwar) → nobody |
Changed in keystone: | |
assignee: | Lance Bragstad (lbragstad) → Lin Hua Cheng (lin-hua-cheng) |
Changed in oslo-incubator: | |
status: | Triaged → Won't Fix |
To post a comment you must log in.
This sounds like a good candidate for a wishlist item against oslo, as similar work for 'name' validation has been proposed there... and it would definitely be painful to have conflicting 'email' validation algorithms floating around openstack (it's a surprisingly difficult problem to validate email addresses).
'email' is a non-spec attribute in the v3 identity API so I'm not 100% sure it makes sense to add keystone or do verification on the server side.