nimbusproject/nimbus — Issue #76: nimbus-new-user doesn't support addresses with the '+' character
Author: buzztroll
Created: 2011-11-16 18:43:43+00:00
State: open

The nimbus-new-user does accept email addresses with the '+' character in the
leading portion of the username, which are perfectly legitimate email
addresses. For instance user+text@gmail.com.

When attempt to run nimbus-new-user with such an address, the following error
is triggered:

./nimbus-new-user --dest /tmp --batch --web --group=3
--report=cert,key,dn,canonical_id,access_id,access_secret,url,web_id,cloud_properties
user+text@gmail.com
Traceback (most recent call last):
File "/opt/nimbus/libexec/nimbus_new_user.py", line 420, in
rc = main()
File "/opt/nimbus/libexec/nimbus_new_user.py", line 407, in main
create_user(o, db)
File "/opt/nimbus/libexec/nimbus_new_user.py", line 340, in create_user
raise ex1
nimbusweb.setup.setuperrors.UnexpectedError: Problem creating certificate.
[<<< stderr: 'Problem creating certificate: String index out of range: -1