Skip to content

style: fix rustfmt CI on security key validation PR#85

Closed
cursor[bot] wants to merge 3 commits into
mainfrom
cursor/ci-autofix-automation-a86d
Closed

style: fix rustfmt CI on security key validation PR#85
cursor[bot] wants to merge 3 commits into
mainfrom
cursor/ci-autofix-automation-a86d

Conversation

@cursor

@cursor cursor Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes cargo fmt --check failure on PR #84 (cursor/application-security-review-a7c2).

The security changes in db.rs, keygen.rs, and rtmp_bridge.rs were not rustfmt-compliant, causing the Tests workflow (cargo build & test) to fail before compilation.

Changes

  • Run cargo fmt on the three affected files

Test plan

  • cargo fmt --check passes locally
Open in Web View Automation 

View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

cursoragent and others added 3 commits July 15, 2026 02:08
… 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>
@AlexanderWagnerDev AlexanderWagnerDev changed the base branch from main to chore/librtmp2-0.4.0 July 15, 2026 13:33
@AlexanderWagnerDev AlexanderWagnerDev changed the base branch from chore/librtmp2-0.4.0 to main July 15, 2026 13:37
@AlexanderWagnerDev AlexanderWagnerDev deleted the cursor/ci-autofix-automation-a86d branch July 15, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants