Skip to content

open source

Open source contributions

Focuser

2 merged PRs

An open-source website and application blocker built in Rust.

  1. Hidden CLI password prompts

    PR #42 · merged

    Stopped CLI password locks from exposing secrets in shell history and process listings. Enabling and unlocking protection now prompt for the password in the terminal without echoing it.

    • Prompted for a password and confirmation on enable, and stopped before changing protection on empty or mismatched input.
    • Wrote prompts to the terminal so JSON output stays clean, and failed clearly when a prompt is needed without an interactive terminal.
    • Kept explicit password arguments working, with eight regression tests covering confirmation, input errors, missing terminals, and conflicting unlock methods.

    Rust · CLI · rpassword

    view contribution
  2. Password & random-text unlock

    PR #16 · merged

    Added two ways to deliberately end a block list’s protection early: enter a password or retype a random-text challenge. Built the flow across the Rust backend, CLI, and desktop UI.

    • Hashed passwords with Argon2 and persisted single-use unlock challenges in the database so they survive separate CLI processes.
    • Preserved existing protection when block lists are updated, and kept scheduled blocking active after an unlock.
    • Added an unlock-method selector, translated error messages, and tests for wrong answers, challenge replay, and protection persistence.

    Rust · TypeScript · Tauri · Argon2

    view contribution