Silk Road forums

Discussion => Security => Topic started by: celestika on June 24, 2012, 05:38 pm

Title: PGP refuses to work on mac
Post by: celestika on June 24, 2012, 05:38 pm
I'm running OSX10.7.2, installed GPG tools and the GPG services absolutely refuse to show up. I've uninstalled, reinstalled, and restarted my computer several times, but none of the GPG features appear like they're supposed to. After much googling it seems like this is a bug that other people have issues with. I then tried to use the guide to use Tormail over Thunderbird, but Thunderbird repeatedly says my username/password is wrong, and also the autoconfig never seems to pick up the Tormail server info.

I'm usually pretty computer savvy and can figure this shit out, but it's just not working. Is there anything else I can try? Is it that bad  to just send a seller the shipping address unencrypted? I'd keep trying, but it's really important that I make my order now (it's time-sensitive) so I need to get this figured out ASAP.
Title: Re: PGP refuses to work on mac
Post by: anonaddict on June 24, 2012, 05:59 pm
Use this for PGP

http://www.gpgtools.org/

And Thunderbird should work. I have set it up many times with tormail and never had a problem
Title: Re: PGP refuses to work on mac
Post by: BudZilla on June 24, 2012, 06:06 pm
http://support.gpgtools.org/kb/how-to/first-steps-where-do-i-start-where-do-i-begin (http://support.gpgtools.org/kb/how-to/first-steps-where-do-i-start-where-do-i-begin)

It should all really be pretty easy, install gpgtools and then make sure you restart your mail client.
you will have an app called gpg keychain access (use spotlight to find it)
it will also integrate itself with osx mail.app. (if you have trouble with osx mail.app use mozilla's thunderbird mail client, its a very good mail client)
remember to always use strong passphrases and once installed please use it, even to encrypyt your address details after a purchase.
Using gpg/pgp is essential for your safety and mine.
Title: Re: PGP refuses to work on mac
Post by: celestika on June 24, 2012, 06:36 pm
Yes, I know. I installed GPG Tools, but the issue is that it didn't seem to install properly. I tried to encrypt using TextEdit, and under the "Services" menu, there is no OpenGPG option, nor is there an encrypt option when I right-click, like there should be. It shows up in System Preferences, but it won't appear in the menu.

I've gone through all the tutorials, but it literally just won't work. lol.
Title: Re: PGP refuses to work on mac
Post by: TheBigDirty on June 24, 2012, 07:20 pm
Yes, I know. I installed GPG Tools, but the issue is that it didn't seem to install properly. I tried to encrypt using TextEdit, and under the "Services" menu, there is no OpenGPG option, nor is there an encrypt option when I right-click, like there should be. It shows up in System Preferences, but it won't appear in the menu.

I've gone through all the tutorials, but it literally just won't work. lol.

Try to roll back to a previous version, also try the "nightly build" as a last resort.  Also update ur dam OS to 10.7.4.  I run gpg tools on snow leopard.  verifying sigs wouldn't work.  Downgraded to a November released build and now it works great.  GPG project has had a lot of problems adding compatibility for Lion, and their 'fixes' have broken it for snow leopard.  The continue to claim 10.6 compatibility whilst on the message boards claiming that are focusing mostly on Lion.  The most recent few versions work on neither it think.  The project is  alittle fucked.

Again, try a previous version or two, if not, go to the nightly build.  Update your Lion too.
Title: Re: PGP refuses to work on mac
Post by: celestika on June 24, 2012, 07:26 pm
Thanks for the help guys. I tried the nightly build as well, didn't seem to help. Alas, I just got ahold of a PC and went through the GPG setup there and got my public key. yay, but I wish I could get it to work on my Mac :(
Title: Re: PGP refuses to work on mac
Post by: TheBigDirty on June 24, 2012, 09:16 pm
Also forgot to mention.  In textedit you needd to convert you text to plain text.  Format-->Make Plain Text, or cmd-shift-T...

Give the GPG team some time   My guess is that they are overwhelmed by all the changes made in Lion that affect them.  Part of the reason i still run snow leopard.  But even the newer GPG version broke under Snow Leopard.   Hopefully in a few months GPG Tools will be solid again.
Title: Re: PGP refuses to work on mac
Post by: sabteria14 on June 25, 2012, 02:42 am
log out and in
Title: Re: PGP refuses to work on mac
Post by: Dazzy on June 25, 2012, 01:18 pm
having same problems.  GPG will not install properly.  after installation all there is is the same installer and no actual app!
Title: Re: PGP refuses to work on mac
Post by: Dazzy on June 25, 2012, 01:30 pm
dondada - i see you have a pgp key though, so how did you get this?
Title: Re: PGP refuses to work on mac
Post by: LouisCyphre on June 25, 2012, 01:45 pm
I'm usually pretty computer savvy and can figure this shit out, but it's just not working. Is there anything else I can try? Is it that bad  to just send a seller the shipping address unencrypted? I'd keep trying, but it's really important that I make my order now (it's time-sensitive) so I need to get this figured out ASAP.

Yes, sending personal data unencrypted is dangerous.  Don't do it unless you really want to be reamed.

By "pretty computer savvy" do you mean you are comfortable using the command line?  If so then you can always compile GPG 1.4.12 from source.  There are instructions for doing this on the GPG website (gnupg.org) and in the source tarball.

The short version is this:

1) open a terminal (in Utilities).

2) Run the following commands:
  cd /tmp
  wget ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.12.tar.bz2
  cd /usr/local/src
  sudo cp /tmp/gnupg-1.4.12.tar.bz2 .
  sudo tar -xjvf gnupg-1.4.12.tar.bz2
  cd gnupg-1.4.12/
  sudo ./configure --enable-camellia
  sudo make
  sudo make install

The GPG executable will now be available at /usr/local/bin/gpg

To create a new key do this:

1) Run this command: gpg --gen-key

2) Follow the interactive prompts.  The default options should be fine (don't chage them unless you really know what you're doing and why).

3) Export your public key: gpg --export -a [key ID] > ~/Documents/publickey.asc

Note: I can't remember if OS X includes wget by default or if I installed it seperately.  Also, there will probably be an earlier version of the 1.4.x branch in /usr/bin already.  When sudo is invoked it will prompt for a password, this is your OS X user password.

Title: Re: PGP refuses to work on mac
Post by: nelly on June 25, 2012, 03:08 pm
LouisCyphre, thank you for the command line install for OS X.

When I ran into trouble with GPG on OSX, I decided to go simple and use a Linux liveCD booted on a Windows box, which worked fine from command line.

On a separate tangent, how does one reset Lion to allow booting from liveCD or USB?

thanks!
Title: Re: PGP refuses to work on mac
Post by: LouisCyphre on June 25, 2012, 04:36 pm
Great stuff! +1 for this.

Guru

No problem.  I also just remembered, from a similar discussion in another thread, that you'll probably need to install Apple's Xcode developer toolkit to get GCC and all the libraries necessary to do this.  I keep forgetting that step because I installed the SDK ages ago and, of course, Linux distros ship with it by default.
Title: Re: PGP refuses to work on mac
Post by: Dazzy on June 25, 2012, 06:40 pm
right, i still havent got this to work, but other than that I tried adding some extra security to my computer today at the same time, and since then i havent recieved any messages, which seems wierd, considering some of them were quite urgent messages from customers wanting next day delivery.  I have since confirmed some orders in transit and have still not recieved any messages.  I was wondering, what possible security addition to my mac could I have made to stop incoming messages from arriving in my inbox.  Is this even possible?  Would anyone kindly even send me a blank PM to see if it is working or my mailbox is blocked for some reason? Thanks. When i say i cant recieve PM's it not on the forums im talking about, but the actual SR itself! so plz someone PM me so i can know my inbox isnt fucked!  username is the same on SR!
Title: Re: PGP refuses to work on mac
Post by: Dazzy on June 26, 2012, 11:23 pm
your a legend, finaly got a PGP key on my profile.  Now i just need to know how to let people mail to the client using it.  I linked it to a thunrbird address, but whenever i load thunderbird now it says it cant access my account. do i need to log out of TOR for it to work when using the encrypted mail??
Title: Re: PGP refuses to work on mac
Post by: yellow on June 30, 2012, 07:31 am
Stupid question, but do you need to set-up the email if you just want to encrypt your address?
Title: Re: PGP refuses to work on mac
Post by: TheBigDirty on June 30, 2012, 07:33 pm
Also if GPG starts giving you trouble, try opening your activity monitor and look for a process named "GPG Services."   Highlight it and then click "Quit Process" the red octagon icon in the upper left of the window.  The process is supposed to close out after a period of time after you use GPG tools.  Sometimes it gets hung up on something you are trying to do (encrypt/decrypt message, validate sig, etc). 

Quitting it out and trying again sometimes works.
Title: Re: PGP refuses to work on mac
Post by: yellow on July 31, 2012, 02:05 pm
Still struggling with this, got my key set-up and successfully encrypted /decrypted to myself via these instructions http://www.robertsosinski.com/2008/02/18/working-with-pgp-and-mac-os-x/

The issue is if i try and read any of the test messages in that big PGP post I keep getting the "no secret key" error. I don't want email, I'm just using text edit on OSX and keyboard commands (terminal commands don't work either).

I generally get most things, but PGP is confusing/frustrating the hell out of me!
Title: Re: PGP refuses to work on mac
Post by: LouisCyphre on July 31, 2012, 02:30 pm
Still struggling with this, got my key set-up and successfully encrypted /decrypted to myself via these instructions http://www.robertsosinski.com/2008/02/18/working-with-pgp-and-mac-os-x/

The issue is if i try and read any of the test messages in that big PGP post I keep getting the "no secret key" error. I don't want email, I'm just using text edit on OSX and keyboard commands (terminal commands don't work either).

I generally get most things, but PGP is confusing/frustrating the hell out of me!

I assume when you say "that big PGP post" you mean the PGP Club thread.  The messages posted for various people in that thread are encrypted to their public keys.  You aren't supposed to be able to decrypt them and the "no secret key" message is expected behaviour.

I suggest you go to the PGP Club thread and post your public key.  One or more people will then post a test message which you will be able to decrypt and respond to.
Title: Re: PGP refuses to work on mac
Post by: PobodysNerfect on July 31, 2012, 07:39 pm
I'm having similar difficulties. I've created my key and assigned it to a random/fake email address. When I try to import someones public code (either by the terminal, drag and drop or in the Services>import from selection) nothing seems to work and I get a popup "Import failed--> Code 0" Ive searched for troubleshooting but I cant seem to find an answer to this problem on the web. I feel like I am doing something fundamentally wrong here and Im not sure where to go next. Im running OS X 10.7.4 if that matters and Ive uninstalled/installed GPG keychain access twice now to no success to my problems. Any advice?

I'm not a very experienced Mac user so maybe thats part of the problem, I sure do miss Windows 7...sometimes
Title: Re: PGP refuses to work on mac
Post by: jude30 on August 02, 2012, 05:49 pm
Hey guys,  I'm sorry if this sounds like a silly question, but I'm fairly new to all this. Ok, so I have an understanding at what the purpose of GPG is used for, although Im not quite sure as to how to apply it. I've downloaded the latest GPG tools. I've set up a Tormail account a few days back so as to use that.

So after installing it, I tried to generate "a new key pair", so I put in my name (fake name) and used the tormail e-mail account. I'm asked after that to use a passphrase, which I put (twice). It says that its sending key, only after that I get a message saying: "Alert - Send keys failed! Code = 0"

I'm not very tech savvy and I'm on a Mac 10.6.8

If anyone would be kind enough to show me where I'm going wrong I'd really appreciate it. I've been wanting to start using SR for a little while now and this GPG business is hindering me back, as it seems like its something that everyone (including vendors obviously) here is using it.

Thanks in advance!

Jude
Title: Re: PGP refuses to work on mac
Post by: jude30 on August 02, 2012, 07:18 pm
Thank you so much guru for the prompt reply, and thanks for the reassurance, I indeed was afraid lol but I've followed all your instructions as posted!

I'm going to be a bit more bothersome and ask if there's any good guide/instructions/video of how to apply PGP, specifically on SR when trying to communicate with a vendor or someone else? I was able to find what my public key is, but where do I go from here? :)