Unable to encrypt with imported/downloaded keys

dayhnyel's Avatar

dayhnyel

04 Dec, 2011 10:02 PM

Greetings.

I'm having trouble encrypting (using macmail) with keys that I either download/import manually into the keychain or search/download/import from a key server. In both cases, the imported key does not show up in the 'encrypt' drop-down or as one of the options after picking 'choose', even after selecting 'refresh keys'.

(ENV: Mac v10.6.8, Mail v4.5, GPG Mail v1.3.3, GPG keychain v1.0b5)

Steps:
1) create a new mail message in mac mail and enter recipient address
2) enable encryption via checkbox (notice the yellow exclamation)
3) select download, and then import when the desired keys appears
4) close the key server search window
5) no key is selected and yellow exclamation mark is still present
6) select 'choose' from drop-down menu, newly imported address does not appear
7) select 'refresh keys' from the menu
8) select 'choose' from drop-down menu, newly imported address still does not appear

thanks for any feedback...

  1. Support Staff 1 Posted by Luke Le on 05 Dec, 2011 09:03 AM

    Luke Le's Avatar

    Hi,

    could you check if the keys correctly show up in GPG Keychain Access?

  2. 2 Posted by dayhnyel on 05 Dec, 2011 03:21 PM

    dayhnyel's Avatar

    Manually imported keys do show up in the GPG Keychain Access, but not in the mail interface. Keys downloaded/imported from the key-server don't show up in either view.

  3. Support Staff 3 Posted by Steve on 06 Dec, 2011 12:31 AM

    Steve's Avatar

    Ok, I'm not sure where the issue is. Could you please test this:

    • close mail.app
    • open GPG Keychain Access
    • cmd + F search for [email blocked]
    • import the RSA key
    • open mail.app
    • send me a test mail and see if that works

    Cheers and all the best,
    steve

  4. 4 Posted by dayhnyel on 06 Dec, 2011 03:35 AM

    dayhnyel's Avatar

    Hi Steve,
    Thanks for the reply. I can't seem to successfully search any keys (including my own) using GPG Keychain Access. I get a small popup window that says: 'No keys Found'. In my /var/log/system.log I see many of the error below (not sure if its related).
    cheers,
    -Daniel

    12/5/11 10:32:42 PM GPG Keychain Access[5784] *** __NSAutoreleaseNoPool(): Object 0x11682d200 of class NSCFArray autoreleased with no pool in place - just leaking
    12/5/11 10:32:42 PM GPG Keychain Access[5784] *** __NSAutoreleaseNoPool(): Object 0x11682d230 of class NSCFArray autoreleased with no pool in place - just leaking
    12/5/11 10:32:42 PM GPG Keychain Access[5784] *** __NSAutoreleaseNoPool(): Object 0x113aea150 of class NSCFArray autoreleased with no pool in place - just leaking
    12/5/11 10:32:42 PM GPG Keychain Access[5784] *** __NSAutoreleaseNoPool(): Object 0x113aedb80 of class NSCFArray autoreleased with no pool in place - just leaking
    12/5/11 10:32:42 PM GPG Keychain Access[5784] *** __NSAutoreleaseNoPool(): Object 0x113aedbb0 of class NSCFArray autoreleased with no pool in place - just leaking
    12/5/11 10:32:42 PM GPG Keychain Access[5784] *** __NSAutoreleaseNoPool(): Object 0x113aafed0 of class NSCFArray autoreleased with no pool in place - just leaking
    12/5/11 10:32:42 PM GPG Keychain Access[5784] *** __NSAutoreleaseNoPool(): Object 0x113ab7dc0 of class NSCFArray autoreleased with no pool in place - just leaking

  5. Support Staff 5 Posted by Luke Le on 06 Dec, 2011 08:52 AM

    Luke Le's Avatar

    Hi Daniel,

    this is pretty strange and it sounds a little like you're OS might be at fault rather than GPG Keychain Access. Do you have problems with any other software (not ours)? Could you run permission repair?

  6. Support Staff 6 Posted by Steve on 06 Dec, 2011 09:01 PM

    Steve's Avatar

    Could you please send the GPG Keychain Access log (open Console.app and then process with what you were doing in GKA).

    Also, could you open Terminal.app and post the output of
    gpg2 --search-key [email blocked]

    Cheers,
    steve

  7. 7 Posted by dayhnyel on 07 Dec, 2011 05:07 PM

    dayhnyel's Avatar

    terminal:

    $ gpg2 --search-key [email blocked]
    gpg: searching for "[email blocked]" from hkp server keys.gnupg.net
    gpg: key "[email blocked]" not found on keyserver

  8. 8 Posted by dayhnyel on 07 Dec, 2011 05:38 PM

    dayhnyel's Avatar

    thanks for your help!

    12/7/11 12:06:54 PM mdworker32[7014] kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    12/7/11 12:07:15 PM GPG Keychain Access[6912] updateKeys:withSigs: start
    12/7/11 12:07:15 PM GPG Keychain Access[6912] updateKeys:withSigs: end
    12/7/11 12:11:57 PM mdworker32[7040] kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    12/7/11 12:12:15 PM GPG Keychain Access[6912] updateKeys:withSigs: start
    12/7/11 12:12:15 PM GPG Keychain Access[6912] updateKeys:withSigs: end
    12/7/11 12:17:15 PM GPG Keychain Access[6912] updateKeys:withSigs: start
    12/7/11 12:17:15 PM GPG Keychain Access[6912] updateKeys:withSigs: end
    12/7/11 12:22:15 PM GPG Keychain Access[6912] updateKeys:withSigs: start
    12/7/11 12:22:15 PM GPG Keychain Access[6912] updateKeys:withSigs: end
    12/7/11 12:22:52 PM com.apple.backupd-auto[7075] Not starting scheduled Time Machine backup - time machine destination not resolvable.
    12/7/11 12:27:15 PM GPG Keychain Access[6912] updateKeys:withSigs: start
    12/7/11 12:27:15 PM GPG Keychain Access[6912] updateKeys:withSigs: end
    12/7/11 12:27:58 PM mdworker32[7095] kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    12/7/11 12:32:07 PM mdworker32[7102] kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    12/7/11 12:32:15 PM GPG Keychain Access[6912] updateKeys:withSigs: start
    12/7/11 12:32:15 PM GPG Keychain Access[6912] updateKeys:withSigs: end

  9. Support Staff 9 Posted by Steve on 08 Dec, 2011 03:42 PM

    Steve's Avatar

    Hey dayhnyl,

    I'm sorry but both my posts were not helpful. I didn't know this support site would obscure the mail address I wrote. So here are the instructions (a second time). This time you have to make an actual mail address from the addresses I post:

    Could you please test this:

    • close mail.app
    • open GPG Keychain Access
    • cmd + F search for steve AT gpgtools.org
    • import the RSA key
    • open mail.app
    • send me a test mail and see if that works

    next, could you open Terminal.app and post the output of
    * gpg2 --search-key gpgtools-org AT lists.gpgtools.org

    Sorry, we have to go through this again. At least now I know how to post mail addresses in the future.

  10. 10 Posted by Alex on 16 Dec, 2011 12:55 PM

    Alex's Avatar

    Have you tried to run the above mentioned command via Terminal.app?

  11. Support Staff 11 Posted by Steve on 02 Jan, 2012 11:50 AM

    Steve's Avatar

    No further feedback. Closing for now.

  12. Steve closed this discussion on 02 Jan, 2012 11:50 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