Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fix for windows git bash in documentation #39

Open
i4ink opened this issue Apr 19, 2021 · 0 comments
Open

Add fix for windows git bash in documentation #39

i4ink opened this issue Apr 19, 2021 · 0 comments

Comments

@i4ink
Copy link

i4ink commented Apr 19, 2021

As git bash uses it's default gpg program which is located by default at C:\Program Files\Git\usr\bin\gpg.exe and keybase uses the gpg program of windows which is installed by default at C:\Program Files (x86)\GnuPG\bin\gpg.exe so it's obvious to get the following error while performing commit in git bash -:

gpg: skipped "3E81C*******": secret key not available
gpg: signing failed: secret key not available
error: gpg failed to sign the data
fatal: failed to write commit object

So it would be very helpful if you add this fix (to run the following command in git bash) in the documentation for the above error

git config --global gpg.program "C:\Program Files (x86)\GnuPG\bin\gpg.exe"

PS-: there is one fix like this for Git UIs but that takes the git bash default gpg program in windows

@i4ink i4ink changed the title Add documentation on fix for windows git bash Add "Optional: fix for windows git bash" section in readme file Apr 19, 2021
@i4ink i4ink changed the title Add "Optional: fix for windows git bash" section in readme file Add fix for windows git bash in documentation Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant