You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Make notarization with Apple ID more usable (altool is no longer supported) (#8159)
Previously, we supported notarizing with the legacy `altool` or the new `notarytool` API. The legacy tool has since been decommissioned.
1. Look at `APPLE_TEAM_ID` environment variable for getting the team to notarize as. Previously, when authenticating with an Apple ID, this property was used to determine whether to notarize with the old or new API. It's confusing to have the authentication split across these two places.
2. Mark legacy notarize API as deprecated and remove old validation.
Copy file name to clipboardExpand all lines: docs/configuration/mac.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,8 +110,8 @@ The top-level [mac](configuration.md#Configuration-mac) key contains set of opti
110
110
<p>This option has no effect unless building for “universal” arch and applies only if <code>mergeASARs</code> is <code>true</code>.</p>
111
111
</li>
112
112
<li>
113
-
<p><codeid="MacConfiguration-notarize">notarize</code> <ahref="#NotarizeLegacyOptions">NotarizeLegacyOptions</a> | <ahref="#NotarizeNotaryOptions">NotarizeNotaryOptions</a> | Boolean | “undefined” - Options to use for @electron/notarize (ref: <ahref="https://github.com/electron/notarize">https://github.com/electron/notarize</a>). Supports both <code>legacy</code> and <code>notarytool</code> notarization tools. Use <code>false</code> to explicitly disable</p>
114
-
<p>Note: In order to activate the notarization step You MUST specify one of the following via environment variables: 1. <code>APPLE_API_KEY</code>, <code>APPLE_API_KEY_ID</code> and <code>APPLE_API_ISSUER</code>. 2. <code>APPLE_ID</code>and <code>APPLE_APP_SPECIFIC_PASSWORD</code> 3. <code>APPLE_KEYCHAIN</code> and <code>APPLE_KEYCHAIN_PROFILE</code></p>
113
+
<p><codeid="MacConfiguration-notarize">notarize</code> <ahref="#NotarizeLegacyOptions">NotarizeLegacyOptions</a> | <ahref="#NotarizeNotaryOptions">NotarizeNotaryOptions</a> | Boolean | “undefined” - Options to use for @electron/notarize (ref: <ahref="https://github.com/electron/notarize">https://github.com/electron/notarize</a>). Use <code>false</code> to explicitly disable</p>
114
+
<p>Note: In order to activate the notarization step You MUST specify one of the following via environment variables: 1. <code>APPLE_API_KEY</code>, <code>APPLE_API_KEY_ID</code> and <code>APPLE_API_ISSUER</code>. 2. <code>APPLE_ID</code>, <code>APPLE_APP_SPECIFIC_PASSWORD</code>, and <code>APPLE_TEAM_ID</code> 3. <code>APPLE_KEYCHAIN</code> and <code>APPLE_KEYCHAIN_PROFILE</code></p>
115
115
<p>For security reasons it is recommended to use the first option (see <ahref="https://github.com/electron-userland/electron-builder/issues/7859">https://github.com/electron-userland/electron-builder/issues/7859</a>)</p>
116
116
</li>
117
117
</ul>
@@ -124,7 +124,7 @@ The top-level [mac](configuration.md#Configuration-mac) key contains set of opti
<li><strong><codeid="NotarizeNotaryOptions-teamId">teamId</code></strong> String - The team ID you want to notarize under for when using <code>notarytool</code></li>
127
+
<litag.description=""><codeid="NotarizeNotaryOptions-teamId">teamId</code> String - The team ID you want to notarize under for when using <code>notarytool</code> Deprecated:</li>
* Options to use for @electron/notarize (ref: https://github.com/electron/notarize).
217
-
* Supports both `legacy` and `notarytool` notarization tools. Use `false` to explicitly disable
217
+
* Use `false` to explicitly disable
218
218
*
219
219
* Note: In order to activate the notarization step You MUST specify one of the following via environment variables:
220
220
* 1. `APPLE_API_KEY`, `APPLE_API_KEY_ID` and `APPLE_API_ISSUER`.
221
-
* 2. `APPLE_ID`and `APPLE_APP_SPECIFIC_PASSWORD`
221
+
* 2. `APPLE_ID`, `APPLE_APP_SPECIFIC_PASSWORD`, and `APPLE_TEAM_ID`
222
222
* 3. `APPLE_KEYCHAIN` and `APPLE_KEYCHAIN_PROFILE`
223
223
*
224
224
* For security reasons it is recommended to use the first option (see https://github.com/electron-userland/electron-builder/issues/7859)
0 commit comments