Mac: Enable signing with self signed cert#2944
Conversation
8ba1b8f to
5d7a39a
Compare
hoffie
left a comment
There was a problem hiding this comment.
Minor nit wrt [usage. Other than that, looks good. Thanks!
As you say, it should receive proper testing, especially of release builds. I think you still have access to @emlynmac's repo as well and could build a fake 0.something version for testing?
8e850c4 to
e411028
Compare
|
I've pushed to emlyns repo, but my macOS VM is currently unavailable, so I can't test. But it builds and seems to be signed. |
|
Ok. Tested yesterday, and it seems to be signed. |
e411028 to
2142c98
Compare
2142c98 to
d2052e9
Compare
|
@hoffie I probably did some mistake during the rebase (again...). However, I think it's ok now. Please review again, nevertheless. |
|
I've no idea what any of the changes mean. It's not affecting anything other than MacOS and none of the builds broke, so I'm happy with it. |
|
Can we make sure this actually does what is expected? |
They do still show a warning but the point is that cert signing problems would show up in production already. |
If this is purely to validate the process, then the signed artifact should not be published. |
|
I’d there any downside of a self signed test version? |
If it's published and people try to use it, then issues might be raised in confusion. |
|
Yes, but the same would be true for unsigned builds. This would just affect PR builds and maybe the legacy build. Release builds would be built on your repo. |
Co-authored-by: Christian Hoffmann <[email protected]>
1446e32 to
3c239bc
Compare
|
Hi @ann0see, is there any progress here? |
|
There's still a Test and OK by Emlyn outstanding. |
pljones
left a comment
There was a problem hiding this comment.
Looks syntactically correct.
|
Ok. Now we need to add a certificate. |
Short description of changes
Enables the CI to use a code signing certificate signed by a non Apple CA to sign development builds.
CHANGELOG: Build: Enabled signing of macOS binary if a self signed certificate is given.
Context: Fixes an issue?
Fixes: #2924
Does this change need documentation? What needs to be documented and how?
Probably not.
Status of this Pull Request
Ready for review (and test on Apple Silicon, a repo without the respective secrets set and a repo with the real apple secrets set (@emlynmac 's repo))
What is missing until this pull request can be merged?
Still needs some (external testing). Artifacts are building on my repo: https://github.com/ann0see/jamulus/actions/runs/3352547263/jobs/5554760442
Checklist
AUTOBUILD: Please build all targets