autopkg / homebysix-recipes

AutoPkg recipes all the way from Seattle, WA.
Apache License 2.0
147 stars 114 forks source link

ViDL - Expired SSL Certificate #523

Closed paul-cossey closed 2 years ago

paul-cossey commented 2 years ago

The SSL Certificate has expired on the vendors website.

I've emailed support@omz-software.com to inform them (incase they were unaware)

Screenshot 2022-06-09 at 12 06 43
autopkg run -vv /Users/paul/Downloads/homebysix-recipes-master/ViDL/ViDL.download.recipe 
Processing /Users/paul/Downloads/homebysix-recipes-master/ViDL/ViDL.download.recipe...
WARNING: /Users/paul/Downloads/homebysix-recipes-master/ViDL/ViDL.download.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
SparkleUpdateInfoProvider
{'Input': {'appcast_url': 'https://ssl.webpack.de/omz-software.com/vidl/appcast.xml'}}
SparkleUpdateInfoProvider: Version retrieved from appcast: 102000
SparkleUpdateInfoProvider: Found URL https://omz-software.com/vidl/ViDL102.zip
{'Output': {'url': 'https://omz-software.com/vidl/ViDL102.zip',
            'version': '102000'}}
URLDownloader
{'Input': {'filename': 'ViDL-102000.zip',
           'url': 'https://omz-software.com/vidl/ViDL102.zip'}}
URLDownloader: No value supplied for prefetch_filename, setting default value of: False
URLDownloader: No value supplied for CHECK_FILESIZE_ONLY, setting default value of: False
Command '['/usr/bin/curl', '--silent', '--show-error', '--no-buffer', '--dump-header', '-', '--speed-time', '30', '--location', '--url', 'https://omz-software.com/vidl/ViDL102.zip', '--fail', '--output', '/Users/paul/Library/AutoPkg/Cache/com.github.homebysix.download.ViDL/downloads/tmpzbjzoe2d']' returned non-zero exit status 60.
Failed.
Receipt written to /Users/paul/Library/AutoPkg/Cache/com.github.homebysix.download.ViDL/receipts/ViDL.download-receipt-20220609-122545.plist

The following recipes failed:
    /Users/paul/Downloads/homebysix-recipes-master/ViDL/ViDL.download.recipe
        Error in com.github.homebysix.download.ViDL: Processor: URLDownloader: Error: Command '['/usr/bin/curl', '--silent', '--show-error', '--no-buffer', '--dump-header', '-', '--speed-time', '30', '--location', '--url', 'https://omz-software.com/vidl/ViDL102.zip', '--fail', '--output', '/Users/paul/Library/AutoPkg/Cache/com.github.homebysix.download.ViDL/downloads/tmpzbjzoe2d']' returned non-zero exit status 60.

Nothing downloaded, packaged or imported.
paul-cossey commented 2 years ago

Looks like the vendor has resolved their expired certificate.

Screenshot 2022-09-12 at 13 57 05

-vv output:

 autopkg run -vv /Users/paul/Downloads/homebysix-recipes-master/ViDL/ViDL.munki.recipe 
Processing /Users/paul/Downloads/homebysix-recipes-master/ViDL/ViDL.munki.recipe...
WARNING: /Users/paul/Downloads/homebysix-recipes-master/ViDL/ViDL.munki.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
SparkleUpdateInfoProvider
{'Input': {'appcast_url': 'https://ssl.webpack.de/omz-software.com/vidl/appcast.xml'}}
SparkleUpdateInfoProvider: Version retrieved from appcast: 102000
SparkleUpdateInfoProvider: Found URL https://omz-software.com/vidl/ViDL102.zip
{'Output': {'url': 'https://omz-software.com/vidl/ViDL102.zip',
            'version': '102000'}}
URLDownloader
{'Input': {'filename': 'ViDL-102000.zip',
           'url': 'https://omz-software.com/vidl/ViDL102.zip'}}
URLDownloader: No value supplied for prefetch_filename, setting default value of: False
URLDownloader: No value supplied for CHECK_FILESIZE_ONLY, setting default value of: False
URLDownloader: Storing new Last-Modified header: Sun, 08 Mar 2020 12:40:28 GMT
URLDownloader: Storing new ETag header: "2bad2d8-5a05730fd5746"
URLDownloader: Downloaded /Users/paul/Library/AutoPkg/Cache/com.github.homebysix.munki.ViDL/downloads/ViDL-102000.zip
{'Output': {'download_changed': True,
            'etag': '"2bad2d8-5a05730fd5746"',
            'last_modified': 'Sun, 08 Mar 2020 12:40:28 GMT',
            'pathname': '/Users/paul/Library/AutoPkg/Cache/com.github.homebysix.munki.ViDL/downloads/ViDL-102000.zip',
            'url_downloader_summary_result': {'data': {'download_path': '/Users/paul/Library/AutoPkg/Cache/com.github.homebysix.munki.ViDL/downloads/ViDL-102000.zip'},
                                              'summary_text': 'The following '
                                                              'new items were '
                                                              'downloaded:'}}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
Unarchiver
{'Input': {'archive_path': '/Users/paul/Library/AutoPkg/Cache/com.github.homebysix.munki.ViDL/downloads/ViDL-102000.zip',
           'destination_path': '/Users/paul/Library/AutoPkg/Cache/com.github.homebysix.munki.ViDL/ViDL',
           'purge_destination': True}}
Unarchiver: No value supplied for USE_PYTHON_NATIVE_EXTRACTOR, setting default value of: False
Unarchiver: Guessed archive format 'zip' from filename ViDL-102000.zip
Unarchiver: Unarchived /Users/paul/Library/AutoPkg/Cache/com.github.homebysix.munki.ViDL/downloads/ViDL-102000.zip to /Users/paul/Library/AutoPkg/Cache/com.github.homebysix.munki.ViDL/ViDL
{'Output': {}}
CodeSignatureVerifier
{'Input': {'input_path': '/Users/paul/Library/AutoPkg/Cache/com.github.homebysix.munki.ViDL/ViDL/ViDL.app',
           'requirement': 'anchor apple generic and identifier '
                          '"com.omz-software.ViDL" and (certificate '
                          'leaf[field.1.2.840.113635.100.6.1.9] /* exists */ '
                          'or certificate 1[field.1.2.840.113635.100.6.2.6] /* '
                          'exists */ and certificate '
                          'leaf[field.1.2.840.113635.100.6.1.13] /* exists */ '
                          'and certificate leaf[subject.OU] = KE4EN5DA4H)'}}
CodeSignatureVerifier: Verifying code signature...
CodeSignatureVerifier: Deep verification enabled...
CodeSignatureVerifier: Strict verification not defined. Using codesign defaults...
CodeSignatureVerifier: /Users/paul/Library/AutoPkg/Cache/com.github.homebysix.munki.ViDL/ViDL/ViDL.app: valid on disk
CodeSignatureVerifier: /Users/paul/Library/AutoPkg/Cache/com.github.homebysix.munki.ViDL/ViDL/ViDL.app: satisfies its Designated Requirement
CodeSignatureVerifier: /Users/paul/Library/AutoPkg/Cache/com.github.homebysix.munki.ViDL/ViDL/ViDL.app: explicit requirement satisfied
CodeSignatureVerifier: Signature is valid
{'Output': {}}
DmgCreator
{'Input': {'dmg_path': '/Users/paul/Library/AutoPkg/Cache/com.github.homebysix.munki.ViDL/ViDL.dmg',
           'dmg_root': '/Users/paul/Library/AutoPkg/Cache/com.github.homebysix.munki.ViDL/ViDL'}}
DmgCreator: Created dmg from /Users/paul/Library/AutoPkg/Cache/com.github.homebysix.munki.ViDL/ViDL at /Users/paul/Library/AutoPkg/Cache/com.github.homebysix.munki.ViDL/ViDL.dmg
{'Output': {}}
MunkiImporter
{'Input': {'MUNKI_REPO': '/Users/Shared/munki_repo',
           'pkg_path': '/Users/paul/Library/AutoPkg/Cache/com.github.homebysix.munki.ViDL/ViDL.dmg',
           'pkginfo': {'catalogs': ['testing'],
                       'description': 'ViDL is a free Mac app that allows you '
                                      'to easily download videos from YouTube '
                                      'and hundreds of other websites for '
                                      'offline viewing.',
                       'developer': 'Ole Zorn',
                       'display_name': 'ViDL',
                       'name': 'ViDL',
                       'unattended_install': True},
           'repo_subdirectory': 'apps/ViDL'}}
MunkiImporter: No value supplied for MUNKI_REPO_PLUGIN, setting default value of: FileRepo
MunkiImporter: No value supplied for MUNKILIB_DIR, setting default value of: /usr/local/munki
MunkiImporter: No value supplied for force_munki_repo_lib, setting default value of: False
MunkiImporter: Using repo lib: AutoPkgLib
MunkiImporter:         plugin: FileRepo
MunkiImporter:           repo: /Users/Shared/munki_repo
MunkiImporter: Copied pkginfo to: /Users/Shared/munki_repo/pkgsinfo/apps/ViDL/ViDL-1.0.2.plist
MunkiImporter:            pkg to: /Users/Shared/munki_repo/pkgs/apps/ViDL/ViDL-1.0.2.dmg
{'Output': {'munki_importer_summary_result': {'data': {'catalogs': 'testing',
                                                       'icon_repo_path': '',
                                                       'name': 'ViDL',
                                                       'pkg_repo_path': 'apps/ViDL/ViDL-1.0.2.dmg',
                                                       'pkginfo_path': 'apps/ViDL/ViDL-1.0.2.plist',
                                                       'version': '1.0.2'},
                                              'report_fields': ['name',
                                                                'version',
                                                                'catalogs',
                                                                'pkginfo_path',
                                                                'pkg_repo_path',
                                                                'icon_repo_path'],
                                              'summary_text': 'The following '
                                                              'new items were '
                                                              'imported into '
                                                              'Munki:'},
            'munki_info': {'_metadata': {'created_by': 'paul',
                                         'creation_date': datetime.datetime(2022, 9, 12, 13, 0),
                                         'munki_version': '5.5.1.4365',
                                         'os_version': '12.5.1'},
                           'autoremove': False,
                           'catalogs': ['testing'],
                           'description': 'ViDL is a free Mac app that allows '
                                          'you to easily download videos from '
                                          'YouTube and hundreds of other '
                                          'websites for offline viewing.',
                           'developer': 'Ole Zorn',
                           'display_name': 'ViDL',
                           'installer_item_hash': '6672015caff24ea487c307d7983eee188346c6ab946aa6dc57e99a9600b5bd92',
                           'installer_item_location': 'apps/ViDL/ViDL-1.0.2.dmg',
                           'installer_item_size': 45438,
                           'installer_type': 'copy_from_dmg',
                           'installs': [{'CFBundleIdentifier': 'com.omz-software.ViDL',
                                         'CFBundleName': 'ViDL',
                                         'CFBundleShortVersionString': '1.0.2',
                                         'CFBundleVersion': '102000',
                                         'minosversion': '10.12',
                                         'path': '/Applications/ViDL.app',
                                         'type': 'application',
                                         'version_comparison_key': 'CFBundleShortVersionString'}],
                           'items_to_copy': [{'destination_path': '/Applications',
                                              'source_item': 'ViDL.app'}],
                           'minimum_os_version': '10.12',
                           'name': 'ViDL',
                           'unattended_install': True,
                           'uninstall_method': 'remove_copied_items',
                           'uninstallable': True,
                           'version': '1.0.2'},
            'munki_repo_changed': True,
            'pkg_repo_path': '/Users/Shared/munki_repo/pkgs/apps/ViDL/ViDL-1.0.2.dmg',
            'pkginfo_repo_path': '/Users/Shared/munki_repo/pkgsinfo/apps/ViDL/ViDL-1.0.2.plist'}}
Receipt written to /Users/paul/Library/AutoPkg/Cache/com.github.homebysix.munki.ViDL/receipts/ViDL.munki-receipt-20220912-140000.plist

The following new items were downloaded:
    Download Path                                                                                
    -------------                                                                                
    /Users/paul/Library/AutoPkg/Cache/com.github.homebysix.munki.ViDL/downloads/ViDL-102000.zip  

The following new items were imported into Munki:
    Name  Version  Catalogs  Pkginfo Path                Pkg Repo Path             Icon Repo Path  
    ----  -------  --------  ------------                -------------             --------------  
    ViDL  1.0.2    testing   apps/ViDL/ViDL-1.0.2.plist  apps/ViDL/ViDL-1.0.2.dmg

Closing issue :-)