#11039 root@pkgs.fedoraproject.org: Permission denied (publickey).
Closed: Fixed with Explanation by jschmidb. Opened by jschmidb.

I'm in the process of adding a new repo to fedora.

I requested the repo with https://pagure.io/releng/fedora-scm-requests/issue/47590
The repo is now available at https://src.fedoraproject.org/rpms/libzpc

Next step in the process is 'fedpkg clone libzpc', which fails with above msg: Permission denied (publickey).

I checked my profile at src.fedoraproject.org but didnt' see any way of e.g. configuring a public ssh key ...

Any help is appreciated!


Hi @jschmidb, so few thing here. Make sure you have the ssh key in fas, logout and login again into src.fedoraproject.org and last dont clone the repo as root but as a user.

Thanks! This brings me a bit forward!
- I saw that my ssh key is already set in https://accounts.fedoraproject.org/user/jschmidb/
- I logged in and out
- I switched user from root to local user jschmidb

Now I'm getting:
ImportError: Bad git executable.
The git executable must be specified in one of the following ways:
- be included in your $PATH
- be set via $GIT_PYTHON_GIT_EXECUTABLE
- explicitly set via git.refresh()

I'm running on fedora 35 and I have git installed (/usr/bin/git)
/usr/bin is already contained in $PATH and I also did an
export GIT_PYTHON_GIT_EXECUTABLE=/usr/bin/git

But still getting this error.

I have never seen something like this. Where are your python packages comming from? Are you using pip to install them or fedora repos?

As far as I can recall I installed python just via dnf install

Does 'fedpkg --debug clone libzpc' give any more info?

Metadata Update from @phsmoura:
- Issue tagged with: low-gain, low-trouble, ops

I finally created a new RSA key via ssh-keygen and copied the public key into my account at fedoraproject.org. This solved the authentication problem.
Thanks for all of your help!

Metadata Update from @jschmidb:
- Issue close_status updated to: Fixed with Explanation
- Issue status updated to: Closed (was: Open)

Metadata