Skip to content

Key to CKey, Second Round#12652

Open
fira wants to merge 6 commits into
cmss13-devs:masterfrom
fira:death-to-key-v2
Open

Key to CKey, Second Round#12652
fira wants to merge 6 commits into
cmss13-devs:masterfrom
fira:death-to-key-v2

Conversation

@fira

@fira fira commented Jul 14, 2026

Copy link
Copy Markdown
Member

About the pull request

Basically change key_name to output ckey in almost all cases, rather than the key.

Explain why it's good for the game

Without this many logs are simply not exploitable because you don't know what to search for.

It's easy enough to canonize the search terms, but it is impossible to perform a search in the logging backend that conforms to all the possible original keys.

The most common case is that of a key with a single space in it, which is already enough to prevent finding any relevant logs.

Testing Photographs and Procedure

Did summary testing on local by using a couple sources of logging. That probably won't catch everything especially with multiple users and real different keys.

Changelog

🆑
admin: Many logs, admin messages, and attack logs now are normalized to use the ckey rather than full key - this is important in regard to consistency for searching in logs for example
admin: Users in admin messages will now be marked as disconnected even if there is no PM link for them
admin: Ghosted or otherwise out-of-body users will now show their previous ckey in admin messages rather than no key
/:cl:

@github-project-automation github-project-automation Bot moved this to Awaiting Review in Review Backlog Jul 14, 2026
@fira fira added the Needs Testing Need to test it on the guinea pigs (production server) label Jul 14, 2026
@cmss13-ci cmss13-ci Bot added Admin Make things harder for admins size/S Denotes a PR that changes 19-49 lines, ignoring generated files. labels Jul 14, 2026
@github-project-automation github-project-automation Bot moved this from Awaiting Review to Partially Approved / Mergeable in Review Backlog Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Admin Make things harder for admins Needs Testing Need to test it on the guinea pigs (production server) size/S Denotes a PR that changes 19-49 lines, ignoring generated files.

Projects

Status: Partially Approved / Mergeable

Development

Successfully merging this pull request may close these issues.

2 participants