Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Accept private groupinit messages from any signing key #1282

Merged
merged 2 commits into from
Apr 21, 2023

Conversation

awrichar
Copy link
Contributor

Since we allow private messages to originate from an unregistered blockchain signing key,
we must also accept groupinit messages from the same (since the first private message
to a group will trigger group creation as a side-effect).

Fixes #1247

@awrichar awrichar force-pushed the groupinit2 branch 2 times, most recently from 32ccad0 to 1015cee Compare April 18, 2023 15:39
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Since we allow private messages to originate from an unregistered blockchain signing key,
we must also accept groupinit messages from the same (since the first private message
to a group will trigger group creation as a side-effect).

Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
@codecov-commenter
Copy link

Codecov Report

Merging #1282 (6791538) into main (f892be6) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main     #1282   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          308       308           
  Lines        20720     20720           
=========================================
  Hits         20720     20720           
Impacted Files Coverage Δ
internal/privatemessaging/groupmanager.go 100.00% <ø> (ø)
internal/events/aggregator.go 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Contributor

@peterbroadhurst peterbroadhurst left a comment

Choose a reason for hiding this comment

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

👍

@peterbroadhurst peterbroadhurst merged commit ff9bf10 into hyperledger:main Apr 21, 2023
@peterbroadhurst peterbroadhurst deleted the groupinit2 branch April 21, 2023 20:47
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Initializing a group using a non-registered key fails
4 participants