Add daemon with multi-user support
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 38
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
To better support a shared dev server, we need a daemon that launches on boot and run as root.
Upon initialization, the daemon will scan all users $HOME looking
for ~/.config/webexec if found, it will read the config to get the user's
fingerprint (aka public key) and add it to its users list.
It will use the users list for two things:
- Accepting WHIP connection for all the users' fingerprints
- Update peerbook with the list of users' fingerprints
Upon a SIGHUP signal to the daemon it willclear the peer list and starts the scan.
Once a connection request is received a webexec user agent will be launched and used to establish the peer connection.
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.
Research direction
Start by reading the existing server, user-agent, and peerbook entry points to understand how connections and fingerprints are currently handled. Define the daemon's boot, root, user-home scanning, SIGHUP reload, and connection-launch behavior before implementing it. Done means all discovered users are accepted and represented in the peerbook, with reload behavior verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- authentication, backend, networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100