Skip to content

Just to get an Actions run; don't merge this into master#669

Closed
dnwiebe wants to merge 31 commits into
masterfrom
GH-622-review2
Closed

Just to get an Actions run; don't merge this into master#669
dnwiebe wants to merge 31 commits into
masterfrom
GH-622-review2

Conversation

@dnwiebe

@dnwiebe dnwiebe commented Jul 10, 2025

Copy link
Copy Markdown
Collaborator

No description provided.

@dnwiebe
dnwiebe requested a review from Copilot July 18, 2025 01:31

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request appears to be refactoring cryptographic functionality throughout the MASQ Node codebase. Based on the title "Just to get an Actions run; don't merge this into master", this is a work-in-progress change intended for testing CI/CD pipelines rather than a production merge.

Key Changes:

  • Refactor static CryptDE references to use a CryptDEPair struct containing main and alias cryptographic engines
  • Replace global static main_cryptde() and alias_cryptde() functions with lazy-static CRYPTDE_PAIR instances
  • Add serialization/deserialization methods (to_string, make_from_str) to CryptDE implementations
  • Remove the Clone derive from PersistentConfigurationMock and implement it manually to handle CryptDE cloning

Reviewed Changes

Copilot reviewed 53 out of 53 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
node/tests/initialization_test.rs Adds new integration test and imports for CryptDE handling
node/src/test_utils/persistent_configuration_mock.rs Removes Clone derive and adds manual Clone implementation with CryptDE methods
node/src/test_utils/neighborhood_test_utils.rs Updates test utilities to use CryptDEPair parameter
node/src/test_utils/mod.rs Replaces global CryptDE functions with lazy static CryptDEPair
node/src/sub_lib/stream_key.rs Updates tests to use lazy static CryptDEPair
node/src/sub_lib/route.rs Updates tests to use lazy static CryptDEPair
node/src/sub_lib/proxy_client.rs Changes CryptDE field to CryptDEPair
node/src/sub_lib/neighborhood.rs Updates Display trait implementations and test usage
node/src/sub_lib/hopper.rs Changes cryptdes field to cryptde_pair and updates tests
node/src/sub_lib/hop.rs Updates tests to use lazy static CryptDEPair
node/src/sub_lib/cryptde_real.rs Adds serialization methods and updates as_any implementation
node/src/sub_lib/cryptde_null.rs Adds serialization methods and updates tests
node/src/sub_lib/cryptde.rs Adds serialization method signatures to CryptDE trait

Comment thread node/src/sub_lib/neighborhood.rs Outdated
Comment thread node/src/test_utils/persistent_configuration_mock.rs
Comment thread node/src/proxy_server/mod.rs
Comment thread node/src/sub_lib/cryptde_real.rs
Comment thread node/src/node_configurator/unprivileged_parse_args_configuration.rs
@dnwiebe dnwiebe closed this Jul 31, 2025
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