autopkg / jleggat-recipes

Recipes for http://autopkg.github.io/autopkg/
13 stars 32 forks source link

Failure in Sequel Pro curl #105

Open precursorca opened 2 years ago

precursorca commented 2 years ago

Use of undefined key in variable substitution: 'version' Command ''/usr/bin/curl', '--compressed', '--location', '[https://www.sequelpro.com/appcast/app-releases.xml']' returned non-zero exit status 60. Failed.

flammable commented 2 years ago

Yep, seeing the same thing. Here's the full output when I run my recipe override:

% autopkg run -v local.munki.SequelPro
Processing local.munki.SequelPro...
SparkleUpdateInfoProvider
Command '['/usr/bin/curl', '--compressed', '--location', 'https://www.sequelpro.com/appcast/app-releases.xml']' returned non-zero exit status 60.
Failed.
Receipt written to /Users/localadmin/Library/AutoPkg/Cache/local.munki.SequelPro/receipts/local.munki-receipt-20220512-113526.plist

The following recipes failed:
    local.munki.SequelPro
        Error in local.munki.SequelPro: Processor: SparkleUpdateInfoProvider: Error: Command '['/usr/bin/curl', '--compressed', '--location', 'https://www.sequelpro.com/appcast/app-releases.xml']' returned non-zero exit status 60.

Nothing downloaded, packaged or imported.
homebysix commented 2 years ago

Running curl against that URL reveals the issue:

% curl "https://www.sequelpro.com/appcast/app-releases.xml"
curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

And some details from openssl:

% openssl s_client -verify_return_error -connect sequelpro.com:443           
CONNECTED(00000005)
depth=2 C = US, O = Internet Security Research Group, CN = ISRG Root X1
verify return:1
depth=1 C = US, O = Let's Encrypt, CN = R3
verify return:1
depth=0 CN = sequelpro.com
verify error:num=10:certificate has expired
notAfter=Apr 26 11:10:40 2022 GMT
verify return:0
---
Certificate chain
 0 s:/CN=sequelpro.com
   i:/C=US/O=Let's Encrypt/CN=R3
 1 s:/C=US/O=Let's Encrypt/CN=R3
   i:/C=US/O=Internet Security Research Group/CN=ISRG Root X1
 2 s:/C=US/O=Internet Security Research Group/CN=ISRG Root X1
   i:/O=Digital Signature Trust Co./CN=DST Root CA X3
---

I'd suggest politely reporting this to the developer.

flammable commented 2 years ago

Thanks! Upon further investigation, it looks like the project is abandoned. Someone made a fork that's being actively maintained. This recipe can probably be deprecated.

flammable commented 2 years ago

Actually, I made a couple of recipes for Sequel Ace (thanks to the recipe robot!). Please give them a try.

precursorca commented 2 years ago

Thanks Mike!

Your recipe worked well.


Alex Narvey @.***

On May 12, 2022, at 1:45 PM, Mike Solin @.***> wrote:

Actually, I made a couple of recipes https://github.com/autopkg/flammable-recipes/tree/master/Sequel%20Ace for Sequel Ace (thanks to the recipe robot!). Please give them a try.

— Reply to this email directly, view it on GitHub https://github.com/autopkg/jleggat-recipes/issues/105#issuecomment-1125313157, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEG7VEUWW6N74T34VFZ3CBTVJVGTLANCNFSM5VXXD6PA. You are receiving this because you authored the thread.