Adds a per-firmware default-login editor so the operator can set the discovery credentials each firmware is probed with, rather than a single global pair. - credentials.rs: a per-firmware store (firmware-credentials.txt, 0600, one "name<TAB>user<TAB>pass" line per firmware) keyed by the asic-rs firmware registry's Display name -- the same key the factory uses for with_firmware_discovery_auth. A firmware_default_creds() table seeds the editor with each firmware's shipped default (mirrors the asic-rs backends' default_auth constants; asic-rs does not expose them at the entry level). - configured_factory() precedence is now: a per-firmware override wins; else the single global scan credential (unchanged back-compat) applies to every backend; else the backend's own default_auth. Nothing saved -> plain MinerFactory::new(). - UI: the "Set scan credentials..." dialog gains a "Per-firmware defaults..." button opening an editor that lists every firmware in the compiled-in registry (read at runtime, not hard-coded) with editable user/pass fields prefilled from the saved override or the shipped default. Save persists only rows that differ from the shipped default (so defaults evolve with asic-rs and the file stays minimal); Reset to defaults clears all overrides. Verified under Xvfb: the editor lists all 16 registry firmwares with correct default logins (AntMiner root/root, WhatsMiner admin/admin, VNish blank/admin, UMC OS blank/letmein, ...). Round-trip/permissions/precedence covered by a unit test (folded into the existing HOME-scoped credentials test to avoid a parallel HOME race); self-test still passes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y8h447BPyJR4fioYZvQ9bh
alkane-toolkit
Cross-platform desktop toolkit (Rust core, native GUI) to install stock or alkaneOS firmware on ASIC miner control boards, whatever they currently run (stock, Vnish/AnthillOS, Braiins OS+, LuxOS, ePIC, BixBit, WardenOS).
Sibling to alkane-sdk: the SDK owns board knowledge and build outputs; this toolkit is the orchestration engine and operator UI that executes its install recipes safely.
Status
M1 primary view ships: discovery (vendored asic-rs 0.8.1) + the UI-SPEC table (6 KPIs, sortable/drag-reorderable columns, row checkboxes, scan-range editor, Excel-style filter, columns panel). Pure-Rust GUI on wxWidgets via vendored + patched wx-rs (docs/adr/0002, 0003).
Build + run (Debian)
scripts/build-wx-linux.sh # once: builds vendored wx 3.3.3 to ~/.cache
scripts/build-gui-linux.sh # cargo build --release -p alkane-gui
~/.cache/alkane-tk-target/release/alkane-toolkit
Windows/macOS: scripts/build-gui-windows.sh (needs a Windows/msys2
toolchain) and scripts/build-gui-macos.sh (needs a Mac) - the GUI code is
shared; only the C++ bridge + wx differ per platform.
See docs/IMPLEMENTATION-PLAN.md for the roadmap.
Hard rules (from alkane-sdk docs/install-methods.md, encoded in code)
- Never write the bootloader/secure region.
- Verify on a channel the installer does not control.
- Reboot is root-only; a dropped SSH connection can be success.
- A packer is per board; never reuse across boards.
- Boot-switch handling is an explicit, verified step.