Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: speculist on June 02, 2011, 09:55:01 AM



Title: urgent, need help with gpg authentication on bitcoin-otc
Post by: speculist on June 02, 2011, 09:55:01 AM
hello, i hope there are technically skilled people around here that can help me out. i have a gpg key but when i try to do run "gpg --decrypt" command and paste in the encrypted message to register with the bot it doesn't work...what am i doing wrong? :(

edit: oh, and i need to know how i can find out the email adress associated with a gpg key.


Title: Re: urgent, need help with gpg authentication on bitcoin-otc
Post by: mewantsbitcoins on June 02, 2011, 10:11:26 AM
Best way to deal with emails is to download ThunderBird and add Enigmail extention
http://www.mozillamessaging.com/en-US/thunderbird/
https://addons.mozilla.org/en-us/thunderbird/addon/enigmail/


Title: Re: urgent, need help with gpg authentication on bitcoin-otc
Post by: Meni Rosenfeld on June 02, 2011, 10:21:37 AM
I think you need to use --sign rather than --decrypt.


Title: Re: urgent, need help with gpg authentication on bitcoin-otc
Post by: speculist on June 02, 2011, 10:22:21 AM
and that way i can get to the mail by just providing the gpg of the user?


Title: Re: urgent, need help with gpg authentication on bitcoin-otc
Post by: mewantsbitcoins on June 02, 2011, 10:23:59 AM
Sorry I misread your post. Meni is right in order to register with the bot you have to use --decrypt
Follow the instructions here
http://wiki.bitcoin-otc.com/wiki/GPG_authentication


Title: Re: urgent, need help with gpg authentication on bitcoin-otc
Post by: speculist on June 02, 2011, 10:24:16 AM
@Meni

that's not what it says here: http://wiki.bitcoin-otc.com/wiki/GPG_authentication#GPG_authentication (http://wiki.bitcoin-otc.com/wiki/GPG_authentication#GPG_authentication)

Quote
Now, Alice visits the link, copies the encrypted message, then runs "gpg --decrypt" command and pastes in the encrypted message. She then enters her password if prompted.


Title: Re: urgent, need help with gpg authentication on bitcoin-otc
Post by: speculist on June 02, 2011, 10:27:25 AM
Sorry I misread your post. Meni is right in order to register with the bot you have to use --decrypt
Follow the instructions here
http://wiki.bitcoin-otc.com/wiki/GPG_authentication

I did! But it doesn't work. I use the command console under windows to type in "gpg --decrypt" followed by a blank and then the encrypted message from the bot. doesn't work :-[


Title: Re: urgent, need help with gpg authentication on bitcoin-otc
Post by: mewantsbitcoins on June 02, 2011, 10:28:25 AM
speculist, yes you are right and me and Meni are both wrong. OTC authentication procedure changed recently. Which part are you having problems with? Any error messages?


Title: Re: urgent, need help with gpg authentication on bitcoin-otc
Post by: speculist on June 02, 2011, 10:35:32 AM
well, i don't get asked for my password (but that should happen) and i don't get the decrypted message. i don't remember the exact error message, very technical :P

do you know what the new authentication procedure is or if the wiki will be updated soon so noobs like me can handle it?


Title: Re: urgent, need help with gpg authentication on bitcoin-otc
Post by: mewantsbitcoins on June 02, 2011, 10:38:53 AM
:) Well, we need that message in order to help you.
Wiki is to date and the link I posted has the right procedure. Me and Meni were suggesting the way it used to be done


Title: Re: urgent, need help with gpg authentication on bitcoin-otc
Post by: speculist on June 02, 2011, 04:12:15 PM
Okay, here is what happens: it says:

"gpg: can't open '[first line of encrypted message]': no such file or directory"
gpg: decrypt_message failed: No such file or directory"

and then

"[second line of encrypted message] is not recognized as an internal or external command, operable program or batchfile"

and so on and so forth, through all the lines of the excrypted message.


Any ideas what i'm doing wrong? ???


Oh, and please: Is there any way to find out the email adress associated with a gpg, even though i'm not registerd yet? i really want to contact this one seller and time may be running out..



Title: Re: urgent, need help with gpg authentication on bitcoin-otc
Post by: mewantsbitcoins on June 02, 2011, 04:18:58 PM
What command did you enter to get that message?


Title: Re: urgent, need help with gpg authentication on bitcoin-otc
Post by: speculist on June 02, 2011, 04:24:23 PM
"gpg --decrypt" followed by the encrypted message you get from the bot after you type in "gpg eregister [nick] [key]"

And can you help with the email problem?


Title: Re: urgent, need help with gpg authentication on bitcoin-otc
Post by: mewantsbitcoins on June 02, 2011, 05:08:24 PM
Man, the way it works is if I ask a question about commands, you copy and paste exactly what was typed and what messages returned. If there is sensitive information just put *** instead. Otherwise we'll be here all day.

It is very simple. You go to the #bitcoin-otc and start a chat with gribble. Then you type:
Code:
;;gpg eauth yournickname

Then you copy the link that gribble provides and paste it into your browser. Once the page opens, you copy everything.
Then you open command line and type
Code:
gpg --decrypt
and press enter. Once the cursor is on the new line you paste what you copied from the page. At this point you may be prompted for password. Next you press Control-D to terminate input if on linux/mac. If on windows, press Enter, Control-Z, Enter to terminate input.

It will spit out a line like this:
Code:
freenode:#bitcoin-otc:5588cea3blahblahblah7e35e5d22e97080ee

Copy it and go to your conversation with gribble. Type ;;gpg everify paste_the_line_you_copied. Should look something like this
Code:
;;gpg everify freenode:#bitcoin-otc:5588cea3blahblahblah7e35e5d22e97080ee

And that's it. Be warned that there is time limit to preform authentication. If it takes you too long, the request will timeout and you'll have to do the whole thing again.


To get email associated with a public key you can go browse servers if it's uploaded there or you can import key and then do a long listing of keys


What OS are you running?


Title: Re: urgent, need help with gpg authentication on bitcoin-otc
Post by: cypherdoc on June 02, 2011, 06:14:35 PM
Man, the way it works is if I ask a question about commands, you copy and paste exactly what was typed and what messages returned. If there is sensitive information just put *** instead. Otherwise we'll be here all day.

It is very simple. You go to the #bitcoin-otc and start a chat with gribble. Then you type:
Code:
;;gpg eauth yournickname

Then you copy the link that gribble provides and paste it into your browser. Once the page opens, you copy everything.
Then you open command line and type
Code:
gpg --decrypt
and press enter. Once the cursor is on the new line you paste what you copied from the page. At this point you may be prompted for password. Next you press Control-D to terminate input if on linux/mac. If on windows, press Enter, Control-Z, Enter to terminate input.

It will spit out a line like this:
Code:
freenode:#bitcoin-otc:5588cea3blahblahblah7e35e5d22e97080ee

Copy it and go to your conversation with gribble. Type ;;gpg everify paste_the_line_you_copied. Should look something like this
Code:
;;gpg everify freenode:#bitcoin-otc:5588cea3blahblahblah7e35e5d22e97080ee

And that's it. Be warned that there is time limit to preform authentication. If it takes you too long, the request will timeout and you'll have to do the whole thing again.


To get email associated with a public key you can go browse servers if it's uploaded there or you can import key and then do a long listing of keys


What OS are you running?

i need to setup an acct over there too.   how do i "start a chat with gribble"?  do i do it from inside the #bitcoin-OTC channel where everyone's talking?


Title: Re: urgent, need help with gpg authentication on bitcoin-otc
Post by: mewantsbitcoins on June 02, 2011, 06:30:20 PM
The same way you would with any other person. Alternatively, when you are connected to Freenode, you can type
Code:
/q gribble

