Skip to content

Sanitize session name on IPC sender#87

Merged
zackslash merged 2 commits into
mainfrom
fix/low-issues-ipc-idate-cbc-comment
Jul 19, 2026
Merged

Sanitize session name on IPC sender#87
zackslash merged 2 commits into
mainfrom
fix/low-issues-ipc-idate-cbc-comment

Conversation

@zackslash

Copy link
Copy Markdown
Owner

Sanitizes the session name in IpcMessage::encode() before interpolating it into the colon-delimited wire format, preventing a name containing : from corrupting the exec/switch protocol. The receiver-side sanitizeSessionName in parse() is retained for cross-version robustness.

Also adds a one-line comment above setBlockMode(Cbc) in scrollencryptor.cpp documenting the no-MAC choice as intentional given the device-lock key model.

@zackslash
zackslash merged commit 93d235d into main Jul 19, 2026
3 checks passed
@zackslash
zackslash deleted the fix/low-issues-ipc-idate-cbc-comment branch July 19, 2026 12:30
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.

1 participant