Bitcoin Forum

Other => Beginners & Help => Topic started by: 3st3ban on June 20, 2012, 12:50:26 AM



Title: Re: Help urgently needed with registering GPG key on bitcoin-otc- SOLVED
Post by: 3st3ban on June 20, 2012, 12:50:26 AM
I'm new here. Can anyone help me?

Does anyone know how to register a GPG key, after already registering a username with a bitcoin address??

I have previously successfully registered my username om bitcoin-otc with a bitcoin address.

Now I want to authenticate with GPG, to fully use the channel- ratings etc.

I can't find how to do this!

 ;;gpg eregister <my username> MYKEYID

 ;;gpg register <my username> MYKEYID

 ;;bcregister <my username> MYKEYID etc etc

returns: <gribble> Error: Username already registered. Try a different username.

 ;;gpg auth <my username>

returns: <gribble> Error: You have not registered a GPG key. Try using bcauth instead, or register a GPG key first.

;;gpg bcauth <my username>

returns: <gribble> Request successful for user <my username>, hostmask <my username>. Your challenge string is: freenode:#bitcoin-otc:cb8fc47fe135ef14878d84f92cc3d6##########

I decrypt the message, successfully, I think, and paste it, then try to verify:

 gpg verify http://pastebin.com/j82P###

returns: <gribble> Error: No outstanding GPG signature-based request found.

I've been trying every command I can find for days now. Does anyone know how to register a GPG key, after already registering a username with a bitcoin address??

Thank you very much for any help or suggestions.


Title: Re: Help urgently needed with registering GPG key on bitcoin-otc
Post by: HighSpeedLowDrag on June 20, 2012, 03:49:30 AM
I am not an expert at this but you might try logging in with your Bitcoin address and then either adding your gpg key or changing it if for some reason it thinks you already have one.

Since you are already registered with your bitcoin address, we will log in with that.

After you enter.

;;bcauth <USERNAME>

and it responds with

<gribble> Request successful for user strello, hostmask <my username>. Your challenge string is: freenode:#bitcoin-otc:cb8fc47fe135ef14878d84f92cc3d6##########

Paste the freenode:#bitcoin-otc:cb8fc47fe135ef14878d84f92cc3d6########## information into the bitcoin client and sign it.

Then take the returned signature and enter it like this. For this authentication you do not need pastebin.

;;bcverify <Signature>

You should receive the following message

<gribble> You are now authenticated for user <USERNAME> with address <Irrelevant information>

Hopefully you can now add or change your gpg key.

You probably have already seen these but these links are extremely helpful.

http://wiki.bitcoin-otc.com/wiki/Bitcoin_address_authentication
http://wiki.bitcoin-otc.com/wiki/GPG_authentication

Let me know if I failed completely at being understandable.

Hope this helps.


Title: Re: Help urgently needed with registering GPG key on bitcoin-otc
Post by: John (John K.) on June 20, 2012, 04:29:14 AM
Try asking around #bitcoin-otc too - there's a lot of helpful guys in there. I had a problem registering my bitcoin address after registering my GPG key too last time, and they set me on the track easily.


Title: Re: Help urgently needed with registering GPG key on bitcoin-otc
Post by: DILLIGAF on June 20, 2012, 05:05:08 AM
While your at it you may want to register your nick so no one can log onto the server to impersonate you.

http://freenode.net/faq.shtml#nicksetup

Also once I go to sign into the gpg verification in the #bitcoin-otc-foyer I use ;;gpg eauth NICK then copy the resulting http:// string to use with a script that contains this.

Code:
cat /usr/local/bin/eauth.sh
wget -q -O - $1 | gpg -d | pbcopy

So the result on the command line would be.

Code:
eauth.sh http://bitcoin-otc.com/otps/0GRRRYKGFEYHDS


Which asks me for my passphrase once given it decrypts the message and copies it to the clipboard on my mac then I use the ;;everify contents of the decrypted message now the system tells me.

Code:
gribble
You are now authenticated for user NICK with key 0GRRRYKGFEYHDS


The link I originally used when setting up the gpg.

http://wiki.bitcoin-otc.com/wiki/GPG_authentication#GPG_registration


Title: Re: Help urgently needed with registering GPG key on bitcoin-otc
Post by: Stephen Gornick on June 20, 2012, 06:22:23 AM
;;gpg eregister <my username> MYKEYID

 ;;gpg register <my username> MYKEYID

 ;;bcregister <my username> MYKEYID etc etc

Those are three variations to do the same thing.  Pick one and use that.  eregister is the recommended.  Here's a sample session:

 - http://wiki.bitcoin-otc.com/wiki/GPG_authentication#Registration






Title: Re: Help urgently needed with registering GPG key on bitcoin-otc
Post by: 3st3ban on June 20, 2012, 11:20:50 PM
Hi there

thank you all for your fine input, I really appreciate your help.

First, thanks HighSpeedLowDrag, now I know how to login properly. Some progress!

But once I'm logged in and authenticated, I still can't find any way to add a GPG key.

;;gpg eregister <my username> MYKEYID gives:

<gribble> Error: Username already registered. Try a different username.


And DILLIGAF I've followed your advice about registering my nick. But when I try eauth, I get:

 ;;gpg eauth <my username>
<gribble> Error: You have not registered a GPG key. Try using bcauth instead, or register a GPG key first.


Then I tried:

;;gpg changekey 0B7CC925CF9#####
<gribble> Request successful for user <my username>, hostmask <my username>!~quassel@152-50-###-###.######.net. Your challenge string is: freenode:#bitcoin-otc:f5758fb27429e3c2196d30a0bda5b0de2209d72fe631848471######

I do the clearsigning, then pastebin:

;;gpg verify http://pastebin.com/RQUbnS##
<gribble> Error: Failed to retrieve clearsigned data. Check your url.

I've again tried just about every command in the guides, but still can't figure out how to add my GPG key. I don't seem to be able to find a clear instruction for how to register my GPG key after I've registered an address.

Any suggestions??







Title: Re: Help urgently needed with registering GPG key on bitcoin-otc
Post by: Stephen Gornick on June 20, 2012, 11:41:32 PM
I do the clearsigning, then pastebin:

;;gpg verify http://pastebin.com/RQUbnS##
<gribble> Error: Failed to retrieve clearsigned data. Check your url.

I've again tried just about every command in the guides, but still can't figure out how to add my GPG key. I don't seem to be able to find a clear instruction for how to register my GPG key after I've registered an address.

Any suggestions??

Perhaps the raw paste is needed?  Otherwise it ends up being an HTML page.

 - http://pastebin.com/raw.php?i=RQUbnS##


Title: Re: Help urgently needed with registering GPG key on bitcoin-otc- SOLVED
Post by: 3st3ban on June 20, 2012, 11:55:33 PM
Thanks for the help everyone.

I was only pasting the signature, not the full raw text.

Happy now!