keybase / keybase-issues

A single repo for managing publicly recognized issues with the keybase client, installer, and website.
900 stars 37 forks source link

Keybase prove error #852

Open Duckbuster opened 10 years ago

Duckbuster commented 10 years ago

I'm trying to prove my twitter and github and I just get this error:

duckbuster@archpi ~ % keybase prove twitter Duckbust3r

You need a passphrase to unlock the secret key for user: "keybase.io/duckbuster duckbuster@keybase.io" 4096-bit RSA key, ID A97360CAC993037D, created 2014-07-11

error: gpg exited with code 2 warn: gpg: problem with the agent: No pinentry warn: gpg: skipped "A97360CAC993037D": Operation cancelled warn: gpg: signing failed: Operation cancelled

maxtaco commented 10 years ago

Does this help? #562

Duckbuster commented 10 years ago

Already tried export GPG_TTY=tty It doesn't help, could it be because I'm doing this over SSH?

maxtaco commented 10 years ago

Yeah, that is likely issue, GPG is finicky if it can't open a pinentry window over X.

I'm not sure how to proceed from here, it depends on shell, X-windows, ssh, and gpg configurations. But in general, if you can get echo "hello world" | gpg -u A97360CAC993037D --sign to work, then keybase should work, and if not, it won't. Let me know if you come up with something that works. Thanks!

(And BTW, what's your gpg version?)

Duckbuster commented 10 years ago

'echo "hello world" | gpg -u A97360CAC993037D --sign' also didnt work duckbuster@archpi ~ % keybase version keybase (keybase.io CLI) v0.4.11

Duckbuster commented 10 years ago

my arch is headless, I'm using zsh as shell.

maxtaco commented 10 years ago

Ok, I have a headless arch VM I can access on Monday, I probably won't have time to set one up until then. Thanks.

maxtaco commented 10 years ago

Ok, just got everything working on my arch headless.

What is in your ./gnupg/gpg-agent.conf file? Mine says this:

pinentry-program /usr/bin/pinentry-curses
Duckbuster commented 10 years ago

Same as yours.

maxtaco commented 10 years ago

Does that program exist?

Duckbuster commented 10 years ago

duckbuster@archpi ~ % pinentry-curses OK Your orders please

Duckbuster commented 10 years ago

Well, I just tried to do 'keybase prove twitter Duckbust3r' again. And now it just works... I didn't change anything, oh well. Thanks for your troubles anyway.

maxtaco commented 10 years ago

Did you see the pinentry curses window pop up? It looks like....

screen shot 2014-07-14 at 8 51 00 am

Duckbuster commented 10 years ago

If I don't ssh in.