Skip to content
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

Recipient defined with id is not found #66

Open
dxgroup1357 opened this issue May 27, 2021 · 3 comments
Open

Recipient defined with id is not found #66

dxgroup1357 opened this issue May 27, 2021 · 3 comments

Comments

@dxgroup1357
Copy link

dxgroup1357 commented May 27, 2021

com.virgilsecurity.crypto.foundation.FoundationException: Recipient defined with id is not found within message info during data decryption.

Getting Error while authDecrypt

@mrdemqn
Copy link

mrdemqn commented Dec 14, 2021

Team Virgil.
This issue still reproduced. Can you tell me please, how resolve it?

@andrii-iakovenko
Copy link
Contributor

This exception appears if you decrypt the message with wrong sender's card.

  1. User1 encrypts the message using card of User2 calling ethree.authEncrypt(message, user2Card)
  2. User2 should decrypt the message using card of User1 calling ethree.authDecrypt(encryptedMessage, user1Card).
    Use ethree.findUser method to obtain user's card

@mrdemqn
Copy link

mrdemqn commented Dec 15, 2021

@andrii-iakovenko Yes, I use the same logic.

This error appear only for some messages, the rest alrigth.

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

No branches or pull requests

3 participants