deltachat / deltachat-core

Delta.Chat C-Library with e2e chat-over-email functionality & Python bindings
https://c.delta.chat
Other
304 stars 27 forks source link

Sending emails to yourself using Enigmail and reading them with DC does not work #560

Closed Hocuri closed 5 years ago

Hocuri commented 5 years ago
Hocuri commented 5 years ago

@r10s Actually the key transfer worked. I mean, I can send an encrypted message to myself using Delta Chat and read it with Enigmail now. I can also read my encrypted DC Chats with Enigmail.

It is just sending messages from Enigmail to DC that does not work.

Hocuri commented 5 years ago

It is getting weirder... I sent an email to a friend using Enigmail and could read it within Delta Chat in the chat view. I changed the title accordingly.

hpk42 commented 5 years ago

On Tue, Feb 12, 2019 at 08:27 -0800, Hocuri wrote:

It is getting weirder... I sent an email to a friend using Enigmail and could read it within Delta Chat in the chat view. I changed the title accordingly.

This indeed sounds odd.

Could you check if there maybe are odd keys in the key manager for your e-mail address that you use for self-sending?

When you sent the Autocrypt Setup message from Enigmail to Deltachat, then DeltaChat also keeps the old/previous key. So i don't know how DeltaChat could fail to decrypt a message from Enigmail -- unless there are more keys involved for your address. Or unless there is a PGP-format/parsing problem (which i guess is unlikely).

Hocuri commented 5 years ago

Could you check if there maybe are odd keys in the key manager for your e-mail address that you use for self-sending?

I couldn't find any. BTW my friend tried to reproduce this but couldn't.

hpk42 commented 5 years ago

@hocuri if you don't mind i close this for now. Please feel free to open a new issue (and state precise versions) if the unreadability issue re-appears. Delta Chat does not offer much help yet in detecting "mixed encryption" settings and fixing yet so the multi-device issue is going to stay a little messy for a while :/

Hocuri commented 5 years ago

Well, the issue persists but I failed to reproduce it on another phone myself and nobody else seems to have it. So it is true that it would not make much sense to keep this issue open.