Skip to content

Feature request: Notarize the MacOS binaries in the pipeline #2066

@oscrx

Description

@oscrx

Notarize the MacOS binaries in the pipeline

When installing the Openshift Client on MacOS the Gatekeeper warns that the binary is untrusted and blocks it.
Users then have to go into the settings and overrule the block.
The process is pretty involved every update and may lead to users disabling safety features on their devices.

Related RedHat blog post about it by @DonSchenck

Suggested solution

Integrating this tool in the pipeline submits the binaries to Apple for verification (malware checks etc)
https://github.com/Bearer/gon

Requirements to fix this issue

  • An Apple developer account
  • Knowledge of the build process (upstream at RedHat?) (a.k.a. the magic that puts everything at mirror.openshift.com)

The steps users have to take if they don't want to disable security settings

  1. oc get updated (by manual download of with Brew)
  2. User tries to use it. (Or opens a new terminal and it gets used for shell completion)
  3. A warning message appears and the user clicks Done
oc not opened
  1. User opens System settings and finds the Security menu.
  2. User resets/overrules the warning.
Allow Anyway
  1. User tries to use oc again. Warning reappears.
Open Anyway
  1. User uses administrator/sudo rights to ignore the warning and stops being bothered until the next update.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions