#5765 Fedpkg import unauthorized error
Closed 7 years ago Opened 7 years ago by nkothapa.

I get "Could not execute import_srpm: Request is unauthorized" error when I attempt a fedpkg import. My fedpkg version is 1.26-5.fc25. I've been able to clone fedora repos but not import. Could you please help me resolve this issue?


I assume you have a valid kerberos ticket?

can you do:

klist -A
and
fedpkg -dv import yoursourcerpm

and attach the output here?

I just learned that koji was changed to use kerberos authentication instead of ssl certificates. I do not have kerberos ticket yet.

Yes, this change was made in December.

See:
https://fedoraproject.org/wiki/Infrastructure/Kerberos
for details.

Basically do:

kinit nkothapa@FEDORAPROJECT.ORG (case matters!)
enter your fas password and then do the fedpkg import.

I get a " Password incorrect while getting initial credentials" when I try a

kinit nkothapa@FEDORAPROJECT.ORG

Even though I can use the same password to log into all other Fedora links!

You have a space there between username and @... which shouldn't be there.

you should be doing:

kinit nkothapa@FEDORAPROJECT.ORG

If that doesn't work, can you do:

KRB5_TRACE=/dev/stdout kinit nkothapa@FEDORAPROJECT.ORG

and attach all the output from it?

I copy pasted your kinit command from above - did not have space between nkothapa and @FEDORAPROJECT in the command I attempted.

Please find attached kinit trace.

Metadata Update from @nkothapa:
- Issue status updated to: Closed (was: Open)

7 years ago

Login to comment on this ticket.

Metadata
Attachments 1
Attached 7 years ago View Comment