diff --git a/bypy/macos/sign.py b/bypy/macos/sign.py index 897684c491..c3cbbee3e4 100644 --- a/bypy/macos/sign.py +++ b/bypy/macos/sign.py @@ -7,7 +7,8 @@ import plistlib from glob import glob from bypy.macos_sign import ( - codesign, create_entitlements_file, make_certificate_useable, notarize_app, run + codesign, create_entitlements_file, make_certificate_useable, notarize_app, + verify_signature ) from bypy.utils import current_dir @@ -95,10 +96,7 @@ def do_sign_app(appdir): # Now sign the main app codesign(appdir) - # Verify the signature - run('codesign', '-vvv', '--deep', '--strict', appdir) - run('spctl', '--verbose=4', '--assess', '--type', 'execute', appdir) - + verify_signature(appdir) return 0