iOS error decrypting messages specifically sent from android
Closed this issue · 2 comments
iOS uses the openssl library, android uses Java's Security javax.cipher library. Both use RSA and encrypt/decrypt, but iOS is unable to decipher from android encrypted messages. No clear error is given except:
Decrypt error: error:0407A079:rsa routines:func(122):reason(121) ((null))
Android messages work when decrypted on the site.
https://s3.amazonaws.com/s3.documentcloud.org/documents/1302613/ios-security-guide-sept-2014.pdf
also interesting...
"On devices running iOS 8, your personal data such as photos, messages (including attachments), email, contacts, call history, iTunes content, notes, and reminders is placed under the protection of your passcode," the company wrote on its website Wednesday evening. "Unlike our competitors, Apple cannot bypass your passcode and therefore cannot access this data. So it's not technically feasible for us to respond to government warrants for the extraction of this data from devices in their possession running iOS 8."
Identified as being a base64 encoding issue, android side