[vlc-devel] [PATCH] OSX codesigning - Add additional check for signed binary.
rob at hobbyistsoftware.com
Wed Nov 4 13:35:46 CET 2015
the current script just outputs the result from the other validation rather
however - if you fancy figuring out how to parse the outputs and exit
appropriately, then I'm sure nobody would object. My bash skills are not up
to the job.
this is the current output I see (success on codesign, failure on spctl)
VLC.app: valid on disk
VLC.app: satisfies its Designated Requirement
[codesign] Validating spctl
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "
<string>obsolete resource envelope</string>
On 3 November 2015 at 18:00, Filipe Cabecinhas <filcab at filcab.net> wrote:
> Probably codesign.sh should exit with a non-zero exit code if spctl fails.
> On Tuesday, 3 November 2015, Rob Jonson <rob at hobbyistsoftware.com> wrote:
>> Adds a test with spctl as described here:
>> extras/package/macosx/codesign.sh | 2 ++
>> 1 file changed, 2 insertions(+)
>> diff --git a/extras/package/macosx/codesign.sh
>> index 74a9c9d..451d3dc 100755
>> --- a/extras/package/macosx/codesign.sh
>> +++ b/extras/package/macosx/codesign.sh
>> @@ -194,5 +194,7 @@ codesign --verify -vv
>> info "Validating complete bundle"
>> codesign --verify --deep --verbose=4 VLC.app
>> +info "Testing with spctl (all assessments should be true)"
>> +spctl --assess --verbose=4 --raw --type execute VLC.app
>> info "Validation complete"
>> 2.4.9 (Apple Git-60)
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
Hobbyist Software is a trading name of Hobbyist Software Limited.
Registered office 12 Fraley Rd, Bristol, BS93BS. Registered in England.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel