Skip to content

refactor (pool 1/5): extract PSRP session crypto into crypto.rs#31

Merged
irvingouj@Devolutions (irvingoujAtDevolution) merged 1 commit into
masterfrom
stack/06-pool-extract-crypto
Jun 23, 2026
Merged

refactor (pool 1/5): extract PSRP session crypto into crypto.rs#31
irvingouj@Devolutions (irvingoujAtDevolution) merged 1 commit into
masterfrom
stack/06-pool-extract-crypto

Conversation

@irvingoujAtDevolution

Copy link
Copy Markdown
Collaborator

Replaces #25 (auto-closed when its style/rustfmt base branch was deleted on merge of #30).

First step of decomposing the ~1900-line RunspacePool. Pure, behavior-preserving extraction of the SecureString / PSRP key-exchange crypto into runspace_pool/crypto.rs. Rebased onto the formatted master (#30 merged). clippy + fmt + tests clean.

Pure, behavior-preserving move of the SecureString in-place encryption walk,
the AES-256-CBC helper, and KeyExchangeState out of the ~1900-line pool.rs into
a dedicated runspace_pool/crypto.rs module (private, items pub(super)). First
step of decomposing the RunspacePool god-object; no logic or wire-format change.
@irvingoujAtDevolution irvingouj@Devolutions (irvingoujAtDevolution) merged commit d7eeecb into master Jun 23, 2026
5 checks passed
@irvingoujAtDevolution irvingouj@Devolutions (irvingoujAtDevolution) deleted the stack/06-pool-extract-crypto branch June 23, 2026 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant