Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idea: allow compiling Relay locked to a specific machine #35

Open
ezekg opened this issue Feb 3, 2025 · 1 comment · May be fixed by #36
Open

Idea: allow compiling Relay locked to a specific machine #35

ezekg opened this issue Feb 3, 2025 · 1 comment · May be fixed by #36

Comments

@ezekg
Copy link
Member

ezekg commented Feb 3, 2025

This is a half-baked idea right now, but quite a few people have asked for a way to do this. Thinking of using a machine file. Could automatically assert fingerprint and maybe hostname/IP? Would require custom compiling Relay.

@ezekg
Copy link
Member Author

ezekg commented Feb 4, 2025

Compiling Relay with specific environment variables representing machine assertions could work?

RELAY_MACHINE_PUBLIC_KEY='required' \
  RELAY_MACHINE_FINGERPRINT='required' \
  RELAY_MACHINE_HOSTNAME='optional' \
  RELAY_MACHINE_IP='optional' \
  make build-linux-amd64

@ezekg ezekg linked a pull request Feb 4, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant