Feature request: Support credential caching / timeout, to avoid re-prompting for UAC
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 5.9k
- Forks
- 180
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 2
Description
We should support a setting for a "credential timeout" that would allow the user to enter their password once, and then not be prompted for a period of time (e.g. 15 minutes). This would be similar to the sudo behavior on Linux.
We'd need to keep the elevated sudo instance around for the duration of the timeout, and allow multiple clients to connect to the same server instance.
Contributor guide
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 tracing how the elevated sudo instance is created and how clients connect to it. Determine the lifecycle needed for a configurable credential timeout and shared server access, then verify that repeated clients avoid re-prompting during the timeout and prompt again after it expires.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- operating-systems, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100