title: Eclipse Git Commit Signing - "Failed to parse secret key file"
body: <p>I recently decided to start using <strong>Git</strong> with <strong>Eclipse</strong> to commit changes to <strong>GitHub</strong>, and after some struggling I got it to work. However, I have been unable to <strong>sign my commits</strong> in Eclipse. Here's what happens to produce the error:</p>
  <p>I have the lock icon selected and attempt to commit changes.</p>
  <p><a href="https://i.stack.imgur.com/ykrqX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ykrqX.png" alt="Commit with Lock Icon Selected" /></a></p>
  <p>I get the prompt to enter the passphrase for my <code>user.signingkey</code>.</p>
  <p><a href="https://i.stack.imgur.com/ih5PL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ih5PL.png" alt="Prompt for Passphrase" /></a></p>
  <p>I copy and paste the passphrase in for the key, and I get the following error.</p>
  <p><a href="https://i.stack.imgur.com/La0Wz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/La0Wz.png" alt="Error Message" /></a></p>
  <p>To debug/fix this issue, I have tried:</p>
  <ul>
  <li>Creating and using a new key with a shorter passphrase (&lt;16 chars)</li>
  <li>Typing in the passphrase manually</li>
  <li>Adding signing configuration to the repository itself on top of the global Git config</li>
  </ul>
  <p>Nothing that I have tried has fixed the issue or even changed the error message. At this point, I am thinking that I must have messed up something quite simple, or this is an issue with the <strong>latest Eclipse release</strong> (which I am currently running).</p>
  <p>Is there something I'm missing or does this look like a bug with Eclipse?</p>
  <p>Thanks!</p>