Skip to content

chore(config): simplify signaling_token_pub/privkey_* from wildcard to one dedicated appConfig value each, use dedicated and explicitly set signaling servers secret in method - #20031

Merged
sudormant merged 1 commit into
mainfrom
chore/noid/SimplifySignalingTokensConfig
Oct 28, 2026

Conversation

@sudormant

Copy link
Copy Markdown
Contributor

This also removes the signaling_token_privkey from the RoomController / getTalkHashHeader.
It already checks for the PubKey and assuming cryptography is not broken, a new pubkey belongs to a different privkey than before and thus can be assumed to have changed as well.
And if a different privkey derives to the same PubKey, it still can sign messages without needing a client reload.
The other way around, if a privkey changed but PubKey isn't checked, the PubKey will be a different one than before (if cryptography isn't broken, no two distinct private keys have the same public key).

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not possible
  • 📘 API documentation in docs/ has been updated or is not required
  • 🔖 Capability is added or not needed

@sudormant sudormant added this to the ☃️ Next Major (36) milestone Oct 28, 2026
@sudormant sudormant self-assigned this Oct 28, 2026
@sudormant sudormant added feature: settings ⚙️ Settings and config related issues feature: signaling 📶 Internal and external signaling backends technical debt labels Oct 28, 2026
@sudormant
sudormant marked this pull request as ready for review October 28, 2026 15:34
Comment thread lib/Controller/RoomController.php Resolved
Comment thread lib/ConfigLexicon.php Resolved
…o one dedicated appConfig value each, use dedicated and explicitly set signaling servers secret in method

Signed-off-by: Christian Lorang <christian.lorang@nextcloud.com>
@sudormant
sudormant force-pushed the chore/noid/SimplifySignalingTokensConfig branch from a1dabed to 69834ad Compare October 28, 2026 15:48
@sudormant
sudormant merged commit 46a7a06 into main Oct 28, 2026
74 checks passed
@sudormant
sudormant deleted the chore/noid/SimplifySignalingTokensConfig branch October 28, 2026 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: settings ⚙️ Settings and config related issues feature: signaling 📶 Internal and external signaling backends technical debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants