GPG Services not working even after nightly install

Bob D's Avatar

Bob D

11 May, 2012 02:37 PM

Hi, I've scoured the forum and spent hours on this but nothing seems to fix the problem. I am running OSX 10.5.8 on intel Macbook. I have installed the latest GPG Tools Trunk and GPG Services Trunk from the nightly page. When I try to use any of the services (namely - import key from file, import key from selection - from .txt files) I get this message:

"The “OpenPGP: Import Key from File” service could not be used because the “GPGServices” application did not respond to a request for services. Try reopening “GPGServices,” or contact the vendor for an updated version."

Other notes:
-I have been been able to create my own new key from within the GPG Keychain Access application -I cannot import .txt files to the GPG Keychain Access application, they just appear greyed out when I try. -No services appeared after the iniital install, I had to install the nightly services trunk to even get them to appear.

Do you have any ideas for a workaround for this?

Thanks very much,
Bob

  1. 1 Posted by cfraire on 12 May, 2012 03:21 PM

    cfraire's Avatar

    Bob,

    GPGServices runs on 10.6 and higher. Unfortunately, there is no workaround.

  2. 2 Posted by Bob D on 13 May, 2012 09:29 PM

    Bob D's Avatar

    Is there a way for me to encrypt/decrypt .txt files using the 10.4 version? Do you have any other suggestions?

  3. 3 Posted by Bob D on 13 May, 2012 09:30 PM

    Bob D's Avatar

    I meant 10.5

  4. 4 Posted by cfraire on 14 May, 2012 03:03 AM

    cfraire's Avatar

    Aside from running gpg from the command-line, neither the released nor the trunk version can work for you.

    My guess is that the released version and the trunk version do not run on 10.5 because of a lack of support for Grand Central Dispatch and for ObjC Blocks. Out of curiosity I back-ported Libmacgpg to the 10.5 SDK to exclude direct GCD-usage and blocks. My private 10.6 SDK GPGServices with 10.5 SDK Libmacgpg runs successfully on my Lion MacBook Pro, but as I don't have anything running 10.5, I can't be certain it will actually work on Leopard.

    Would you be interested in testing it out as an experiment?

  5. Support Staff 5 Posted by Steve on 17 May, 2012 03:41 PM

    Steve's Avatar

    Hey Bob, an update to 10.6 is impossible for you? Wow and cfraire is offering a special brewing to you. That's very kind.

    steve

  6. 6 Posted by Bob D on 18 May, 2012 12:51 PM

    Bob D's Avatar

    Cfraire, sure I'd be happy to test it out. How do I go about that?

    Steve, yes at the moment that's impossible.

    Thanks.

  7. 7 Posted by cfraire on 18 May, 2012 01:33 PM

    cfraire's Avatar

    Great! Please download the following two things:

    https://github.com/downloads/idodeclare/GPGServices/GPGServices.ser...
    https://github.com/downloads/idodeclare/GPGServices/ServicesRestart

    Installation steps:

    1) determine where your current GPGServices is installed. Look in /Library/Services and ~/Library/Services

    2) Move aside to your Desktop the GPGServices.service package you find at the location determined in step 1.

    3) Unzip and move the test GPGServices.service you downloaded to the location in step 1.

    4) Run the ServicesRestart program you downloaded by double-clicking its icon. Terminal.app should open to run it. A message reading "The services menu has been rebuilt" should appear—though the window might go away automatically, which is ok.

    5) Test out the services: Import Key from File, Decrypt File and Encrypt File—and let us know how it goes.

  8. Support Staff 8 Posted by Steve on 20 May, 2012 09:35 AM

    Steve's Avatar

    Hey Bob,

    did you get around to try what cfraire suggested? I'm eager to hear the results of those tests.

  9. 9 Posted by justame on 24 May, 2012 11:10 PM

    justame's Avatar

    I have this exact same problem. I'm unable to use GPG Services on 10.5, and can't any other simple ways to encrypt file, period, on 10.5 Is this really true? Fire GPG won't work for me either, and I can't find nay other programs to do this easily. I can decrypt a received message easily by pasting it into a message in Thunderbird and selecting OpenPGP->Undo Encryption, but not the other way around?

    I'd be curios to try the directiions above to get GPGServices running on 10.5, but I am new to this forum and would like to get some community feedback about that poster/member before I go installing mystery programs from random links.

    So anyone?

    I did figure out a workaround though, but it's a hassle and I'd rather be using GPGServices on 10.5....but...

    Go to https://www.privacybox.com

    or their Tor-hidden service: http://c4wcxidkfhvmzhw6.onion

    They are also i2P and mobile accessible and run the the German Privacy Foundation e.V.

    You can read up about them on their site.

    But it's as a service that allows "anyone" to send you an SSL, Tor or i2P protected encrypted message using a public GPG key you have personally generated, and have it stored on their POP3 server or have it forwarded (perhaps mixmastered?) to where ever, and however you like. With no STMP it's a safe"one way street".

    Then check your email (Tormail?) and you have a message full of GPGisberish encrypted using any public key you like, which is a real pain and hassle pain if you have many friends with many keys, but it works. So whatever.

    I'd still be ("possibly") interested in trying those directions above if my laptop wont explode. ;)

    Is it a trustworthy member? I'm just new here, that's all. Perhaps a recomendation from a Mod or Admin would be great?

    Thanks :)

  10. 10 Posted by cfraire on 27 May, 2012 01:42 PM

    cfraire's Avatar

    Justame, they are a mostly German-speaking team, so please be concise.

    Steve, justame's question is: "Is cfraire a trustworthy member?"

  11. Support Staff 11 Posted by Steve on 27 May, 2012 01:58 PM

    Steve's Avatar

    Hi all,

    cfraire, thanks for pointing this out. I was just a bit busy the last couple of days.

    @justame: craire is trustworthy. He has provided several very useful patches and I have known him for quite some time now.

    The core team would be thankful to hear any 10.5 users elaborate on how the patches work. Then we could merge it into the main tree of GPGServices and maybe deliver GPGServices to 10.5 users as well. The core team is at 10.7 so testing out bug fixes for 10.5 is a bit flakey.

    So @Bob D & justame: please go ahead and try the fix. Let us know how it goes and if further improvements are required.

    Enjoy your weekend :)

    steve

  12. 12 Posted by Felix on 29 May, 2012 10:39 AM

    Felix's Avatar

    Hi all,

    I#ve tried to get the service working on 10.5.8 using the solution above but unfortunately the ServiceRestart script ends with the error failure

    dyld: unknown required load command 0x80000022
    Trace/BPT trap

    So it does not appear to be working or it's just me :)

    Just give me a hint what information you need and I will send it.

    Regards,
    Felix

  13. 13 Posted by cfraire on 30 May, 2012 02:37 AM

    cfraire's Avatar

    Felix, it seems that ServicesRestart is Snow Leopard and higher only.

    Logging out/logging in should have the same result (inconvenient though it might be).

  14. Support Staff 14 Posted by Steve on 04 Jun, 2012 02:52 PM

    Steve's Avatar

    Felix, does logging in / out help in regards to your problem? What's the current state of affairs? ;)

    steve

  15. Support Staff 15 Posted by Steve on 10 Jul, 2012 10:42 AM

    Steve's Avatar

    No further user feedback. Closing.

    @Bob and Felix: Should your problem persist, feel free to re-open this discussion any time.

    All the best,
    steve


    Please consider a donation. We do all this in our spare time.

  16. Steve closed this discussion on 10 Jul, 2012 10:42 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac