Description
Add a check to ensure that the IDs of the private key and ciphertext match. Same for the public and private keys, and the public key and the ciphertext.
Also, add a test for OpenPGP version (decrypt pre-defined ciphertext)
Related Issues
Checklist
- Changes have been tested locally.
- Unit tests have been written or updated as necessary.
- The code adheres to the repository's coding standards.
- Relevant documentation has been added or updated.
- No new warnings or errors have been introduced.
- SonarCloud issues have been reviewed and addressed.
- QA Passed
Testing Process
Added unit tests
Additional Notes
comparePublicKeyCiphertextIDs
is used only in tests now. But we can use it to validate the workspace invitations before sending them.