basic access to GPGTools features

Michael's Avatar

Michael

04 Mar, 2012 02:37 AM

I can right click in 'finder' on a .gpg .sig file and get the option to open it with the GPGServices.service.
However, if I want to encrypt a file like foo.txt, I can right click on it, but nothing related to GPG comes up as an option. I can choose 'other', but this just opens my finder window with the Applications directory and GPGTools/GPGService nor anything related is shown there.

I think I'm missing knowing how to access the basic gui interface to GPGTools/services.
I have looked at the preferences for it in the System preferences dialogue but these don't seem to help.

  1. 1 Posted by Michael on 04 Mar, 2012 02:58 AM

    Michael's Avatar

    Well, I looked at the getting started tutorial again and see that what shows there in the system preferences is quite different from what I have. I have options to fix the gpg installation which I had tried and got feedback that seemed to show 4 things had been changed successfully. However, this hasn't solved the problem. It appears my problem is more complex involving a failed installation. I did not make a new key because I already had a pair as shown by GPG KeyChain app, which appears to verify the GPGTools dng sig. I will make a new key just to be tag this base.

  2. Support Staff 2 Posted by Steve on 04 Mar, 2012 01:01 PM

    Steve's Avatar

    Hey Michael, what you are looking at and referring to is the GPGPreferences (located in the System Preferences as a preference pane). What you want is the GPGServices.

    In our "First Steps"-Tutorial (http://support.gpgtools.org/kb/how-to/first-steps-where-do-i-start-...) there's also a screencast in which you can see, how to activate the GPGServices. The screencast is very fast, so make sure you watch the GPGServices part maybe twice - sorry for the speed rush in that screencast.

    As for broken installations: you can run the Installer from our nightlies page. Once mounted you'll also see an uninstaller: run that. Then re-install from the nightly. http://nightly.gpgtools.org/

    Let us know if that solves your problems.

  3. 3 Posted by docw on 04 Mar, 2012 09:40 PM

    docw's Avatar

    Steve, thanks for your response. I had failed to continue the tutorial
    once I got to the section about email (I use thunderbird). Duh. It
    showed me how to use services and my problems are resolved using the
    stable distribution. (Who would ever have thought to look for services
    under 'keyboard')

    You may be interested to know that the ightly bundle install didn't work
    for me on OS X Lion 10.7.3) Here are the details:

    I downloaded the nightly.gpgtools.org GPGTools_Installer-trunk.dmg and
    ran the uninstaller. It reported that it could find "no receipt for
    org.gpgtools at '/'". (I'm pretty sure I had previously run the
    uninstaller and assume this simply means there is no gpgtools bundle to
    uninstall.) I then attempted to run the installer which shows all the
    usual signs of installing, asking for admin verification, through to
    "running package scripts" at which point it reported "Installation
    Failed" with a suggestion to try installing again. I tried again with
    the same result. I am running OS X Lion 10.7.3 and it's software
    updater reports my software is up to date.

    However, as I said, the stable distribution is working fine for me.
    thanks for your help.

  4. 4 Posted by Alex on 05 Mar, 2012 10:25 AM

    Alex's Avatar

    Interesting. Could you please provide us the installation log when the installer fails to install everything? While installing, please click on "Menu: Window > Installer Log" (or press CMD+L), switch to "Show All Logs".

  5. 5 Posted by docw on 05 Mar, 2012 04:16 PM

    docw's Avatar

    Alex, I downloaded the 05-Mar-2012 00:40 gpgtools_installer-trunk.dmg
    which was newer than the one that failed for me yesterday. This
    installed successfully. I was not able to follow your directions to find
    the install log. I was unable to identify the 'menu' in your suggestion
    nor from what context to do a cmd-L tho I tried several. I did open
    the console application which shows a list of all system logs but was
    unable to find any log there relevant to gpgtools.

    Two other points:
    1.) This applies to both the stable and nightly version: When I click on
    the Uninstall choice (trash can icon) in the first installation window I
    get a dialogue about the Uninstall program and a choice to _open_ it.
    When I click on open, nothing happens. Using the lion gesture to view
    all my open windows in that workspace (4 fingers swipe up), I see no new
    window relevant to uninstalling -- just the initial Install/Uninstall
    window -- and it "appears" the "open" has done nothing. However, when
    I double click again on the trash can icon, then I get a window asking
    if I am sure I want to uninstall and after I click ok it reports the
    uninstall has been successful. Other users might not serendipitously
    guess to double click on the trash can a second time.

    2.) Yesterday, after my successful install of the stable gpgtools, I was
    able to use it for a while, adding keys, encrypting/decrypting etc. I
    did many things including changing my own default key from an old one to
    a new one and attempting to issue a revoke certificate for the old key
    and discovering thru a couple of trials that I no longer remembered it
    passphrase. I not sure that was relevant because I might then have done
    something else with gpgtools, But, then soon after I found that
    attempts to use gpgtools services to validate signatures and encrypt a
    text edit text resulted (after about a 30sec delay) in a message that
    the operation failed because the server failed to respond. The line
    oriented gpg interface was still working for those functions. My
    successful install of last nights trunk seems to have restored the services

  6. 6 Posted by Alex on 05 Mar, 2012 04:51 PM

    Alex's Avatar

    I was not able to follow your directions to find the install log.

    Does this help? http://www.gpgtools.org/images/InstallerLog.png

    [...]This applies to both the stable and nightly version: [...] [...] after about a 30sec delay[...]

    Unfortunately both are known OS X related restrictions. Thanks for the hints.

  7. 7 Posted by docw on 05 Mar, 2012 09:42 PM

    docw's Avatar

    Yes, that helped a lot. However, all I found was the log related to
    this mornings successful install so it may not help you much to
    determine the cause of the failed install of yesterday's gpgtools
    nightly trunk:

    Mar 5 15:37:23 urCave-no2-2 Installer[34617]: @(#)PROGRAM:Install
    PROJECT:Install-686.3
    Mar 5 15:37:23 urCave-no2-2 Installer[34617]: @(#)PROGRAM:Installer
    PROJECT:Installer-530
    Mar 5 15:37:23 urCave-no2-2 Installer[34617]: Hardware: MacBookPro5,2 @
    2.66 GHz (x 2), 8192 MB RAM
    Mar 5 15:37:23 urCave-no2-2 Installer[34617]: Running OS Build: Mac OS
    X 10.7.3 (11D50b)
    Mar 5 15:37:23 urCave-no2-2 Installer[34617]: Env:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin
    Mar 5 15:37:23 urCave-no2-2 Installer[34617]: Env:
    TMPDIR=/var/folders/1z/clgk61jj6k79kkxx5p9yz7xw0000gn/T/
    Mar 5 15:37:23 urCave-no2-2 Installer[34617]: Env: SHELL=/bin/bash
    Mar 5 15:37:23 urCave-no2-2 Installer[34617]: Env: HOME=/Users/msw
    Mar 5 15:37:23 urCave-no2-2 Installer[34617]: Env: USER=msw
    Mar 5 15:37:23 urCave-no2-2 Installer[34617]: Env: LOGNAME=msw
    Mar 5 15:37:23 urCave-no2-2 Installer[34617]: Env:
    COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/MSW/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET=/tmp/launch-OZm6xN/ServiceProcessSocket
    Mar 5 15:37:23 urCave-no2-2 Installer[34617]: Env:
    DISPLAY=/tmp/launch-5qLFCG/org.x:0
    Mar 5 15:37:23 urCave-no2-2 Installer[34617]: Env:
    SSH_AUTH_SOCK=/tmp/launch-n8qA1n/Listeners
    Mar 5 15:37:23 urCave-no2-2 Installer[34617]: Env:
    Apple_Ubiquity_Message=/tmp/launch-AfxI6H/Apple_Ubiquity_Message
    Mar 5 15:37:23 urCave-no2-2 Installer[34617]: Env:
    Apple_PubSub_Socket_Render=/tmp/launch-NMBeBp/Render
    Mar 5 15:37:23 urCave-no2-2 Installer[34617]: Env: COMMAND_MODE=unix2003
    Mar 5 15:37:23 urCave-no2-2 Installer[34617]: Env:
    __CF_USER_TEXT_ENCODING=0x1F5:0:0
    Mar 5 15:37:23 urCave-no2-2 Installer[34617]: GPGTools Installation Log
    Mar 5 15:37:23 urCave-no2-2 Installer[34617]: Opened from:
    /Volumes/GPGTools/GPGTools.mpkg
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]: CheckPrefs: Host Prefs
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]:
    afp_reconnect_allow: Yes
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]:
    afp_mount_defaultFlags: 0
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]:
    afp_reconnect_interval: 10, afp_reconnect_max_time: 600 secs
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]: afp_debug_level:
    5, afp_debug_syslog: Yes
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]:
    afp_host_prefs_version: 15
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]:
    afp_active_timeout: 0, afp_idle_timeout: 0
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]:
    afp_wan_threshold: 0, afp_wan_quantum: 0
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]:
    afp_no_volChange_caching: 1, afp_no_kQueues: 0, afp_no_caseSensitiveVols: 0
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]: afp_minFileCache:
    5, afp_maxFileCache: 60
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]: afp_minDirCache:
    5, afp_maxDirCache: 60
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]:
    afp_softmount_vols: No, afp_softautomount_vols: No
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]:
    afp_forceKerberosOnly: No, afp_immutable_dirs: Yes
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]:
    afp_allow_submounts: Yes, afp_prefer_IPv4: Yes
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]:
    afp_minQuantumNbr: 0, afp_maxQuantumNbr: 0, afp_minQuantumSize: 0,
    afp_maxQuantumSize: 0
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]:
    afp_minIOToleranceMSecs: 0, afp_maxIOToleranceMSecs: 0,
    afp_minSingleIOToleranceMSecs: 0, afp_maxSingleIOToleranceMSecs: 0
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]:
    afp_allow_system_uams: No, afp_allow_user_uams: No
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]: CheckPrefs: User Prefs
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]:
    afp_login_displayGreeting: Yes
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]:
    afp_keychain_search: Yes, afp_keychain_add: No
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]:
    afp_voldlog_skipIfOnly: No
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]:
    afp_cleartext_allow: No, afp_cleartext_warn: No
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]:
    afp_use_default_name: No, afp_use_short_name: No
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]: afp_default_name:
    (null)
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]: afp_prefs_version: 15
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]: FindValidIPAddress -
    socket 0, IPv4 10.0.1.1:548
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]: FindValidIPAddress -
    socket 1, IPv6 [fe80:0:0:0:daa2:5eff:fe7b:953e]:548
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]: FindValidIPAddress -
    connect worked socket 0
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]: FindValidIPAddress -
    first valid address socket 0, family IPv4
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]: FindValidIPAddress -
    prefered IPv4 address socket 0
    Mar 5 15:38:20 urCave-no2-2 Installer[34617]: GetGSSMechsFromSrvrInfo:
    kSupportsGSSMechTypes not set
    Mar 5 15:38:21 urCave-no2-2 Installer[34617]: FindValidIPAddress -
    socket 0, IPv4 10.0.1.1:548
    Mar 5 15:38:21 urCave-no2-2 Installer[34617]: FindValidIPAddress -
    socket 1, IPv6 [fe80:0:0:0:daa2:5eff:fe7b:953e]:548
    Mar 5 15:38:21 urCave-no2-2 Installer[34617]: FindValidIPAddress -
    connect worked socket 0
    Mar 5 15:38:21 urCave-no2-2 Installer[34617]: FindValidIPAddress -
    first valid address socket 0, family IPv4
    Mar 5 15:38:21 urCave-no2-2 Installer[34617]: FindValidIPAddress -
    prefered IPv4 address socket 0
    Mar 5 15:38:21 urCave-no2-2 Installer[34617]: GetGSSMechsFromSrvrInfo:
    kSupportsGSSMechTypes not set

  8. 8 Posted by docw on 05 Mar, 2012 09:47 PM

    docw's Avatar

    Ok, I can live with the first problem of clicking on the uninstalling
    trashcan icon again after the first 'open'.

    However, won't the second problem of the server ceasing to respond
    (after whatever unspecified events) make gpgtools unusable on my os
    x. How can I avoid activating the 'server not responding problem',
    and is there a the workaround to get it responding again?

  9. 9 Posted by Alex on 05 Mar, 2012 10:45 PM

    Alex's Avatar

    Since OS X service are not allowed to run longer than 30 seconds there is nothing we can do about it (but usually a server should answer within 30 seconds anyway - not sure what the root cause is on your system, maybe an old keyserver?). We're considering to write an app (UI wise similar to getcloudapp.com) to replace the OS X service menu.

    Regarding the uninstaller: it opens after clicking on it after the first time. Have a look in the Dock (here it jumps till I click on it)

  10. 10 Posted by Alex on 06 Mar, 2012 06:18 AM

    Alex's Avatar

    Regarding the uninstaller: I was wrong. Fixed it in the latest uninstaller from nightly.gpgtools.org

  11. Alex closed this discussion on 06 Mar, 2012 06:18 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