Repository navigation
feat(launcher): regenerate the operator token - #140
Merged
Merged
Conversation
A New operator token button replaces the saved network-mode token, which locks out every device it was shared with. It is only available while BibleLive is stopped, because the server and pipeline read the token at start; the new one takes effect at the next Start. Asks once before it goes ahead, keeps the old token if saving fails, and never logs the token.
The New operator token button sat in its own row below the network fields, with the port warning's reserved line leaving a gap above it. It is now an Operator token field under Access with a short key-icon Replace button, and the port field spans both rows so its warning line sits beside it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Last launcher backlog item: Regenerate the operator token.
What
launcher.json.BIBLELIVE_OPERATOR_TOKENat start, so the button is disabled while live with "Stop BibleLive to make a new token." The new token takes effect at the next Start, and it then shows in the network details and QR as usual.Backend:
LauncherController.regenerate_token()+ bridge method (webui.py), EN/LT log strings. Frontend:TokenRenewalinSettings.tsx, bridge type, demo bridge, EN/LT messages. Changelog entry; backlog item removed.Security review
Done on the diff (token change, per SECURITY.md). No findings. Checked:
secrets(existing generator);build_plansets the env token explicitly,_probe_planonly feeds the mic meter, and the CLI and Tk fallback reload settings from disk.Checks
ruff check,ruff format --check,mypy(117 files): clean.pytest backend/tests: 2295 passed, 5 skipped. The skips are POSIX process groups ×3 and Quartz/AVFoundation on macOS ×2.