Bug 831851

Summary: [abrt] fedora-cert-0.5.9.4-1.fc16: proxyclient.py:406:send_request:AuthError: Unable to log into server. Invalid authentication tokens. Send new username and password
Product: [Fedora] Fedora Reporter: Garrett Holmstrom <gholms>
Component: fedora-packagerAssignee: Dennis Gilmore <dennis>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dennis, rhbugs
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:25204719172462d3c054fd39ef5a645700e05ff2
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-13 13:59:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Garrett Holmstrom 2012-06-13 22:03:00 UTC
libreport version: 2.0.8
abrt_version:   2.0.7
cmdline:        /usr/bin/python /usr/bin/fedora-cert
comment:        Mis-typing one's password appears to result in a traceback.
executable:     /usr/bin/fedora-cert
kernel:         3.3.7-1.fc16.x86_64
reason:         proxyclient.py:406:send_request:AuthError: Unable to log into server.  Invalid authentication tokens.  Send new username and password
time:           Wed 13 Jun 2012 02:59:09 PM PDT
uid:            1032
username:       gholms

backtrace:
:proxyclient.py:406:send_request:AuthError: Unable to log into server.  Invalid authentication tokens.  Send new username and password
:
:Traceback (most recent call last):
:  File "/usr/bin/fedora-cert", line 71, in <module>
:    main(opts)
:  File "/usr/bin/fedora-cert", line 46, in main
:    fedora_cert.create_user_cert(username)
:  File "/usr/lib/python2.7/site-packages/fedora_cert/__init__.py", line 96, in create_user_cert
:    cert = fas.user_gencert()
:  File "/usr/lib/python2.7/site-packages/fedora/client/fas2.py", line 655, in user_gencert
:    request = self.send_request('user/dogencert', auth=True)
:  File "/usr/lib/python2.7/site-packages/fedora/client/baseclient.py", line 344, in send_request
:    auth_params=auth_params, retries=retries)
:  File "/usr/lib/python2.7/site-packages/fedora/client/proxyclient.py", line 406, in send_request
:    raise AuthError(b_('Unable to log into server.  Invalid'
:AuthError: Unable to log into server.  Invalid authentication tokens.  Send new username and password
:
:Local variables in innermost frame:
:username: 'gholms'
:retries: 0
:req_params: None
:i: ('user_name', 'gholms')
:self: <fedora.client.fas2.AccountSystem object at 0x1785710>
:request: <pycurl.Curl object at 0x17c7d80>
:session_id: None
:req_data: 'login=Login&password=<redacted>&user_name=gholms'
:auth_params: {'username': 'gholms', 'password': '<redacted>'}
:headers: ['User-agent: Fedora Account System Client/0.3.28.1', 'Accept: application/json', 'Expect:']
:num_tries: 0
:complete_params: {'login': 'Login', 'password': '<redacted>', 'user_name': 'gholms'}
:http_status: 403
:url: 'https://admin.fedoraproject.org/accounts/user/dogencert'
:file_params: None
:method: 'user/dogencert'
:password: '<redacted>'
:data: None
:response: <fedora.client.proxyclient._PyCurlData object at 0x17859d0>

Comment 1 Jeff Raber 2012-06-22 15:29:45 UTC
supply the wrong password when trying to generate a new client certificate using 'fedora-cert -n'

Package: fedora-cert-0.5.9.6-2.fc17
OS Release: Fedora release 17 (Beefy Miracle)

Comment 2 Vít Ondruch 2012-07-24 14:31:17 UTC
Enter invalid password should fail gracefully.

Package: fedora-cert-0.5.9.6-2.fc17
OS Release: Fedora release 17 (Beefy Miracle)

Comment 3 Fedora End Of Life 2013-01-16 13:16:30 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Fedora End Of Life 2013-02-13 13:59:09 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.