Closed MainasuK closed 4 years ago
The previours version decrypt process checks the decryption key if we have or not. Now we loop all key try to decrypt. It just works.
The KeyID is identification for key pair to aid cipher & signature. Fingerprint or long ID / short ID is hash for the primary signing key. So the signature key should use KeyID to matching.
https://github.com/DimensionDev/Tessercube-iOS/pull/11#discussion_r294037967
Resolved issue.
Not burst force loop all private key to decrypt the message. Use message encryption key id and find the matching keys to decrypting like BCPGP.
(Not sure if we resolve it already. Just mark it as a note.