Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operation not permitted during dmg building on macOS 11 Big Sur #5465

Closed
gnattu opened this issue Dec 10, 2020 · 25 comments · Fixed by wireapp/wire-webapp#10666, Threor/soundboard-frontend#23 or Zettlr/Zettlr#1806

Comments

@gnattu
Copy link

gnattu commented Dec 10, 2020

  • Target: dmg for macOS

After setting DEBUG=electron-builder DEBUG_DMG=true, the console logs error during copy:

2020-12-10 11:45:43.585 copy-helper[54295:350710] About to copy "/path/app.app".
2020-12-10 11:45:44.255 copy-helper[54295:350710] copy error (canceling): /Volumes/img/app.app/Contents/Resources/app.asar.unpacked/node_modules/npm/node_modules/libnpmorg/.BC.T_K9LSTf: Operation not permitted
2020-12-10 11:45:44.255 copy-helper[54295:350710] Copy finished with error 1 (Operation not permitted).
................................Error 1 (Operation not permitted).
could not access /Volumes/img/app.app/Contents/Resources/app.asar.unpacked/node_modules/npm/node_modules/libnpmorg/.BC.T_K9LSTf - Operation not permitted

Then building ultimately failed with:

2020-12-10 11:45:45.386 diskimages-helper[54280:350655] *useEffectiveIDs**** euid/egid changed to 501,20 (uid/gid is 501,20)
DIHLDiskImageCreate() returned 1
hdiutil: create: returning 1
hdiutil: create failed - Operation not permitted

...

 ⨯ hdiutil exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE  stackTrace=
                                                                    Error: hdiutil exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
                                                                        at ChildProcess.<anonymous> (/Users/gnattu/src/poi/node_modules/builder-util/src/util.ts:243:14)
                                                                        at Object.onceWrapper (node:events:483:26)
                                                                        at ChildProcess.emit (node:events:376:20)
                                                                        at maybeClose (node:internal/child_process:1063:16)
                                                                        at Process.ChildProcess._handle.onexit (node:internal/child_process:295:5)

I can create an image with appdmg for the same app.

@gnattu
Copy link
Author

gnattu commented Dec 11, 2020

By removing "-fs", "HFS+", "-fsargs", "-c c=64,a=16,e=16", dmg creation does work on Big Sur. Looks like HFS+ image creation is broken.

@mmaietta
Copy link
Collaborator

Copying from the other issue for posterity's sake.

[This] seems to just need a one-liner PR change, but I don't think letting it use the default setting will be backward compatible as APFS is only available High Sierra 10.13+. It would also require verifying that the default value is consistent across all recent OS versions, so an explicit -fs arg might still be necessary.

Also, from a quick search for hdiutil returning error code 1, it might be due to the target file/directory path not existing.
Check out these two related to dmg creation, coincidentally from appdmg.
LinusU/node-appdmg#65
LinusU/node-appdmg#63 (comment)

{ [Error: Error running `hdiutil`! Exit code was 1]
  exitCode: 1,
  stdout: 'Preparing imaging engine…\nReading Protective Master Boot Record (MBR : 0)…\n',
  stderr: '\nhdiutil: convert failed - Invalid argument\n' }

@lutzroeder
Copy link
Contributor

@gnattu can you check the folder for any files with extended attributes (using xattr).

@gnattu
Copy link
Author

gnattu commented Dec 17, 2020

@lutzroeder Yes, I can confirm that some files are incorrectly signed:

xattr PULL_REQUEST_TEMPLATE 
com.apple.cs.CodeDirectory
com.apple.cs.CodeEntitlements
com.apple.cs.CodeRequirements
com.apple.cs.CodeRequirements-1
com.apple.cs.CodeSignature

The file is just a text file indicating a PR template, but it is detected as a binary and got signed.

@lutzroeder
Copy link
Contributor

lutzroeder commented Dec 18, 2020

@gnattu are you using [email protected] or [email protected] and macOS BigSur? What is the name and extension of the file that got misclassified? Trying to understand if this is the same issue as #5487.

@gnattu
Copy link
Author

gnattu commented Dec 18, 2020

It's [email protected]. The file has no extension at all, like PULL_REQUEST_TEMPLATE.

@gnattu
Copy link
Author

gnattu commented Dec 19, 2020

For my case we need more than a revert as upstream detects files with an emoji as binary: gjtorikian/isBinaryFile#22

And npm's PULL_REQUEST_TEMPLATE does contain emoji, so PULL_REQUEST_TEMPLATE will still get signed after the revert.

Maybe add a case to ignore PULL_REQUEST_TEMPLATE:

