Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557112 - git signed rejection should clarify the reason
Summary: git signed rejection should clarify the reason
Status: CONFIRMED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Git (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Infrastructure
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-09 10:44 UTC by SpanKY
Modified: 2015-08-09 10:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2015-08-09 10:44:10 UTC
if you sign with a key the server doesn't recognize, the error is:
$ git push --signed
Counting objects: 23, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (23/23), done.
Writing objects: 100% (23/23), 6.32 KiB | 0 bytes/s, done.
Total 23 (delta 18), reused 0 (delta 0)
remote: Your push was not signed. You must use git push --signed!
To ssh://git@git.gentoo.org/repo/gentoo.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'ssh://git@git.gentoo.org/repo/gentoo.git'

it should instead extract the key used, display it, and then list the keys that it would have accepted for the active user