Sublime Forum

Package Error Messages on Start up

#1

Hi,

Any idea why I would get a dialog box with this message when I open Sublime Text 2:
Why would Package Control be accessing my keychain?

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.
SecTrustSettingsCopyTrustSettings: The specified item could not be found in the keychain.
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 = 7
Cert 0: MFA Root 3
   Number of trust settings : 2
   Trust Setting 0:
      Policy OID            : Apple X509 Basic
      Allowed Error         : CSSMERR_TP_CERT_EXPIRED
      Result Type           : kSecTrustSettingsResultTrustRoot
   Trust Setting 1:
      Allowed Error         : CSSMERR_TP_CERT_EXPIRED
      Result Type           : kSecTrustSettingsResultTrustRoot
Cert 1: Avast trusted CA
   Number of trust settings : 0
Cert 2: Equifax Secure Certificate Authority
Cert 3: GTE CyberTrust Global Root
Cert 4: Thawte Premium Server CA
Cert 5: Thawte Server CA
Cert 6: Class 3 Public Primary Certification Authority

VCS-based packages can be ignored with the "ignore_vcs_packages" setting.
0 Likes

Bugreport: Package Control Error Dialog too big to close (Mac)
#2

Because Package Control downloads all its data via HTTPS for security reasons. See github.com/wbond/package_control/issues/1002.

0 Likes

#3

Just to provide another data point, although the conversation on Github has been locked, and the patch to the crypto code was made on December 17, 2015, this error is still happening in Sublime Text 3 Build 3103 (latest/current).

What’s more, on my laptop I use a number of self-generated, self-trusted certs which work absolutely fine for me, but which cause /usr/bin/security dump-trust-settings -d to dump several pages of text. Since SublimeText displays those pages of text inside of a fixed-width modal dialog window, I get an error message that goes off the bottom of the screen, with an OK acknowledgement button that also goes off the screen, and the only way to get out is to force-quit SublimeText. Ugly.

If you can’t fix the crypto library issues, perhaps you could at least display the error within a scrolling text box so I can acknowledge the message without having to force-quit the editor?

0 Likes

#4

You can just hit enter to dismiss it. I’m not sure why you thought you had to force quit.

Either way OS X doesn’t provide such a scrolling dialog box.

The thread was locked because people were complaining even though I explained what needed to happen and that I didn’t have any time to work on Package Control at that time.

You can look at the second thread about it to see what needs to be done to fix it properly. Otherwise, hitting the enter key once a week works.

0 Likes

#5

For many people (including myself) just “hitting the enter key” doesn’t work - what follows from this prompt is “There are no packages available for installation”.

0 Likes

#6

In that case, you are likely running into something else. Please open a bug on the bug tracker with your debug log.

0 Likes

#7

I see this as well, on my MAC… would love to get this fixed… :slightly_smiling:

0 Likes

#8

Which other thread? And do I understand it correct that the Avast Cert is the culprit in this case? What can I do, so that Sublime ignores this Cert or that Avast except Sublime Text?

0 Likes