tag:gpgtools.tenderapp.com,2011-11-04:/discussions/nightly/1050-define-default-security-method-not-working-in-version-20183GPGTools: Discussion 2018-07-07T16:04:05Ztag:gpgtools.tenderapp.com,2011-11-04:Comment/456180402018-07-04T12:46:14Z2018-07-04T12:46:14Z"Define default security method" not working in Version 2018.3<div><p>Hi rosch,</p>
<p>please try the following:</p>
<ol>
<li>
<p>copy the output of the following command:</p>
<p>defaults read org.gpgtools.gpgmail DefaultSecurityMethod</p>
</li>
<li>
<p>remove and re-add your s/mime cert to macOS keychain.app</p>
</li>
<li>
<p>restart Mail.app</p>
</li>
</ol>
<p>Does that make the defaults command work as expected?</p>
<p>Best,<br>
steve</p></div>Stevetag:gpgtools.tenderapp.com,2011-11-04:Comment/456180402018-07-07T09:14:26Z2018-07-07T09:20:58Z"Define default security method" not working in Version 2018.3<div><p>Hi Steve,<br>
the default security method is "2":<br></p>
<pre>
<code>defaults read org.gpgtools.gpgmail DefaultSecurityMethod
2</code>
</pre>
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...<br>
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?<br>
Thanks!</div>roschtag:gpgtools.tenderapp.com,2011-11-04:Comment/456180402018-07-07T09:35:56Z2018-07-07T09:35:56Z"Define default security method" not working in Version 2018.3<div><p>We could but basically anything S/MIME is macOS functionality and we try to interfere as little as possible.</p>
<p>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.</p>
<p>Best,<br>
steve</p></div>Steve