Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

Automatically load ZeroTier One's authtoken.secret #1

@ethanjli

Description

@ethanjli

For usability, we'll need the app to be able to automatically load ZeroTier One's authtoken.secret file so that we can issue requests to the ZeroTier One service (which runs on localhost:9993). This will require the app to have filesystem access, and the app will need to open the authtoken.secret file (whose location depends on the target OS) using pkexec on Linux or UAC elevation request on Windows which may require adding a manifest using cargo somehow. I'm not sure whether or how we can require the app to ask for administrator privileges. If the app is unable to open the file, we'll certainly need to display an error message to the user.

In the meantime, we can add a text field to paste in the authtoken, so that we can provide that in HTTP requests to the ZeroTier One service.

Metadata

Metadata

Assignees

Labels

stage: devOn/for a development versiontype: featureBrand new functionality, features, pages, workflows, endpoints, etc.work: complexThe situation is complex (unknown unknowns), emergent practices used

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions