obhq / obliteration

Experimental free and open-source PlayStation 4 kernel
https://obliteration.net
Apache License 2.0
628 stars 18 forks source link

Find a solution for adding entitlements on macOS without buying a certificate from Apple #706

Closed ultimaweapon closed 7 months ago

ultimaweapon commented 7 months ago

We are going to need com.apple.security.hypervisor soon.

VocalFan commented 7 months ago

Self-signed cert with an automatic certification signing on build?

ultimaweapon commented 7 months ago

The problem with self signed is I'm not sure it will work on the user machine without installing the certificate.

shinra-electric commented 7 months ago

You could check how Ryujinx does it. They use the hypervisor on macOS.

ultimaweapon commented 7 months ago

Thanks!

ultimaweapon commented 7 months ago

Not sure how they get the certificate: https://github.com/Ryujinx/Ryujinx/blob/master/distribution/macos/create_macos_build_ava.sh

ultimaweapon commented 7 months ago

Seems like it is required to buy a certificate from Apple.

shinra-electric commented 7 months ago

I don’t think so. As far as I’m aware the only thing that requires a paid dev account is notarisation, which is not necessary for distribution.

I’m sure the Ryujinx team will answer specifics on the discord channel.

VocalFan commented 7 months ago

@ultimaweapon From the Ryujinx team:

there is no certificate
it's an ad-hoc signature

you aren't forced to sign via Apple on macOS
some entitlements require an apple certificate and account
but not hypervisor and jit
ultimaweapon commented 7 months ago

Thanks!