codesign for osx
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- go, macos
- Domain
- devtools, operating-systems
Research direction
Start with runner.go and the Manager.runner method, especially the point immediately after the restart signal. Review how the temporary application is launched on macOS and compare it with the reported codesign and firewall command sequence. Done means the refresh workflow addresses the incoming-network-connections warning without requiring those manual commands.
Written by the indexing model from the issue text.
Description
Hi Mark,
I'm working on a gobuffalo project and on refresh, if I listen on non-localhost, I get the dialog:
Do you want the application “yourapp-build” to accept incoming network connections?
I found that the following sequence of commands clears the warning
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --remove `pwd`/tmp/yourapp-build
sudo codesign --force --sign - `pwd`/tmp/payedge-build
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add `pwd`/tmp/yourapp-build
And seems we can shove it into runner.go just before cmd is run:
func (m *Manager) runner() {
var cmd *exec.Cmd
for {
<-m.Restart // right after this
Any plans/thoughts on this topic?
Thanks!
- Dominant language
- Go
- Stars
- 196
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from markbates/refresh
-
Difficulty 1/5 Under an hour Newbie friendliness 62/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 42/100
All issues in markbates/refresh
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
enhancement needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
kind/cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/kueue#15947 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100