garyvdm
(Gary van der Merwe)
April 8, 2026, 6:33am
1
I want to submit a pull request to update a package. I’ve changed the .spec file, built and tested the package, and done a git commit.
I’m struggling to add my ssh key to src.fedoraproject.org so I can push my commit to my fork. when I go to https://src.fedoraproject.org/settings#nav-ssh-tab , I don’t see any option to add the ssh key.
What do I need to add my ssh key?
Alternatively, is there a way I can authenticate to push over https?
Add the ssh key to your fedora account.
2 Likes
I also think you will have to agree to the FPCA, and probably be in the packager group to contribute ?!
cverna
(Clement Verna)
April 8, 2026, 2:22pm
4
I recommend following this Pull Request Guide. Making sure you're not a bot! if you are not already a packager. Since PR’s via SSH will not work for you.
2 Likes
garyvdm
(Gary van der Merwe)
April 9, 2026, 6:16am
5
Thanks. This helped me.
For the sake of anyone who is reading this in the future: As a non packager, you don’t auth using ssh, instead:
When you create the repo using fedpkg clone, it sets up a git credential helper for your local repo:
% git config credential.helper
/usr/bin/fedpkg gitcred
This then opens a browser window when you do a git push where you can then authenticate.
garyvdm
(Gary van der Merwe)
April 9, 2026, 6:19am
6
Thanks Leigh.
While I see this is needed for some fedpkg commands, doing this doesn’t enable you to git push to src.fedoraproject.org .