Learn more about these different git repos.
Other Git URLs
I just added an SSH key for my user, and I couldn't git fetch/push.
Then I realized there was a new line character at the end of my SSH key in the field, so I removed that, and now git fetch.push just works.
Please run a quick .strip() when getting the SSH key from the POST data.
.strip()
More than just a .strip() we should remove all the \n character in the string, I have seen user doing a wrong copy/paste leading to be unable to authenticate.
\n
Would you like to work on this?
Thanks!
Implemented in https://pagure.io/pagure/pull-request/206
And merged
Login to comment on this ticket.