GPGServices Encrypt/sign failed! Code = 0 (was: GPG mail automatically adds Bcc to self)

Peter Stadler's Avatar

Peter Stadler

10 Feb, 2015 01:47 PM

(I think) I'm having the same problems as described here: http://support.gpgtools.org/discussions/problems/22042-gpg-mail-aut... Funnily enough, I was using GPGTools for years without any problems. The problem first appeared with the upgrade to Yosemite and the subsequent update of GPGTools. I downloaded 1.5b5 just today and did an uninstall, reboot, install of it but I'm still experiencing those annoying bcc to myself with every email I reply to. Any help much appreciated!

Mac OS X: 10.10.2 (14C109)
MacGPG2: 2.0.26b5, 791b
GPG Keychain: 1.2b5, 1010b
GPGServices: 1.10b5, 760b
GPGPreferences: 1.5b5, 761b
GPGMail: 2.5b5, 891b

  1. 1 Posted by Peter Stadler on 11 Feb, 2015 07:54 PM

    Peter Stadler's Avatar

    Update: This happens with all sending of mails, not only replies.
    Some more information on my hardware: I'm using a MacBook Pro (15-inch, Late 2008, 2,53 GHz with 8GB)

    Regrettably I can't give step-by-step instructions to reproduce the issue, I simply can't get rid of it on this machine. I know this all is probably not very helpful but I'd be happy to provide more information to debug the issue.

  2. Support Staff 2 Posted by Steve on 13 Feb, 2015 04:18 PM

    Steve's Avatar

    Hi Peter,

    could you hop on our live chat: https://www.hipchat.com/gi8zHW4K3

    Could you provide jpg or png screenshots of what's happening if you e.g. write a test mail to teamATgpgtoolsDOTorg

    Did I understand correctly that all mail you reply to lands in your email inbox after sending the reply?

    All the best,
    steve

  3. 3 Posted by Peter Stadler on 13 Feb, 2015 04:24 PM

    Peter Stadler's Avatar

    Hi Steve,

    I'm currently at my work machine but will provide screenshots ASAP. Can we schedule a live chat for Monday?

  4. Support Staff 4 Posted by Steve on 13 Feb, 2015 04:28 PM

    Steve's Avatar

    Just hop on the channel. I can't promise we'll be there, but just keep the browser open and see if soneone from the team shows up.

    Screenshots will help. We're not in a rush, just provide the info whenever you find some time, and ...

    ... enjoy your weekend! steve

  5. Support Staff 5 Posted by Steve on 16 Feb, 2015 04:59 PM

    Steve's Avatar

    We talked on live chat and as it happens often if you want to demostrate a problem, this was not reproducible.

    So let's do the following:

    • observe behavior for encrypted + signed mails
    • observe behavior for signed mails
    • observe behavior for unncrypted + unsigned mails

    Ideally find a pattern that triggers this problem.

    If this problem persists, also test if it also happens with GPGMail deactivated:

    • shut down mail.app
    • open finder
    • navigate to /Library/Mail/Bundles or ~/Library/Mail/Bundles and copy GPGMail.mailbundle to your desktop
    • now delete GPGMail.mailbundle from the original folder

    Restart mail and check in Mail.app > Preferences if you still see GPGMail. It should be gone.

    Kindly,
    steve

  6. 6 Posted by Peter Stadler on 21 Feb, 2015 07:48 PM

    Peter Stadler's Avatar

    I was trying to do my homework and test with encrypted mails when I noticed that encryption doesn't work for me. It's greyed out in the "new message" window (yes, I have the recipient's key).
    When trying to "Encrypt Selection to New Window" from an existing email, after selecting the recipient I get an error message: "Encrypt/sign failed! Code = 0".

    I will now uninstall GPGTools and do further testing …

    Best
    Peter

  7. 7 Posted by Peter Stadler on 24 Feb, 2015 08:09 AM

    Peter Stadler's Avatar

    I now spent some time without GPGMail installed and I don't see any BCC sneaking into my sent mails any more.
    There is one more thing I'll have to investigate: I recently put my private key onto two machines and changed the expiration date on one of them, pushing the public key to the servers. I wonder if this might cause troubles (see above) when public and privat keys get out of sync (well, can they? I have no idea …)

    Best
    Peter

  8. Support Staff 8 Posted by Luke Le on 27 Feb, 2015 02:25 PM

    Luke Le's Avatar

    Hi Peter,

    it should not cause any problems, however it's best if you update the key from the keyserver using "Update from keyserver" in GPG Keychain. That way the expiration date is reflected on both computers.
    If you don't do that, you might be confused after a while if your key says it's expired, but you clearly remember having updated the expiration date.

    Hope that helps.

  9. 9 Posted by Peter Stadler on 20 Mar, 2015 07:43 PM

    Peter Stadler's Avatar

    Hi there,

    I think my problem is solved :) (NB: before the latest update to GPG Suite Beta 6)
    It appears, an expired subkey of one of my private keys caused this strange behavior.
    I have two private keys in my keychain with one subkey each. Recently I copied those two keys to my work machine and renewed (on January 20) the expired key2 via the GPG Keychain app and uploaded the new key to the key server. I can't remember how or when I updated key2 on my home machine but the result was that the expiration dates of the main key2s matched on both machines but the subkey2 not.
    Then my trouble started until I explicitly renewed subkey2 on my home machine (on March 11) via the GPG Keychain app.

    Seems like a weird error for a strange setting?!

    Best
    Peter

  10. Support Staff 10 Posted by Steve on 23 Mar, 2015 11:20 AM

    Steve's Avatar

    Hi Peter,

    sounds like things are working. We'll if you are using the same key on more than a single machine, I'd suggest to just export your key from the machine on which you updated it at first and then import on the second machine.

    https://gpgtools.tenderapp.com/kb/gpg-keychain-faq/backup-or-transf...

    I'm still a bit confused as to why the renewed subkey would not get exported with your key. Could you retest that? Meaning, export a working key (including sec key) and importing on the second machine. Also upload that key to the key servers.

    Then please see if any issues using that key on the second machine (after importing it) remain.

    Kindly,
    steve

  11. Support Staff 11 Posted by Steve on 03 Jun, 2015 01:18 PM

    Steve's Avatar

    Closing, since no further user feedback was received. Should your problem persist, feel free to re-open this discussion any time.

    All the best, steve

  12. Steve closed this discussion on 03 Jun, 2015 01:18 PM.

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