if (path.basename(filePath)[0] !== '.' && path.basename(filePath) != 'PULL_REQUEST_TEMPLATE') {

As a workaround?

@mmaietta
Copy link
Collaborator

mmaietta commented Dec 19, 2020

As opposed to using a specific name-based check, can we use another comparable package that is designed for binary detection? Such as: https://www.npmjs.com/package/istextorbinary

@gnattu Is there a minimum/sample repo where I can easily repro/test this on?

@gnattu
Copy link
Author

gnattu commented Dec 19, 2020

@mmaietta You can use the electron-quick-start.

Then add some dependencies inlcuding emoji text files to package.json. For example, npm.

Then run electron-builder with code sign enabled after npm i, you will get the error.

You can then check with xattr for files in app.asar.unpacked, and you will notice text files with emoji get signed.

@mmaietta
Copy link
Collaborator

@gnattu I've tried as you described and, unfortunately, I can't repro locally on both Big Sur or Catalina. No app.asar.unpacked is created. Running with DEBUG=electron-osx-sign npx electron-builder --dir doesn't show the file(s) being signed either.
What's your EB build config?
If you can create a sample repo or patch file(s) for me to apply the changes locally, it'd help a bunch.

Since I cant test atm, my suggestion for the interim is to flip the binary validation to no longer just check extensions and try istextorbinary:

import { isText, isBinary, getEncoding } from 'istextorbinary'

isBinary(aFilename, aBuffer) // returns true if a binary file otherwise false, checks filename then buffer

The quickest swap would probably just be to use isBinary(filePath, null) for the current extension-check functionality. Best usage of the package would be to include the Buffer for it to check 24 bytes from start/middle/end.
Can you try that out?

@gnattu
Copy link
Author

gnattu commented Dec 20, 2020

I'm not using build config, which will load the default one I guess.

The package.json looks like below:

{
  "name": "electron-quick-start",
  "version": "1.0.0",
  "description": "A minimal Electron application",
  "main": "main.js",
  "scripts": {
    "start": "electron .",
    "build": "electron-builder -p never"
  },
  "repository": "https://github.com/electron/electron-quick-start",
  "keywords": [
    "Electron",
    "quick",
    "start",
    "tutorial",
    "demo"
  ],
  "author": "GitHub",
  "license": "CC0-1.0",
  "dependencies": {
    "npm": "^6.14.8"
  },
  "devDependencies": {
    "electron": "^11.1.0",
    "electron-builder": "^22.10.3"
  }
}

@gnattu
Copy link
Author

gnattu commented Dec 20, 2020

By the way, I do have code signing using DEBUG=electron-osx-sign npx electron-builder --dir as well:

  electron-osx-sign Signing... /Users/gnattu/src/electron-quick-start/dist/mac-arm64/electron-quick-start.app/Contents/Resources/app.asar.unpacked/node_modules/npm/node_modules/libnpmaccess/PULL_REQUEST_TEMPLATE +143ms

@gnattu
Copy link
Author

gnattu commented Dec 20, 2020

@mmaietta I tried istextorbinary and it does not work the same way as isBinaryFile. It will only perform extension check for filenames, and we have to provide buffer for content encoding checking ourselves.

istextorbinary's isBinary does return false for files contain emoji.

mmaietta pushed a commit to mmaietta/electron-builder that referenced this issue Dec 20, 2020
…. Exposing `getFilePathIfBinarySync` to app-builder-lib to consolidate binary detection logic
@mmaietta
Copy link
Collaborator

I was able to get it working in my limited local testing. Would you mind giving this branch a try?
https://github.com/mmaietta/electron-builder/tree/fix/BinaryDetectionSigning

mmaietta pushed a commit to mmaietta/electron-builder that referenced this issue Dec 21, 2020
…. Exposing `getFilePathIfBinarySync` to app-builder-lib to consolidate binary detection logic
mmaietta pushed a commit to mmaietta/electron-builder that referenced this issue Dec 21, 2020
…. Exposing `getFilePathIfBinarySync` to app-builder-lib to consolidate binary detection logic
@gnattu
Copy link
Author

gnattu commented Dec 21, 2020

@mmaietta the branch is not runnable for my project(the actual one):

getFilePathIfBinaryAsync is not defined  stackTrace

https://github.com/mmaietta/electron-builder/blob/f8bc3ec31c905ec019f6f0c2b9b14d4a7d7c5237/packages/app-builder-lib/electron-osx-sign/util.js#L204 should be changed as well to getFilePathIfBinarySync.

But after manually editing, the build still fails as the icns icon files get signed incorrectly, we should not drop the extension check as the extension check provided in istextorbinary is not good enough.

After adding back if (path.extname(filePath).indexOf(' ') >= 0) { to https://github.com/mmaietta/electron-builder/blob/f8bc3ec31c905ec019f6f0c2b9b14d4a7d7c5237/packages/app-builder-lib/electron-osx-sign/util.js#L215, the project complied successfully.

@mmaietta
Copy link
Collaborator

Sorry bout that. I've pushed an update to the branch, consolidated more of the logic within the binary check function. This also propagates the improvements to unpackDetector

develar pushed a commit that referenced this issue Dec 23, 2020
* Check if each binary path exists, otherwise resolve all binaries from the artifact's app Contents path

* #5465: Switching from `isBinary` to `istextorbinary`. Exposing `getFilePathIfBinarySync` to app-builder-lib to consolidate binary detection logic

* Consolidating binary path detection with extension overrides.

* Update lockfile

Co-authored-by: Mike Maietta <[email protected]>
@gnattu
Copy link
Author

gnattu commented Dec 31, 2020

Close as #5493 merged

@gnattu gnattu closed this as completed Dec 31, 2020
@tmacwill
Copy link

tmacwill commented Feb 10, 2021

I'm not sure the above PR fixes this issue in all cases. I'm using macOS Big Sur 11.1 on an Apple M1 chip in a Rosetta 2 terminal. I've create a minimal repro case with electron-builder 22.10.4 at this repository, using the macOS JDK as a test: https://github.com/tmacwill/electron-builder-dmg-repro

When I run yarn dist, I get the following error:

  • signing         file=dist/mac/electron-webpack-quick-start.app identityName=Developer ID Application: xxx identityHash=xxx provisioningProfile=none
  • building        target=macOS zip arch=x64 file=dist/electron-webpack-quick-start-0.0.0-mac.zip
  • building        target=DMG arch=x64 file=dist/electron-webpack-quick-start-0.0.0.dmg
  • building embedded block map  file=dist/electron-webpack-quick-start-0.0.0-mac.zip
  ⨯ hdiutil exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE  stackTrace=
                                                                    Error: hdiutil exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
                                                                        at ChildProcess.<anonymous> (/Users/tmac/tmp/electron-webpack-quick-start/node_modules/builder-util/src/util.ts:243:14)
                                                                        at Object.onceWrapper (events.js:421:26)
                                                                        at ChildProcess.emit (events.js:314:20)
                                                                        at maybeClose (internal/child_process.js:1021:16)
                                                                        at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)

Using xattr in the dist directory shows that several files have extended attributes:

$ xattr dist/mac/electron-webpack-quick-start.app/Contents/Resources/static/jdk/lib/modules
com.apple.cs.CodeDirectory
com.apple.cs.CodeEntitlements
com.apple.cs.CodeRequirements
com.apple.cs.CodeRequirements-1
com.apple.cs.CodeSignature

$ xattr dist/mac/electron-webpack-quick-start.app/Contents/Resources/static/jdk/lib/security/cacerts
com.apple.cs.CodeDirectory
com.apple.cs.CodeEntitlements
com.apple.cs.CodeRequirements
com.apple.cs.CodeRequirements-1
com.apple.cs.CodeSignature

However, they don't have extended attributes before the build:

$ xattr static/jdk/lib/modules
$ xattr static/jdk/lib/security/cacerts
$

If you remove the files that are getting extended attributes added and then run yarn dist, the build succeeds:

$ rm -rf static/jdk/lib/modules static/jdk/lib/security/cacerts
$ yarn dist

The static/jdk directory also contains a number of binary files that are not given extended attributes after building. For instance, static/jdk/bin/java is a binary file, but it's not given extended attributes in dist:

$ xattr dist/mac/electron-webpack-quick-start.app/Contents/Resources/static/jdk/bin/java
$

Thanks!

EDIT: It looks like that PR might have been actually merged after the 22.10.4 release was published, but I created a small test file that just runs getFilePathIfBinarySync from master on the above files that incorrectly get extended attributes, and the behavior is the same. Is there ever a case where a non-executable binary file that doesn't pass the existing checks (e.g., ends in dylib) should be code signed? If not, then getFilePathIfBinarySync could also check for fs.accessSync(filePath, fs.constants.X_OK).

@mmaietta
Copy link
Collaborator

mmaietta commented Feb 14, 2021

Is there ever a case where a non-executable binary file that doesn't pass the existing checks (e.g., ends in dylib) should be code signed? If not, then getFilePathIfBinarySync could also check for fs.accessSync(filePath, fs.constants.X_OK).

Honestly, I'm not sure. It seems electron-builder and electron-osx-sign both have similar odd issues in discerning binaries and the core issue is not particularly fixable with ease.

Happy to run any tests/suggestions for you though. (Also happy to help you get a local dev/test env setup with electron-builder using yalc
I tried your fs.access and receive this error in my testing:

//  fs.accessSync(filePath, fs.constants.X_OK)


⨯ EACCES: permission denied, access '/electron-builder-dmg-repro/dist/mac/electron-webpack-quick-start.app/Contents/Info.plist' 
stackTrace=
Error: EACCES: permission denied, access '/electron-builder-dmg-repro/dist/mac/electron-webpack-quick-start.app/Contents/Info.plist'
    at Object.accessSync (fs.js:203:3)
    at module.exports.getFilePathIfBinarySync (/electron-builder-dmg-repro/.yalc/app-builder-lib/electron-osx-sign/util.js:162:10)

I found another npm package, https://github.com/mscdex/mmmagic, that could potentially help here, but it's a native module. Not sure if that's too heavy of a package to introduce into this tool, but right now I can't even get it to rebuild with the right node version

@tmacwill
Copy link

Thanks for responding! I think that's actually the expected behavior of fs.accessSync--it throws an exception if the given permissions don't exist on the file (as opposed to returning true or false): https://nodejs.org/api/fs.html#fs_fs_accesssync_path_mode.

If we're not sure about which files should be signed vs. left unsigned, though, another potential option is to allow projects to specify an exclude list in the configuration or have a boolean option like onlySignExecutables.

I'm also happy to help test + submit a PR, but indeed wasn't sure how to get a dev environment set up :)

@mmaietta
Copy link
Collaborator

mmaietta commented Feb 14, 2021

Okiedokie, two items to do!

Optional signing

For specifically adding signing or ignoring files you can leverage either/both of these two EB features (ignore and binaries). This should be able to resolve the problem you're immediately facing right now.

To setup a local dev environment

Original dev env setup can be found here: #5426 (comment)
Updated instructions are below:

For local development, I used yalc so I could test changes with the electron-quick-start app
Env setup from scratch (line by line for an easy copy-paste)

yarn global add yalc

git clone https://github.com/electron-builder/electron-builder.git
git clone https://github.com/electron/electron-quick-start.git

cd electron-quick-start
npm install && npm install -D electron-builder

# Setup link for yalc's local "repo"
yalc link app-builder-lib builder-util builder-util-runtime dmg-builder electron-builder electron-publish electron-builder-squirrel-windows electron-forge-maker-appimage electron-forge-maker-nsis electron-forge-maker-nsis-web electron-forge-maker-snap electron-updater

The magical script for whenever you make changes to electron-builder! Rebuilds electron-builder, patches the npm module in electron-quick-start, and begins packaging. Ready for copy-paste into terminal

pushd ../electron-builder
yarn compile
find packages/ -type d -maxdepth 1 -print0 | xargs -0 -L1 sh -c 'cd "$0" && yalc push'
popd

@tmacwill
Copy link

tmacwill commented Feb 14, 2021

Got it, thanks! Is there a way to specify ignore in package.json? I see binaries listed on https://www.electron.build/configuration/mac.html, but not ignore. I tried adding ignore and got this error:

 - configuration.mac has an unknown property 'ignore'. These properties are valid:
   object { appId?, artifactName?, asar?, asarUnpack?, binaries?, bundleShortVersion?, bundleVersion?, category?, compression?, cscInstallerKeyPassword?, cscInstallerLink?, cscKeyPassword?, cscLink?, darkModeSupport?, detectUpdateChannel?, electronLanguages?, electronUpdaterCompatibility?, entitlements?, entitlementsInherit?, entitlementsLoginHelper?, extendInfo?, extraDistFiles?, extraFiles?, extraResources?, fileAssociations?, files?, forceCodeSigning?, gatekeeperAssess?, generateUpdatesFilesForAllChannels?, hardenedRuntime?, helperBundleId?, helperEHBundleId?, helperGPUBundleId?, helperNPBundleId?, helperPluginBundleId?, helperRendererBundleId?, icon?, identity?, minimumSystemVersion?, protocols?, provisioningProfile?, publish?, releaseInfo?, requirements?, signIgnore?, strictVerify?, target?, type? }

Is there a different field I should be adding ignore to?

@mmaietta
Copy link
Collaborator

Haha, I just discovered that it's piped from elsewhere
https://github.com/electron-userland/electron-builder/blob/master/packages/app-builder-lib/src/macPackager.ts#L212-L243

So I think you'll need to use signIgnore and it's a string/regex array: opts.signIgnore?.map(it => new RegExp(it))

@tmacwill
Copy link

Ah got it, that worked for me! I added the two paths that were being incorrectly signed to signIgnore, and my DMG builds successfully now.

I think it'd be helpful to add documentation for signIgnore to https://www.electron.build/configuration/mac.html, since the combination of signIgnore and binaries can indeed fix any issues with electron-builder detecting / not detecting files to sign. (It might also be good not to sign non-executable binary files by default, though I'm not 100% sure what's best.)

Thanks for all of your help, I really appreciate it!

facebook-github-bot referenced this issue in facebook/flipper Mar 23, 2021
Summary:
allow-large-files
Bumps [app-builder-lib](https://github.com/electron-userland/electron-builder) from 22.9.1 to 22.10.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/electron-userland/electron-builder/releases">app-builder-lib's releases</a>.</em></p>
<blockquote>
<h2>22.10.5</h2>
<p>We have a new maintainer — welcome Mike Maietta (<a href="https://github.com/mmaietta"><code>@​mmaietta</code></a>)!</p>
<p><strong>electron-updater</strong>  4.3.8 contains fix for <a href="https://github.com/electron-userland/electron-builder/issues/5595">#5595</a>. This version is a pre-release.</p>
<h3>Bug Fixes</h3>
<ul>
<li>Look for the Amazon cred header to remove auth header (<a href="https://github.com/electron-userland/electron-builder/issues/5594">#5594</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/46a8840bb4b3ed9b81ac65d3351debc4e34f30ce">46a8840</a>)</li>
<li><strong>mac:</strong> fix &quot;Contents/Info.plist&quot; don't have identical SHAs when creating a universal build (<a href="https://github.com/electron-userland/electron-builder/issues/5550">#5550</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/0ba839b72b6a13178ad5bc4b03a47f9aca980650">0ba839b</a>)</li>
<li>updating nsis script to properly identify arm64 vs x64 vs ia32 package files within universal installers. (<a href="https://github.com/electron-userland/electron-builder/issues/5558">#5558</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/60f7fe367c54f7c1274e2628534f43cb9a93fcf6">60f7fe3</a>)</li>
<li><strong>mac:</strong> Allow arm64 macs to update to x64 version if no arm64 version available (<a href="https://github.com/electron-userland/electron-builder/issues/5524">#5524</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/dc5c2f8e772da4a9e6f1cf9578c70f60ddc36b37">dc5c2f8</a>)</li>
<li><strong>mac:</strong> Pass platformName and options in doPack (<a href="https://github.com/electron-userland/electron-builder/issues/5511">#5511</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/f78e3f48d7cde71fd52fe1024c114bbe23f83562">f78e3f4</a>)</li>
<li><strong>mac:</strong> Workaround for hdiutil randomly failing (<a href="https://github.com/electron-userland/electron-builder/issues/5431">#5431</a>) (<a href="https://github.com/electron-userland/electron-builder/issues/5464">#5464</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/53270cfe4eb2de1ac55e4b281c2c53483d4d1f2e">53270cf</a>)</li>
<li>binary detection signing (<a href="https://github.com/electron-userland/electron-builder/issues/5493">#5493</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/a6e86b593048b4eb3047b7c3a54d02d0521b02d2">a6e86b5</a>), closes <a href="https://github.com/electron-userland/electron-builder/issues/5465">#5465</a></li>
<li>ci-tests (<a href="https://github.com/electron-userland/electron-builder/issues/5523">#5523</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/ced6e50b93c621de5de07838205d739010e2526b">ced6e50</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>electron-updater:</strong> follow <code>autoInstallOnAppQuit = false</code> on macOS (<a href="https://github.com/electron-userland/electron-builder/issues/5271">#5271</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/1643d569600a197858585e895e3176948d3eec85">1643d56</a>)</li>
<li>add support for executableName to non-Linux Platforms (<a href="https://github.com/electron-userland/electron-builder/issues/5409">#5409</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/106b68010f2daa0fb7d370c889b4a5494fa2887f">106b680</a>)</li>
<li>Custom electronDist callback (<a href="https://github.com/electron-userland/electron-builder/issues/5527">#5527</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/4f4e0187715a57a358ab8ccfefef3fd0f8186584">4f4e018</a>)</li>
<li>macOS default architecture (<a href="https://github.com/electron-userland/electron-builder/issues/5495">#5495</a>) (<a href="https://github.com/electron-userland/electron-builder/issues/5504">#5504</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/5203d7eb15726605e8987aeed7a5ccedc8152e04">5203d7e</a>)</li>
</ul>
<h2>22.10.4</h2>
<h3>Bug Fixes</h3>
<ul>
<li>CI unit tests (<a href="https://github.com/electron-userland/electron-builder/issues/5489">#5489</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/637334ddbadebf503a45f79adf0b481fcba98679">637334d</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li>Apple Silicon Universal Support (<a href="https://github.com/electron-userland/electron-builder/issues/5481">#5481</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/ca20151c3416324d2413f451dea0c9e3853bab79">ca20151</a>)</li>
<li><strong>mas:</strong> Apple Silicon support (<a href="https://github.com/electron-userland/electron-builder/issues/5484">#5484</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/6b7d30555d8f88a3a908a25adb3e8836ccdf5bc8">6b7d305</a>)</li>
</ul>
<h3>Reverts</h3>
<ul>
<li>Revert &quot;fix: codesign all binary-like files (<a href="https://github.com/electron-userland/electron-builder/issues/5322">#5322</a>)&quot; (<a href="https://github.com/electron-userland/electron-builder/issues/5488">#5488</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/026227888f8c537855abf6d6aa2141a692a6bc8e">0262278</a>), closes <a href="https://github.com/electron-userland/electron-builder/issues/5322">#5322</a> <a href="https://github.com/electron-userland/electron-builder/issues/5488">#5488</a></li>
</ul>
<h2>22.10.3</h2>
<h3>Bug Fixes</h3>
<ul>
<li>signing of playwright (<a href="https://github.com/electron-userland/electron-builder/issues/5451">#5451</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/50750683b11d5670a182bd72f7cab14023e2b030">5075068</a>)</li>
<li><strong>dmg:</strong> new version of mac_alias (<a href="https://github.com/electron-userland/electron-builder/issues/5460">#5460</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/a8acb583bc3c6fb1ff0dca2f07d1eefa26b1780a">a8acb58</a>)</li>
<li>compiler error and test updates (<a href="https://github.com/electron-userland/electron-builder/issues/5449">#5449</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/0dec1b8c198f1f9ca0124649883945ba561d11d3">0dec1b8</a>)</li>
<li><strong>AppImage:</strong> Add default argument --no-sandbox (<a href="https://github.com/electron-userland/electron-builder/issues/4496">#4496</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/ede6d50ddb6c23fe6bbb056bd80509c8f2ea0116">ede6d50</a>)</li>
<li><strong>linux:</strong> Linux icon is not set if path is not explicitly defined in config (<a href="https://github.com/electron-userland/electron-builder/issues/5385">#5385</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/9fd950bc046ca1748950f63894993947da8185c5">9fd950b</a>)</li>
<li><strong>nsis:</strong> cs locale typos in messages (<a href="https://github.com/electron-userland/electron-builder/issues/5358">#5358</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/0fb69b5d11e5c8aa707b7af709a0ab52f5019a9f">0fb69b5</a>)</li>
<li>codesign all binary-like files (<a href="https://github.com/electron-userland/electron-builder/issues/5322">#5322</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/27ea1b2b9ce47a234e82772e09adf0bc7931e0df">27ea1b2</a>)</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/electron-userland/electron-builder/commit/79940292bdd1a5de45b33453be492ea67529434b"><code>7994029</code></a> Cannot read property 'log' of undefined (<a href="https://github.com/electron-userland/electron-builder/issues/5622">#5622</a>)</li>
<li><a href="https://github.com/electron-userland/electron-builder/commit/1643d569600a197858585e895e3176948d3eec85"><code>1643d56</code></a> feat(electron-updater): follow <code>autoInstallOnAppQuit = false</code> on macOS (<a href="https://github.com/electron-userland/electron-builder/issues/5271">#5271</a>)</li>
<li><a href="https://github.com/electron-userland/electron-builder/commit/0360cd1705c7deab2e07f2a9abf8cdb652f945ff"><code>0360cd1</code></a> chore(build-utils): remove unreachable useless statement in createMessage (<a href="https://github.com/electron-userland/electron-builder/issues/5">https://github.com/facebook/flipper/issues/5</a>...</li>
<li><a href="https://github.com/electron-userland/electron-builder/commit/c348e318ce6e9a1d67febe40003aeb6badedea8f"><code>c348e31</code></a> Add &quot;open&quot; guard for AsarUtil to fix concurrent builds (<a href="https://github.com/electron-userland/electron-builder/issues/5567">#5567</a>)</li>
<li><a href="https://github.com/electron-userland/electron-builder/commit/11aa06c701a2ff091139a8bf8277151f7172efbb"><code>11aa06c</code></a> Detect CI tag for Bitbucket pipelines</li>
<li><a href="https://github.com/electron-userland/electron-builder/commit/8decc1867428ef532e81466e239a8b3ad04e4d9c"><code>8decc18</code></a> (fix) master branch depCheck + tests (<a href="https://github.com/electron-userland/electron-builder/issues/5630">#5630</a>)</li>
<li><a href="https://github.com/electron-userland/electron-builder/commit/46a8840bb4b3ed9b81ac65d3351debc4e34f30ce"><code>46a8840</code></a> fix: Look for the Amazon cred header to remove auth header (<a href="https://github.com/electron-userland/electron-builder/issues/5594">#5594</a>)</li>
<li><a href="https://github.com/electron-userland/electron-builder/commit/0ba839b72b6a13178ad5bc4b03a47f9aca980650"><code>0ba839b</code></a> fix(mac): fix &quot;Contents/Info.plist&quot; don't have identical SHAs when creating a...</li>
<li><a href="https://github.com/electron-userland/electron-builder/commit/60f7fe367c54f7c1274e2628534f43cb9a93fcf6"><code>60f7fe3</code></a> fix: updating nsis script to properly identify arm64 vs x64 vs ia32 package f...</li>
<li><a href="https://github.com/electron-userland/electron-builder/commit/5de0db981d069584933e88781a41a411e87ff1cd"><code>5de0db9</code></a> chore: lint</li>
<li>Additional commits viewable in <a href="https://github.com/electron-userland/electron-builder/compare/v22.9.1...v22.10.5">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=app-builder-lib&package-manager=npm_and_yarn&previous-version=22.9.1&new-version=22.10.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

Pull Request resolved: #2072

Reviewed By: passy

Differential Revision: D27230105

Pulled By: priteshrnandgaonkar

fbshipit-source-id: e53e942319a15d982797f7ce3af128a8b25b357f
facebook-github-bot referenced this issue in facebook/flipper Mar 23, 2021
Summary:
Bumps [electron-builder](https://github.com/electron-userland/electron-builder) from 22.9.1 to 22.10.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/electron-userland/electron-builder/releases">electron-builder's releases</a>.</em></p>
<blockquote>
<h2>22.10.5</h2>
<p>We have a new maintainer — welcome Mike Maietta (<a href="https://github.com/mmaietta"><code>@​mmaietta</code></a>)!</p>
<p><strong>electron-updater</strong>  4.3.8 contains fix for <a href="https://github.com/electron-userland/electron-builder/issues/5595">#5595</a>. This version is a pre-release.</p>
<h3>Bug Fixes</h3>
<ul>
<li>Look for the Amazon cred header to remove auth header (<a href="https://github.com/electron-userland/electron-builder/issues/5594">#5594</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/46a8840bb4b3ed9b81ac65d3351debc4e34f30ce">46a8840</a>)</li>
<li><strong>mac:</strong> fix &quot;Contents/Info.plist&quot; don't have identical SHAs when creating a universal build (<a href="https://github.com/electron-userland/electron-builder/issues/5550">#5550</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/0ba839b72b6a13178ad5bc4b03a47f9aca980650">0ba839b</a>)</li>
<li>updating nsis script to properly identify arm64 vs x64 vs ia32 package files within universal installers. (<a href="https://github.com/electron-userland/electron-builder/issues/5558">#5558</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/60f7fe367c54f7c1274e2628534f43cb9a93fcf6">60f7fe3</a>)</li>
<li><strong>mac:</strong> Allow arm64 macs to update to x64 version if no arm64 version available (<a href="https://github.com/electron-userland/electron-builder/issues/5524">#5524</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/dc5c2f8e772da4a9e6f1cf9578c70f60ddc36b37">dc5c2f8</a>)</li>
<li><strong>mac:</strong> Pass platformName and options in doPack (<a href="https://github.com/electron-userland/electron-builder/issues/5511">#5511</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/f78e3f48d7cde71fd52fe1024c114bbe23f83562">f78e3f4</a>)</li>
<li><strong>mac:</strong> Workaround for hdiutil randomly failing (<a href="https://github.com/electron-userland/electron-builder/issues/5431">#5431</a>) (<a href="https://github.com/electron-userland/electron-builder/issues/5464">#5464</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/53270cfe4eb2de1ac55e4b281c2c53483d4d1f2e">53270cf</a>)</li>
<li>binary detection signing (<a href="https://github.com/electron-userland/electron-builder/issues/5493">#5493</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/a6e86b593048b4eb3047b7c3a54d02d0521b02d2">a6e86b5</a>), closes <a href="https://github.com/electron-userland/electron-builder/issues/5465">#5465</a></li>
<li>ci-tests (<a href="https://github.com/electron-userland/electron-builder/issues/5523">#5523</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/ced6e50b93c621de5de07838205d739010e2526b">ced6e50</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>electron-updater:</strong> follow <code>autoInstallOnAppQuit = false</code> on macOS (<a href="https://github.com/electron-userland/electron-builder/issues/5271">#5271</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/1643d569600a197858585e895e3176948d3eec85">1643d56</a>)</li>
<li>add support for executableName to non-Linux Platforms (<a href="https://github.com/electron-userland/electron-builder/issues/5409">#5409</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/106b68010f2daa0fb7d370c889b4a5494fa2887f">106b680</a>)</li>
<li>Custom electronDist callback (<a href="https://github.com/electron-userland/electron-builder/issues/5527">#5527</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/4f4e0187715a57a358ab8ccfefef3fd0f8186584">4f4e018</a>)</li>
<li>macOS default architecture (<a href="https://github.com/electron-userland/electron-builder/issues/5495">#5495</a>) (<a href="https://github.com/electron-userland/electron-builder/issues/5504">#5504</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/5203d7eb15726605e8987aeed7a5ccedc8152e04">5203d7e</a>)</li>
</ul>
<h2>22.10.4</h2>
<h3>Bug Fixes</h3>
<ul>
<li>CI unit tests (<a href="https://github.com/electron-userland/electron-builder/issues/5489">#5489</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/637334ddbadebf503a45f79adf0b481fcba98679">637334d</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li>Apple Silicon Universal Support (<a href="https://github.com/electron-userland/electron-builder/issues/5481">#5481</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/ca20151c3416324d2413f451dea0c9e3853bab79">ca20151</a>)</li>
<li><strong>mas:</strong> Apple Silicon support (<a href="https://github.com/electron-userland/electron-builder/issues/5484">#5484</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/6b7d30555d8f88a3a908a25adb3e8836ccdf5bc8">6b7d305</a>)</li>
</ul>
<h3>Reverts</h3>
<ul>
<li>Revert &quot;fix: codesign all binary-like files (<a href="https://github.com/electron-userland/electron-builder/issues/5322">#5322</a>)&quot; (<a href="https://github.com/electron-userland/electron-builder/issues/5488">#5488</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/026227888f8c537855abf6d6aa2141a692a6bc8e">0262278</a>), closes <a href="https://github.com/electron-userland/electron-builder/issues/5322">#5322</a> <a href="https://github.com/electron-userland/electron-builder/issues/5488">#5488</a></li>
</ul>
<h2>22.10.3</h2>
<h3>Bug Fixes</h3>
<ul>
<li>signing of playwright (<a href="https://github.com/electron-userland/electron-builder/issues/5451">#5451</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/50750683b11d5670a182bd72f7cab14023e2b030">5075068</a>)</li>
<li><strong>dmg:</strong> new version of mac_alias (<a href="https://github.com/electron-userland/electron-builder/issues/5460">#5460</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/a8acb583bc3c6fb1ff0dca2f07d1eefa26b1780a">a8acb58</a>)</li>
<li>compiler error and test updates (<a href="https://github.com/electron-userland/electron-builder/issues/5449">#5449</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/0dec1b8c198f1f9ca0124649883945ba561d11d3">0dec1b8</a>)</li>
<li><strong>AppImage:</strong> Add default argument --no-sandbox (<a href="https://github.com/electron-userland/electron-builder/issues/4496">#4496</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/ede6d50ddb6c23fe6bbb056bd80509c8f2ea0116">ede6d50</a>)</li>
<li><strong>linux:</strong> Linux icon is not set if path is not explicitly defined in config (<a href="https://github.com/electron-userland/electron-builder/issues/5385">#5385</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/9fd950bc046ca1748950f63894993947da8185c5">9fd950b</a>)</li>
<li><strong>nsis:</strong> cs locale typos in messages (<a href="https://github.com/electron-userland/electron-builder/issues/5358">#5358</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/0fb69b5d11e5c8aa707b7af709a0ab52f5019a9f">0fb69b5</a>)</li>
<li>codesign all binary-like files (<a href="https://github.com/electron-userland/electron-builder/issues/5322">#5322</a>) (<a href="https://github.com/electron-userland/electron-builder/commit/27ea1b2b9ce47a234e82772e09adf0bc7931e0df">27ea1b2</a>)</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/electron-userland/electron-builder/commit/79940292bdd1a5de45b33453be492ea67529434b"><code>7994029</code></a> Cannot read property 'log' of undefined (<a href="https://github.com/electron-userland/electron-builder/issues/5622">#5622</a>)</li>
<li><a href="https://github.com/electron-userland/electron-builder/commit/1643d569600a197858585e895e3176948d3eec85"><code>1643d56</code></a> feat(electron-updater): follow <code>autoInstallOnAppQuit = false</code> on macOS (<a href="https://github.com/electron-userland/electron-builder/issues/5271">#5271</a>)</li>
<li><a href="https://github.com/electron-userland/electron-builder/commit/0360cd1705c7deab2e07f2a9abf8cdb652f945ff"><code>0360cd1</code></a> chore(build-utils): remove unreachable useless statement in createMessage (<a href="https://github.com/electron-userland/electron-builder/issues/5">https://github.com/facebook/flipper/issues/5</a>...</li>
<li><a href="https://github.com/electron-userland/electron-builder/commit/c348e318ce6e9a1d67febe40003aeb6badedea8f"><code>c348e31</code></a> Add &quot;open&quot; guard for AsarUtil to fix concurrent builds (<a href="https://github.com/electron-userland/electron-builder/issues/5567">#5567</a>)</li>
<li><a href="https://github.com/electron-userland/electron-builder/commit/11aa06c701a2ff091139a8bf8277151f7172efbb"><code>11aa06c</code></a> Detect CI tag for Bitbucket pipelines</li>
<li><a href="https://github.com/electron-userland/electron-builder/commit/8decc1867428ef532e81466e239a8b3ad04e4d9c"><code>8decc18</code></a> (fix) master branch depCheck + tests (<a href="https://github.com/electron-userland/electron-builder/issues/5630">#5630</a>)</li>
<li><a href="https://github.com/electron-userland/electron-builder/commit/46a8840bb4b3ed9b81ac65d3351debc4e34f30ce"><code>46a8840</code></a> fix: Look for the Amazon cred header to remove auth header (<a href="https://github.com/electron-userland/electron-builder/issues/5594">#5594</a>)</li>
<li><a href="https://github.com/electron-userland/electron-builder/commit/0ba839b72b6a13178ad5bc4b03a47f9aca980650"><code>0ba839b</code></a> fix(mac): fix &quot;Contents/Info.plist&quot; don't have identical SHAs when creating a...</li>
<li><a href="https://github.com/electron-userland/electron-builder/commit/60f7fe367c54f7c1274e2628534f43cb9a93fcf6"><code>60f7fe3</code></a> fix: updating nsis script to properly identify arm64 vs x64 vs ia32 package f...</li>
<li><a href="https://github.com/electron-userland/electron-builder/commit/5de0db981d069584933e88781a41a411e87ff1cd"><code>5de0db9</code></a> chore: lint</li>
<li>Additional commits viewable in <a href="https://github.com/electron-userland/electron-builder/compare/v22.9.1...v22.10.5">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=electron-builder&package-manager=npm_and_yarn&previous-version=22.9.1&new-version=22.10.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

Pull Request resolved: #2068

Reviewed By: passy

Differential Revision: D27230125

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 775e8d532b0516bf485b95e7057544d1d5a91e59
@ym13349140
Copy link

ym13349140 commented Feb 9, 2022

Ah got it, that worked for me! I added the two paths that were being incorrectly signed to signIgnore, and my DMG builds successfully now.

I think it'd be helpful to add documentation for signIgnore to https://www.electron.build/configuration/mac.html, since the combination of signIgnore and binaries can indeed fix any issues with electron-builder detecting / not detecting files to sign. (It might also be good not to sign non-executable binary files by default, though I'm not 100% sure what's best.)

Thanks for all of your help, I really appreciate it!

@tmacwill Hello, I recently use signIgnore to ignore some .dll files in my projects, these dll files are in ./dist_electron/mac/application/Contents directory, I tried many times of different value , including ./dist_electron/mac/application/Contents/xxx.dll , .dll$ and array value '[.dll$]', but it never make sense, can you show me how you set this param value? I'd be really appreciate if you can reply me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment