"Define default security method" not working in Version 2018.3

rosch's Avatar


04 Jul, 2018 06:52 AM

Since I upgraded to 2018.3 on MacOS 10.13.5, my default settings (S/MIME) are not honored anymore.
I checked the settings (it's correct), but each new mail has PGP enabled:

defaults read org.gpgtools.gpgmail
    CreatePreviewSnippets = 1;
    DefaultSecurityMethod = 2;
    EncryptNewEmailsByDefault = 1;
    MailPreferencesLastSelectedToolbarItem = MailHub;
    MapOfMessagesWereRulesWereApplied =     {
        105180 = 1;
    SUAutomaticallyUpdate = 1;
    SUEnableAutomaticChecks = 1;
    SULastCheckTime = "2016-07-05 05:52:22 +0000";
    SULastProfileSubmissionDate = "2016-06-30 09:42:58 +0000";
    SignNewEmailsByDefault = 1;
    UpdateSource = nightly;
  1. Support Staff 1 Posted by Steve on 04 Jul, 2018 12:46 PM

    Steve's Avatar

    Hi rosch,

    please try the following:

    1. copy the output of the following command:

      defaults read org.gpgtools.gpgmail DefaultSecurityMethod

    2. remove and re-add your s/mime cert to macOS keychain.app

    3. restart Mail.app

    Does that make the defaults command work as expected?


  2. 2 Posted by rosch on 07 Jul, 2018 09:14 AM

    rosch's Avatar

    Hi Steve,
    the default security method is "2":

    defaults read org.gpgtools.gpgmail DefaultSecurityMethod
    I now understand much better, what has happened. The reason was an expired S/MIME certificate. If it is expired, then OpenGPG falls back to PGP...
    What I am missing is some kind of warning about an expiring certificate - this is easy to miss, but I think that this should be handled by MacOS? Or could OpenGPG do this?
  3. Support Staff 3 Posted by Steve on 07 Jul, 2018 09:35 AM

    Steve's Avatar

    We could but basically anything S/MIME is macOS functionality and we try to interfere as little as possible.

    Glad this is solved for you. I'm closing this discussion. Should you need further assistance or have questions you can re-open this discussion here or open a new one any time.


  4. Steve closed this discussion on 07 Jul, 2018 09:35 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? 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