title: Generating a GPG key for git tagging
body: <p>I'm trying to create signed tags in GitHub using the git command line. I generated a GPG key with a (sample) username <code>Full Name (skytreader) &lt;fullname@gmail.com&gt;</code>. Having done that, I try to create a <a href="https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work" rel="noreferrer">signed tag</a>. However I get the following error:</p>
  
  <pre><code>gpg: skipped "full &lt;fullname@gmail.com&gt;": secret key not available
  gpg: signing failed: secret key not available
  error: gpg failed to sign the data
  error: unable to sign the tag
  </code></pre>
  
  <p>I figure that I just need to create another key with the indicated username. But then, entering the name "full", <code>gpg</code> complains that my name should be at least 5 characters long.</p>
  
  <p>How do I use this key with git?</p>
  
  <p>Do I change the username git uses for signing my tags with GPG so that I get a real name at least 5 chars long?</p>