Skip to content

Commit

Permalink
Document identity validation flag
Browse files Browse the repository at this point in the history
  • Loading branch information
sethlu committed Jun 1, 2017
1 parent eff0c97 commit 6aa85c0
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 8 deletions.
18 changes: 13 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ See [default.entitlements.mas.inherit.plist](https://github.com/electron-userlan

`gatekeeper-assess` - *Boolean*

Flag to enable Gatekeeper assessment after signing the app. Disabling it is useful for signing with self-signed certificates.
Flag to enable/disable Gatekeeper assessment after signing the app. Disabling it is useful for signing with self-signed certificates.
Gatekeeper assessment is enabled by default on `darwin` platform.
Default to `true`.

Expand All @@ -163,6 +163,11 @@ Default to be selected with respect to `provisioning-profile` and `platform` fro

Signing platform `mas` will look for `3rd Party Mac Developer Application: * (*)`, and platform `darwin` will look for `Developer ID Application: * (*)` by default.

`identity-validation` - *Boolean*

Flag to enable/disable validation for the signing identity. If enabled, the `identity` provided will be validated in the `keychain` specified.
Default to `true`.

`keychain` - *String*

The keychain name.
Expand All @@ -181,14 +186,12 @@ Default to auto detect by presence of `Squirrel.framework` within the applicatio

`pre-auto-entitlements` - *Boolean*

Flag to enable automation of `com.apple.security.application-groups` in entitlements file and update `Info.plist` with `ElectronTeamID`.
Allowed values: `true`, `false`.
Flag to enable/disable automation of `com.apple.security.application-groups` in entitlements file and update `Info.plist` with `ElectronTeamID`.
Default to `true`.

`pre-embed-provisioning-profile` - *Boolean*

Flag to enable embedding of provisioning profile in the current working directory.
Allowed values: `true`, `false`.
Flag to enable/disable embedding of provisioning profile in the current working directory.
Default to `true`.

`provisioning-profile` - *String*
Expand Down Expand Up @@ -304,6 +307,11 @@ Default to be selected with respect to `platform` from `keychain` or keychain by

Flattening platform `mas` will look for `3rd Party Mac Developer Installer: * (*)`, and platform `darwin` will look for `Developer ID Installer: * (*)` by default.

`identity-validation` - *Boolean*

Flag to enable/disable validation for signing identity. If enabled, the `identity` provided will be validated in the `keychain` specified.
Default to `true`.

`install` - *String*

Path to install the bundle.
Expand Down
3 changes: 3 additions & 0 deletions bin/electron-osx-flat-usage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ DESCRIPTION
Name of certificate to use when signing.
Default to selected with respect to --platform from --keychain specified or keychain by system default.

--identity-validation, --no-identity-validation
Flag to enable/disable validation for the signing identity.

--install=install-path
Path to install the bundle.
Default to ``/Applications''.
Expand Down
9 changes: 6 additions & 3 deletions bin/electron-osx-sign-usage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ DESCRIPTION
This option only applies when signing with entitlements.

--gatekeeper-assess, --no-gatekeeper-assess
Flag to enable Gatekeeper assessment after signing the app. Disabling it is useful for signing with self-signed certificates.
Flag to enable/disable Gatekeeper assessment after signing the app. Disabling it is useful for signing with self-signed certificates.
Gatekeeper assessment is enabled by default on ``darwin'' platform.

--help
Expand All @@ -32,6 +32,9 @@ DESCRIPTION
Name of certificate to use when signing.
Default to selected with respect to --provisioning-profile and --platform from --keychain specified or keychain by system default.

--identity-validation, --no-identity-validation
Flag to enable/disable validation for the signing identity.

--ignore=regex
Regex that signals ignoring a file before signing.

Expand All @@ -45,10 +48,10 @@ DESCRIPTION
Default to auto detect from application bundle.

--pre-auto-entitlements, --no-pre-auto-entitlements
Flag to enable automation of entitlements file and Info.plist.
Flag to enable/disable automation of entitlements file and Info.plist.

--pre-embed-provisioning-profile, --no-pre-embed-provisioning-profile
Flag to enable embedding of provisioning profile.
Flag to enable/disable embedding of provisioning profile.

--provisioning-profile=file
Path to provisioning profile.
Expand Down

0 comments on commit 6aa85c0

Please sign in to comment.