style: fix rustfmt CI on security key validation PR#85
Closed
cursor[bot] wants to merge 3 commits into
Closed
Conversation
… paths HTTP stream creation already enforces 32+ character publish/play/stats keys, but RTMP authorization and public stats lookups still accepted shorter values present in upgraded SQLite databases. Reject sub-minimum keys at lookup time so grandfathered weak keys cannot be brute-forced over RTMP or the rate-limited /stats endpoints. Co-authored-by: Alexander Wagner <info@alexanderwagnerdev.com>
cargo fmt --check failed on PR #84 due to formatting drift in db.rs, keygen.rs, and rtmp_bridge.rs introduced by the legacy short-key guard. Co-authored-by: Alexander Wagner <info@alexanderwagnerdev.com>
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.
Summary
Fixes
cargo fmt --checkfailure on PR #84 (cursor/application-security-review-a7c2).The security changes in
db.rs,keygen.rs, andrtmp_bridge.rswere not rustfmt-compliant, causing the Tests workflow (cargo build & test) to fail before compilation.Changes
cargo fmton the three affected filesTest plan
cargo fmt --checkpasses locallyNeed help on this PR? Tag
/codesmithwith what you need. Autofix is disabled.