Open adamyonk opened 3 years ago
Thanks for reporting this! Unfortunately I don't have access to a macOS system. Would you mind checking if building from source works?
@dimakogan sorry for the delay! Can confirm that installing directly:
go get github.com/StanfordSNR/guardian-agent/...
cd $GOPATH/src/github.com/StanfordSNR/guardian-agent
./scripts/sga-guard <host>
does work as expected.
Thanks for checking! There have been barely any changes between the release used by brew and HEAD, so perhaps the difference is due to the fact that the release used by brew was compiled using an older go version. I will build a new release and send a pull request to the person that maintains the brew tap.
Thanks for raising this issue!
Dima, is there perhaps an update on the rebuild release on brew? The release of macOS Monterey will happen soon and it is not possible to use guardian-agent on macOS on this release now.
Sadly, this guardian-agent appears to have fallen into disrepair and no longer builds with recent Go versions and libraries, let alone on macOS.
I understand this was the product of an academic project that has been completed, but is there any plan for ongoing maintenance?
The building from source instructions worked for me on macOS Monterey with go1.15.15
@dancrossnyc to get this working on macOS Monterey (on a M1 system) with go1.18.1 from homebrew I had to build like this:
export GOPATH=$HOME/go
mkdir -p $GOPATH/{bin,pkg,src}
GO111MODULE=off go get github.com/StanfordSNR/guardian-agent/...
# copy these out to a location on PATH
# $GOPATH/bin/{sga-guard-bin,sga-ssh,sga-stub}
# $GOPATH/src/github.com/StanfordSNR/guardian-agent/scripts/{sga-guard,sga-env.sh}
Testing on the macOS Beta results in:
This is guardian agent installed via homebrew.