deltachat / deltachat-android

Email-based instant messaging for Android.
GNU General Public License v3.0
1.13k stars 147 forks source link

After autocrypt exchanging private key messages are still not readable #457

Closed Jikstra closed 5 years ago

Jikstra commented 6 years ago

Delta Chat version

0.0.6

Expected behavior

I can read encrypted messages after i did an autocrypt sync. Doesn't make any difference if I sync with desktop or "old android" client.

Actual behavior

It still says "Message was encrypted for another setup"

Steps to reproduce the problem

Screen snapshots

Debug logs

Logs ``` ```
r10s commented 6 years ago

but are future messages decrypted correctly?

deltachat-core does not try to re-decrypt exiting messages currently after key changes. maybe this would be a useful enhancement, have not really thought about this. would probably require some work and as delta currently works more with "future" messages than the past "ones" (there is no restore yet), not sure if this is really needed currently.

however, android-dev nor desktop nor the old app can change anything on this; they just display what they get from deltachat-core.

Jikstra commented 6 years ago

but are future messages decrypted correctly?

Have to check it out again, but if i remember correctly, it didn't work with messages i sent to myself or in any groups. Will investigate this again.

deltachat-core does not try to re-decrypt exiting messages currently after key changes. maybe this would be a useful enhancement, have not really thought about this. would probably require some work and as delta currently works more with "future" messages than the past "ones" (there is no restore yet), not sure if this is really needed currently.

I think this would be very useful, maybe together with syncing old messages :P

however, android-dev nor desktop nor the old app can change anything on this; they just display what they get from deltachat-core.

That's what made me wonder, normal android nor desktop do problems for me. But maybe it wasn't a future message and i just expected it to work with messages which are retrieved and shown.

r10s commented 5 years ago

i think this works meanwhile, please re-open if not.