Bug 825208 - fedora-cert does not work
fedora-cert does not work
Product: Fedora
Classification: Fedora
Component: fedora-packager (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Dennis Gilmore
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-05-25 07:14 EDT by Harald Reindl
Modified: 2013-02-13 20:06 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-02-13 20:06:23 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Harald Reindl 2012-05-25 07:14:52 EDT

i liked to setup "fedora-easy-karma" on my test machine
but it will not generate a cert :-(


[root@testserver:~]$ fedora-cert --username=hreindl -n
Getting a new User Certificate
FAS Password: 
Traceback (most recent call last):
  File "/usr/bin/fedora-cert", line 71, in <module>
  File "/usr/bin/fedora-cert", line 38, in main
  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 443, in send_request
    {'url': to_bytes(url), 'err': to_bytes(e)})
fedora.client.ServerError: ServerError(https://admin.fedoraproject.org/accounts/user/dogencert, 200, Error returned from json module while processing https://admin.fedoraproject.org/accounts/user/dogencert: No JSON object could be decoded: line 1 column 0 (char 0))
Comment 1 Till Maas 2012-05-25 16:32:39 EDT
fedora-cert is part of fedora-packager. Nevertheless, you do not need a fedora certificate for fedora-easy-karma to work. Just run fedora-easy-karma --fas-username hreindl or report a bug if this does not work.
Comment 2 Dennis Gilmore 2012-05-25 17:23:06 EDT
the error could be better but its because you have to have signed the contributor agreement to be able to get a certificate.
Comment 3 Fedora End Of Life 2013-01-16 17:35:33 EST
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: 
Comment 4 Till Maas 2013-01-20 17:01:59 EST
It looks like this has been fixed in Fedora 17:
 95     try:
 96         cert = fas.user_gencert()
 97         fas.logout()
 98     except CLAError:
 99         fas.logout()
100         raise fedora_cert_error("""You must sign the CLA before you can generate your certificate.\n
101 To do this, go to https://admin.fedoraproject.org/accounts/cla/""")
Comment 5 Fedora End Of Life 2013-02-13 20:06:30 EST
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.

Note You need to log in before you can comment on or make changes to this bug.