entitlementutil

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package entitlementutil provides a workaround for https://github.com/lima-vm/lima/issues/1742

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AskToSignIfNotSignedProperly

func AskToSignIfNotSignedProperly(qExe string)

AskToSignIfNotSignedProperly asks to sign the QEMU binary with the "com.apple.security.hypervisor" entitlement.

On Homebrew, QEMU binaries are usually already signed, but Homebrew's signing infrastructure is broken for Intel as of August 2023. https://github.com/lima-vm/lima/issues/1742

func IsSigned

func IsSigned(qExe string) error

IsSigned returns an error if the binary is not signed, or the sign is invalid, or not associated with the "com.apple.security.hypervisor" entitlement.

func Sign

func Sign(qExe string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL