No secret key
chasen-bettinger opened this issue · comments
Chasen Bettinger commented
Error:
error: gpg failed to sign the data:
gpg: skipped "/Users/me/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/PublicKeys/2428d3e2b73ab36837cf35699921794b.pub": No secret key
[GNUPG:] INV_SGNR 9 /Users/me/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/PublicKeys/2428d3e2b73ab36837cf35699921794b.pub
[GNUPG:] FAILURE sign 17
gpg: signing failed: No secret key
Encountered while running git commit
.
My ~/.gitconfig
:
[user]
name = me
email = me@me.com
signingkey = /Users/me/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/PublicKeys/2428d3e2b73ab36837cf35699921794b.pub
[commit]
gpgsign = true
[core]
symlinks = true
excludesfile = /Users/me/.gitignore
[url "ssh://git@github.com/"]
insteadOf = https://github.com/
[push]
autoSetupRemote = true
[submodule]
recurse = true
[pull]
rebase = true
Not sure what exactly I've done to get in this state, I apologize for lack of reproduction steps!
Chasen Bettinger commented
~/.gitconfig
is missing gpg.format = ssh
[user]
name = me
email = me@me.com
signingkey = /Users/me/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/PublicKeys/2428d3e2b73ab36837cf35699921794b.pub
[commit]
gpgsign = true
[gpg]
format = ssh
[core]
symlinks = true
excludesfile = /Users/me/.gitignore
[url "ssh://git@github.com/"]
insteadOf = https://github.com/
[push]
autoSetupRemote = true
[submodule]
recurse = true
[pull]
rebase = true