Please also read
http://wiki.bitcoin-otc.com/wiki/GPG_authentication

What I described here is just the authentication part of the process. You will need to install gpg, create a key pair and then register with gribble before you can authenticate and trade on #bitcoin-otc. For details and help you can ask on the channel - the guys there are very helpful


Title: Re: urgent, need help with gpg authentication on bitcoin-otc
Post by: cypherdoc on June 02, 2011, 07:04:41 PM
The same way you would with any other person. Alternatively, when you are connected to Freenode, you can type
Code:
/q gribble

Please also read
http://wiki.bitcoin-otc.com/wiki/GPG_authentication

What I described here is just the authentication part of the process. You will need to install gpg, create a key pair and then register with gribble before you can authenticate and trade on #bitcoin-otc. For details and help you can ask on the channel - the guys there are very helpful

what am i doing wrong?

[11:56] <cypherdoc> ;;gpg register cypherdoc FAE7765F1169B429 hkp://keys.gnupg.net
[11:56] <gribble> Request successful for user cypherdoc, hostmask cypherdoc!62adcdc4@gateway/web/freenode/ip.98.173.205.196. Your challenge string is: freenode:#bitcoin-otc:65e4c5971a889c7b258943c1a56a790adfa6bef261445ae6eb25116b
[11:56] <cypherdoc> ;;gpg everify freenode:#bitcoin-otc:65e4c5971a889c7b258943c1a56a790adfa6bef261445ae6eb25116b
[11:57] <gribble> Error: No outstanding encryption-based request found.
[12:00] <cypherdoc> ;;gpg everify freenode:#bitcoin-otc:65e4c5971a889c7b258943c1a56a790adfa6bef261445ae6eb25116b
[12:00] <gribble> Error: No outstanding encryption-based request found.
[12:00] <cypherdoc> ;;gpg -verify freenode:#bitcoin-otc:65e4c5971a889c7b258943c1a56a790adfa6bef261445ae6eb25116b
[12:01] <gribble> Error: 'freenode:#bitcoin-otc:65e4c5971a889c7b258943c1a56a790adfa6bef261445ae6eb25116b' is not a valid http url.


Title: Re: urgent, need help with gpg authentication on bitcoin-otc
Post by: mewantsbitcoins on June 02, 2011, 07:25:36 PM
You get only few minutes to complete registration/authentication and then your request is discarded. Try again


Title: Re: urgent, need help with gpg authentication on bitcoin-otc
Post by: cypherdoc on June 02, 2011, 07:53:03 PM
You get only few minutes to complete registration/authentication and then your request is discarded. Try again

i put in the everify command immediately as u can see.  should it be eauth or something else?  i'm on Win7 now.


Title: Re: urgent, need help with gpg authentication on bitcoin-otc
Post by: mewantsbitcoins on June 02, 2011, 08:30:18 PM
Sorry cypherdoc, I'm a little distracted today.

Your problem is that you are trying to use the old way of registering and the new way of confirming the registration.
Try:

Code:
;;gpg eregister yourname keyID

The rest seems fine


Title: Re: urgent, need help with gpg authentication on bitcoin-otc
Post by: speculist on June 02, 2011, 09:31:41 PM
@mewantsbitcoins

I'll try what you said tomorrow. I'm at work now and i dont't feel comfortable installing gpg here. Thanks so much for your effort to help me with this.


Title: Re: urgent, need help with gpg authentication on bitcoin-otc
Post by: speculist on June 03, 2011, 07:23:00 AM
Yes, it finally worked!! Thanks again:)


Title: Re: urgent, need help with gpg authentication on bitcoin-otc
Post by: Crispin on September 06, 2011, 08:25:08 PM
Far as I am concerned, gribble can kiss my ass.  Bitcoin will never become anything if we cant work the nerdiness out of it.

I am Jack and your girlfriend will never let go. Then I will freeze solid and sink to the bottom with all my bitcoins cuz I can barely stay afloat in this command line shit.