hashgraph / hashgraph/hedera-hcs-sxc-java

Alice should verify her own encrypted messages

Open
#419 0 comments 0 reactions 0 assignees View on GitHub
P2
Dominant language
Java
Stars
20
Forks
9
PR merge metrics
No merged PRs in 30d

Description

**Detailed Description**
If Alice sends an encrypted message, she should be able to optionally specify if she wants to decrypt her own messages received from mirror so that any malicious activity is detected.

**Actual Behavior**
Alice checks signatures and hashes, but not the actual contents on the business message. This could lead to a case where her own state is out of sync with the intended recipients of her message:
-She assumes the message is correct and updates state
-Others will fail to decrypt and won't update state

**Expected Behavior**
Given an optional parameter, alice either assumes hash/signature is sufficient for verification or goes to the extra step of decrypting her own message.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.