When I open my Sublime Text I sometimes get the following error, especially in the last week.
Package Control
Error executing: /usr/bin/security dump-trust-settings -d
SecTrustSettingsCopyTrustSettings: The specified item could not be found in the keychain.
SecTrustSettingsCopyTrustSettings: The specified item could not be found in the keychain.
Number of trusted certs = 3
Cert 0: Kaspersky Web Anti-Virus Certification Authority
Number of trust settings : 0
Cert 1: GTE CyberTrust Global Root
Cert 2: Class 3 Public Primary Certification Authority
VCS-based packages can be ignored with the "ignore_vcs_packages" setting.
I am wondering if this is a bug or maybe something malicious at the back? I am running OS X El Capitan.
I don't have Kaspersky Web Anti-Virus and this is really worrying me.
Any ideas?
The Package Control has now fixed and released the update with the following change log:
Package Control
Version 3.2 Release Notes This version of Package Control focuses on bug-fixes, with notable changes including:
OS X TLS trust roots are exported using APIs to prevent the error message displayed to some El Capitan users
Theme, syntax and color scheme upgrades have been improved and should result in fewer popup messages when filenames change
Various bugs related to installing dependencies have been resolved
Windows and OS X trust roots are exported in a way that valid/invalid purpose information is now communicated to the OpenSSL-based Python ssl module
Further improvements have been made to handling of git/hg package upgrades
The Windows WinINet downloader has improved compatibility with Windows 10
This should now fixed the problem and the update should be executed automatically once you open Sublime Text.
According to the bug issue listed below the bug is fixed by the user wbond:
Replacing the old trust list export code with new code from oscrypto. There will be a new release in the near future that includes this.
That said this problem will gone away with an upcoming update.
It looks like this is a known bug of the Package Control
since 23rd of September.
That also appears only to OS X El Capitan (version 10.11
) users.
I guess this will be solved with an update. While this is a known bug and the cause is due to certification of the KeyChain
there is no reason to worry about.
For more information about the bug and to keep yourself up-to-date have a look here.
The current status of the bug is closed.
Here is how to overcome the problem temporarily until the bug is fixed:
login
from the Keychains list on your left.Cert 0:
, which in your case is: Kaspersky Web Anti-Virus Certification Authority
Terminal.app
: /usr/bin/security dump-trust-settings -d
Terminal
: SecTrustSettingsCopyCertificates: No Trust Settings were found.
then everything was successful, otherwise try again the process until you get this message.Credits for the above temporary fix here, and thanks to Diego Plentz user below for pointing out the tutorial reference as well.
Here's a way to fix it:
Source: https://followryan.wordpress.com/2015/11/13/sublime-text-package-control-error-executing-usrbinsecurity-dump-trust-settings-d/
This is an issue with Package Control. This issue has been fixed inside Package Control itself.
If you are still presented with this error then update Package Control to its latest version, instead of deleting the certificates (as recommended in other answers in this thread).
To update Package Control re-run its installation instructions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With