diff --git a/release-tool b/release-tool index 9d9d4fa9..82d4fbc3 100755 --- a/release-tool +++ b/release-tool @@ -1147,7 +1147,7 @@ appsign() { fi logInfo "Signing app using codesign..." - codesign --sign "${key}" --verbose --deep ./app/KeePassXC.app + codesign --sign "${key}" --verbose --deep --entitlements ${orig_dir}/share/macosx/keepassxc.entitlements ./app/KeePassXC.app if [ 0 -ne $? ]; then cd "${orig_dir}" diff --git a/share/macosx/keepassxc.entitlements b/share/macosx/keepassxc.entitlements new file mode 100644 index 00000000..a6370558 --- /dev/null +++ b/share/macosx/keepassxc.entitlements @@ -0,0 +1,24 @@ + + + + + com.apple.application-identifier + org.keepassx.keepassxc + com.apple.developer.aps-environment + production + com.apple.security.network.client + + com.apple.security.app-sandbox + + com.apple.security.print + + com.apple.security.app-sandbox + + keychain-access-groups + + org.keepassx.keepassxc + + com.apple.security.files.user-selected.read-only + + + \ No newline at end of file