Mail.app 5.1 with GPGMail won't open if volume with private key isn't mounted

Will Styler's Avatar

Will Styler

05 Dec, 2011 08:17 PM

Hello all,

I keep my GPG secret key on a separate, encrypted disk image, which I mount only when I need the secret keys. With the newest version of GPGMail (GPGMail 2.0a4), whenever I open Mail.app while the secret key disk is not mounted, Mail.app bounces, but then stops, and in the crash log, it seems to fail at:

1 org.gpgtools.gpgmail 0x000000010ae42957 -[GPGMailBundle loadGPGKeys] + 141

With older (pre-Lion) versions of GPGmail, although I couldn't encrypt or sign anything with that disk image unmounted, Mail would still open as normal. This is obviously preferred, as 99% of my mail is unencrypted and unsigned, and there's no sense having that disk mounted when it's not needed.

Is there anything I can change in the settings to change this behavior, or is this a bug which needs fixed?

Thanks,

Will

  1. Support Staff 1 Posted by Luke Le on 05 Dec, 2011 08:24 PM

    Luke Le's Avatar

    Hi will,

    that is a known Bug of the released Alpha Version.
    Next Release will fix that.

    I'll send you the link to a Version with the fix a
    little later

  2. Support Staff 2 Posted by Luke Le on 05 Dec, 2011 08:27 PM

    Luke Le's Avatar

    Now is later: http://cl.ly/1g0Z2e14142Z3k3q0C3V :)
    It's the dev version, but it should be pretty stable

  3. Support Staff 3 Posted by Luke Le on 05 Dec, 2011 08:28 PM

    Luke Le's Avatar

    The upcoming Version will also reload your keys once
    a diskimage is mounted and update the available keys appropriately

  4. 4 Posted by Will Styler on 05 Dec, 2011 08:31 PM

    Will Styler's Avatar

    Great! The a11 build doesn't have the bug (although it displays an error dialog (below) when starting mail if the image is unmounted). You all just keep improving this software, I appreciate it!

    Will

  5. Support Staff 5 Posted by Luke Le on 05 Dec, 2011 08:56 PM

    Luke Le's Avatar

    This should only show if your disk image holds the entire
    gpg installation

  6. 6 Posted by Will Styler on 05 Dec, 2011 09:01 PM

    Will Styler's Avatar

    Hmm, odd. It does not. The only file on the disk image (pertaining to GPG) is secring.gpg.

    Will

  7. Support Staff 7 Posted by Luke Le on 05 Dec, 2011 09:12 PM

    Luke Le's Avatar

    Interesting, i'll have a look into that and get back to you

  8. 8 Posted by Will Styler on 05 Dec, 2011 09:51 PM

    Will Styler's Avatar

    Please let me know if there's any additional information I can give.

    Will

  9. 9 Posted by Will Styler on 10 Dec, 2011 02:26 AM

    Will Styler's Avatar

    Luke,

    One other issue:

    If, with your GPG private key directory dismounted, you open a signed message (or a thread containing one), Mail crashes. Every time. Likely a similar problem, so I just wanted to report it.

    Thanks,

    Will

  10. Support Staff 10 Posted by Luke Le on 10 Dec, 2011 12:59 PM

    Luke Le's Avatar

    Oh, interesting, have seen that before.
    Could you send attach a crash log?

  11. 11 Posted by Will Styler on 12 Dec, 2011 06:02 PM

    Will Styler's Avatar

    Luke,

    Steps to reproduce:

    1) Dismount your Private Key.

    2) Close Mail

    3) Open Mail back up (You'll get that same little warning message)

    4) Open a signed message (if it doesn't work with any signed message, I'll forward the one that's killing me)

    5) Mail slows then crashes, never loading the message.

    Here's a crash log:

    Thanks,

    Will

  12. Support Staff 12 Posted by Luke Le on 12 Dec, 2011 06:07 PM

    Luke Le's Avatar

    Thanks for the detailed bug report.
    I'll investigate and try to reproduce it and will get back to you, once I know more.

  13. 13 Posted by Will Styler on 12 Dec, 2011 06:10 PM

    Will Styler's Avatar

    Also, for what it's worth, this is with the pre-release you sent.

    Will

  14. 14 Posted by Alex on 14 Dec, 2011 03:45 PM

    Alex's Avatar

    Created an issue report for it so we can hint this bug down. Have a look at http://gpgtools.lighthouseapp.com/projects/65764/tickets/392

    Thanks for the report.

  15. Alex closed this discussion on 14 Dec, 2011 03:45 PM.

  16. Will Styler re-opened this discussion on 26 Dec, 2011 03:34 AM

  17. 15 Posted by Will Styler on 26 Dec, 2011 03:34 AM

    Will Styler's Avatar

    Luke,

    This crash is still happening with the newest, Christmas release of GPGTools. The steps to reproduce are identical.

    Happy Holidays!

    Will

  18. 16 Posted by Alex on 26 Dec, 2011 09:53 AM

    Alex's Avatar

    Hi Will,

    thank you for your feedback. Yes, the above mentioned ticket ( http://gpgtools.lighthouseapp.com/projects/65764/tickets/392 ) is still open.

    Best regards, Alex

  19. Alex closed this discussion on 26 Dec, 2011 09:53 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