-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: use dht inbound error for decryption (see issue #4596) #4601
fix: use dht inbound error for decryption (see issue #4596) #4601
Conversation
I think let's merge after #4594 |
Yeah, this will conflict. Plus, there's a desire to provide more specific error types for decryption and padding failure modes in order to make tests cleaner. |
Mentioning issue #4596 so it links properly. |
… into ja_dht_inbound_error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect - thanks
Description
Use
DhtInboundError
for DHT message decryption.Motivation and Context
After an internal discussion, it was decided to output an error of
DhtInboundError
instead ofDhtOutboundError
, incomms/dht/src/crypt.rs:131
andcomms/dht/src/inbound/decryption.rs:409
.Fixes #4596
How Has This Been Tested?
Run
cargo build