mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 06:55:59 +03:00
Do a codesign --verify before running spctl
codesign is less strict than spctl and gives more output. codesign -d alone doesn't verify but only prints.
This commit is contained in:
parent
c3724068e5
commit
6096a836a4
1 changed files with 2 additions and 1 deletions
|
@ -9,8 +9,9 @@ team_identifier="$3"
|
|||
codesign -s "$identity" --force --preserve-metadata=entitlements --verbose=4 --deep "$src_app"
|
||||
|
||||
# Verify the signature
|
||||
spctl -a -t exec -vv $src_app
|
||||
codesign -dv $src_app
|
||||
codesign --verify -v $src_app
|
||||
spctl -a -t exec -vv $src_app
|
||||
|
||||
# Validate that the key used for signing the binary matches the expected TeamIdentifier
|
||||
# needed to pass the SocketApi through the sandbox
|
||||
|
|
Loading…
Reference in a new issue