#112 ✓invalid
Bob Boehmer

Another problem with services

Reported by Bob Boehmer | December 30th, 2011 @ 04:15 AM | in 1.7 (closed)

Hello -

I seem to be having the same problem described in issue 97. If I try to encrypt via services nothing happens. Unfortunately I am unable to resolve the problem using the information in that ticket

When I encrypt via the command line I get the following:

Roberts-MacBook-Pro:Temp bboehmer$ gpg -s testfile
gpg: error checking usability status of 724AD1E9
gpg: key 724AD1E9: secret key without public key - skipped

You need a passphrase to unlock the secret key for
user: "Robert W. Boehmer bob.boehmer@verizon.net"
1024-bit DSA key, ID 0201AB1D, created 2002-11-19

I tried removing my pubring and secring files and re-importing but I get the same thing.

I then exported my key, deleted the secring and pubring files, and imported the newly exported key. I was then able to encrypt via the services menu BUT I couldn't decrypt. It looks like only the secret key was exported/re-imported.

The key rings that I am trying to import are from the latest free version of PGP for Mac OS X (which doesn't work with Lion).


Comments and changes to this ticket

  • Alex (via GPGTools)

    Alex (via GPGTools) December 30th, 2011 @ 11:04 AM

    • Assigned user set to “Jeff burdges”
    • State changed from “new” to “open”
    • Milestone set to 1.7
    • Importance changed from “Medium” to “”
  • Jeff burdges

    Jeff burdges December 30th, 2011 @ 01:52 PM

    Did you originally import the keys using GPGServices?

    If so, that feature is still broken. Import manually for now. See 104

    If not, the problem is still that your private key has no corresponding public key. GPGServices isn't directly involved when you use gpg from the command line, although the pinentry-mac.app program installed by GPGTools does handle the password prompt.

  • Bob Boehmer

    Bob Boehmer December 30th, 2011 @ 03:35 PM

    I imported my keys using GPG Keychain Access. Should that work?

    First I imported my PGP public ring which contains my public key. My public key showed up in my GPG keychain after I did this. I then imported my PGP secret ring. At this point, my key in GPG Keychain Access shows up as secret, not public (but I believe that I saw in the documentation that this is normal?)

    Worst case I guess I can generate a new key pair, but I'd like to salvage this pair if possible.

  • Bob Boehmer

    Bob Boehmer December 30th, 2011 @ 08:14 PM

    I think that I have resolved this. "gpg --list-secret-keys" and "gpg --list-keys" showed both my private and public keys but there was a private key listed that had been created in 1996 which did not have a corresponding entry in the public ring. I used "gpg --delete-secret-keys" to delete this one key and now encrypt and decrypt via services seem to be working.

    Thanks for your assistance.

  • Jeff burdges

    Jeff burdges December 30th, 2011 @ 08:44 PM

    Alright, I'm happy to know that GPG Keychain Access works correctly.

  • steve

    steve December 30th, 2011 @ 11:23 PM

    • State changed from “open” to “invalid”

    Glad this could be solved. Closing this :)

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket