mathiasbynens / mathiasbynens/dotfiles

Invalid Signing Key in GitConfig

Open
#328 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
31.5k
Forks
8.4k
PR merge metrics
No merged PRs in 30d

Description

Added the following in my .extra

```
GIT_AUTHOR_SIGNINGKEY="keyid_goes_here"
GIT_COMMITTER_SIGNINGKEY="$GIT_AUTHOR_SIGNINGKEY"
git config --global user.signingkey="$GIT_AUTHOR_SIGNINGKEY"
```

However when I run `bootstrap.sh` I receive the following error:
`error: invalid key: user.signingkey=keyid_goes_here`

I hardcoded the value in to my gitconfig for the short-term and it works as expected.
`$ git log --show-signature`

```
gpg: Signature made Thu Jan 23 15:43:55 2014 CST using RSA key ID keyid_goes_here
gpg: Good signature from "..."
gpg: aka "..."
gpg: aka "..."
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading bootstrap.sh and the .extra configuration shown in the issue, then reproduce the invalid user.signingkey error with a real signing key. Confirm how the value is passed to Git configuration; done means bootstrap.sh completes without the error and git log --show-signature still reports a good signature.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, shell
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.