Coder Social home page Coder Social logo

Comments (7)

nmanikumar5 avatar nmanikumar5 commented on July 22, 2024 108

This will help you to get rid of it

git config commit.gpgsign false

from keybase-gpg-github.

jasonzhouu avatar jasonzhouu commented on July 22, 2024 21

run gpgconf --kill gpg-agent to kill any running agent that might be hung
2016-12 https://stackoverflow.com/a/41054093/7218912

This works for me.

from keybase-gpg-github.

skrulcik avatar skrulcik commented on July 22, 2024 12

Try setting up your TTY, as seen in one of the optional sections of these instructions.

I had this problem as well (OSX 10.13, gpg (GnuPG) 2.2.1), and was able to find the solution in a comment on a related issue on the Keybase issues page. The underlying issue (apparent to me after trying echo "test" | gpg --clearsign) is actually with GPG, not with how Git is using it to sign.

from keybase-gpg-github.

przemyslawpluta avatar przemyslawpluta commented on July 22, 2024 2

Had similar issue and running echo "test" | gpg --clearsign fixed if for a bit after reentering pass again.

from keybase-gpg-github.

trinitronx avatar trinitronx commented on July 22, 2024 2

I've noticed with Yubikey 4 Nano, sometimes scdaemon gets into a borked state. It ends up yielding the same error when using signed commits.

Workaround that seems to fix it temporarily is:

# Kill any and all messed up scdaemon instances
ps auxww | grep -i scdaemon | grep -v grep | awk '{ print $2 }' | xargs kill
# Wait a sec
sleep 1
# Now re-init scdaemon by asking for card status
gpg2 --card-status

After this workaround, it should work again. Hope this helps fellow Yubikey users.

from keybase-gpg-github.

wolfy1339 avatar wolfy1339 commented on July 22, 2024

I had this problem with git (although not with this plugin) and a google search for this problem led me here, with the comments here I got more info on the problem, it turns out there's an issue with keybase for this: keybase/keybase-issues#2798 and it contains a fix that works
This problem is not caused by git or anything else but GPG itself

from keybase-gpg-github.

jozefvaclavik avatar jozefvaclavik commented on July 22, 2024

gpg --clearsign was working for me in terminal (after setting GPG_TTY), but I still couldn't commit through GUI (Git Tower).

Had to do:

echo no-tty >> ~/.gnupg/gpg.conf
git config --global gpg.program /usr/local/bin/gpg

from keybase-gpg-github.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.