Repository navigation
Conversation
pjeweb
changed the base branch from
osb/base/srt-passphrase
to
osb/pr/stream-id-secret
November 14, 2026 10:28
2 of 5 tasks
Remote config keeps withholding SRT passphrases and now also drops the Stream ID presence flags. The journal test also checks that a stored passphrase line never leaves the box.
The explicit SRT passphrase clear sat in the middle of setConfig's destination writes (relay server, account, Stream ID override, protocol, ingest slot). Those statements decide where the stream goes, and tests that replay that run of writes treat any extra step there as a change to the destination logic. Move the clear into its own step after them; behaviour is unchanged. Add a test that the only writes to the stored passphrase and key length in setConfig are the clear, and that it comes after the destination writes.
pjeweb
added a commit
that referenced
this pull request
Nov 16, 2026
Head 5be52bc. Remote-status inventory refreshed in the merge (26 local-only srt_passphrase/srt_pbkeylen leaves).
pjeweb
added a commit
that referenced
this pull request
Nov 16, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 17, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 17, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 18, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 18, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 19, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 21, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 22, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 23, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 24, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 24, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 25, 2026
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.
Why
Streamers may want their SRT output encrypted with a passphrase. The streaming engine doesn't accept a passphrase or key length yet. If the box simply accepted an encryption setting, it could start a stream that looks encrypted in Settings but goes out unencrypted, which is worse than having no setting at all.
What
streaming.setConfig({ srt_passphrase: "" })clears both saved encryption fields.How: the backend side is ready, but a gate stays closed until the engine publishes the capability and typed Start fields. I didn't invent any engine fields, and nothing here claims encrypted streaming works. Stream ID access control (checked by the receiver) stays separate from encryption.
Sits on #46; land that first. I merged #46's latest change in, so remote results here drop the passphrase, the Stream IDs and the "is set" flags, and the journal test also checks that a stored passphrase line never leaves the box.
Screenshots
Encryption controls are hidden by default. The after screenshots use a temporary local gate override for review; no committed code was changed.
How to verify
With the gate closed, the encryption controls don't appear. Saving a passphrase through the API is refused. Put one into
config.jsonby hand and try to start: Start is refused before the engine is contacted, and the passphrase doesn't show up in replies, logs or the journal download. Sendingsrt_passphrase: ""clears it again.Latest change, testing and limits
Risks
None for streaming today: the gate is closed and Start refuses any saved encryption setting.
Checklist