Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 491271

Summary: git fetch fails for rsa keys
Product: [ECD] Orion Reporter: Carolyn MacLeod <Carolyn_MacLeod>
Component: NodeAssignee: Silenio Quarti <Silenio_Quarti>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Carolyn MacLeod CLA 2016-04-07 14:42:07 EDT
Tried to fetch when I only had rsa keys (tried both github and gerrit).
Error message was something like "could not extract public key out of private key" or something like that.
Generated a dsa key, added it to gerrit, and that worked.
Comment 1 Carolyn MacLeod CLA 2016-04-07 14:46:15 EDT
Tried extracting the key manually using:
ssh-keygen -y -f gerrit_rsa
and that seemed to work (same key, except that the original gerrit_rsa.pub had my email address appended to the key after a space)
Comment 2 Carolyn MacLeod CLA 2016-04-07 14:48:42 EDT
By the way, sync was failing silently. I didn't realize there was an error until I used fetch. I could open another bug for this, except that it might be useful to investigate it while you are testing this failure.  :)
Comment 3 Silenio Quarti CLA 2016-04-13 11:15:45 EDT
I just generated a pair of rsa keys and they work fine. So there is something special about your keys or some fix went in nodegit/libgit2. Please could you try your keys again?
Comment 4 Silenio Quarti CLA 2016-04-13 12:28:12 EDT
Carolyn's keys are working as well. Closing.