Skip to content

Add CurveZMQ support for encrypted message queue binding - #1318

Open
jhawk28 wants to merge 3 commits into
trezor:masterfrom
jhawk28:curve-support
Open

Add CurveZMQ support for encrypted message queue binding#1318
jhawk28 wants to merge 3 commits into
trezor:masterfrom
jhawk28:curve-support

Conversation

@jhawk28

@jhawk28 jhawk28 commented Aug 25, 2025

Copy link
Copy Markdown

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds CurveZMQ support for encrypted message queue binding to enable secure communication with ZeroMQ servers. The changes introduce optional encryption capabilities while maintaining backward compatibility.

  • Adds optional CurveZMQ encryption configuration with public/private key pairs
  • Implements automatic keypair generation when keys are not provided
  • Updates the MQ initialization to support the new curve parameter

Reviewed Changes

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

File Description
bchain/mq.go Adds curve parameter to NewMQ function and implements CurveZMQ encryption setup
bchain/coins/btc/bitcoinrpc.go Adds MessageQueueCurve configuration field and updates MQ initialization call

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread bchain/mq.go Outdated
Comment thread bchain/mq.go Outdated
jhawk28 and others added 2 commits October 6, 2025 10:11
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@quickchase

Copy link
Copy Markdown

@etimofeeva - any chance this can get a review from the team, this feature would be useful

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.

3 participants