homebysix/recipe-robot

Building off #173, out Team ID for Code Signature output

apizz opened this issue · 0 comments

apizz commented

Is your feature request related to a problem? Please describe.
Related to #173

Describe the solution you'd like
In addition to collecting the Developer from the code signature (where applicable) also collect the Developer / Team ID.

Output from CLI tool with MTMR app:

./recipe-robot /Volumes/MTMR/MTMR.app -v

                      -----------------------------------
                     |  Welcome to Recipe Robot v2.0.0.  |
                      -----------------------------------
                                \   _[]_
                                 \  [oo]
                                   d-||-b
                                     ||
                                   _/  \_
    
Processing: /Volumes/MTMR/MTMR.app
Input path looks like an app.
Validating app...
    This app seems valid
Getting bundle name...
    Bundle name is: MTMR
Getting bundle identifier...
    Bundle identifier is: Toxblh.MTMR
Checking for a Sparkle feed...
    Sparkle feed is: https://mtmr.app/appcast.xml
Getting information from Sparkle feed...
    The Sparkle feed provides a version number
    The latest version is 406
    Download URL is: https://mtmr.app/MTMR%200.26.1.dmg
Downloading file for further inspection...
    Downloaded to /Users/admin/Library/Caches/Recipe Robot/2020-10-24_22-04-41_455107/MTMR%200.26.1.dmg
Determining download format...
    File extension is dmg
Looking for version key...
    Version key is: CFBundleShortVersionString (0.26.1)
Looking for icon...
    Icon is: /Volumes/MTMR/MTMR.app/Contents/Resources/AppIcon
Getting description...
    Description (from MacUpdate): TouchBar Customization App.
Gathering code signature information...
    Code signature verification requirements recorded
    3 authority names recorded
    Developer: Anton Palgunov
Searching for existing AutoPkg recipes for MTMR...
    No results
Generating download recipe...
    /Users/admin/Library/AutoPkg/Recipe Robot Output/MTMR/MTMR.download.recipe
Generating pkg recipe...
    /Users/admin/Library/AutoPkg/Recipe Robot Output/MTMR/MTMR.pkg.recipe
Generating munki recipe...
    /Users/admin/Library/AutoPkg/Recipe Robot Output/MTMR/MTMR.munki.recipe

You've created 3 recipes with Recipe Robot. Fantastic.

Desired addition (just applicable output) for the linked issue:

Gathering code signature information...
    Code signature verification requirements recorded
    3 authority names recorded
    Developer: Anton Palgunov
    Team ID: D6D8BR2QNB

Describe alternatives you've considered
N/A

Additional context
Just a nice to have :)