-
-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant transfer Autocrypt key (Enigmail -> Deltachat) #279
Comments
i can confirm this bug. |
@g6094199 can you please have a look a the content of the message sent by Thunderbird in Thunderbird > View source - in my test, the mail was way too short, sth like:
... the part between |
just trying to decrypt the message using and as the decryption does not lead to a private key, delta chat assumes a bad setup code then. |
so this is the source of the send mail.
opened a ticket at the enigmail bugtracker |
@g6094199 thanks for pushing this forward. it may have something to do with an unset password in enigmail. i tried again and were prompted four (!) times to type a password, after that the payload was larger, but still unencryptable. might be that this key itself was protected with an additional password then ... |
i've always been asked 2 times for setting a password. i'm i dialogue with patrick brunswick on the sf bugtracker now. |
I had the same problem. The source of the message was much larger as you indicated it should be however it still failed to import with basically no info provided. I retyped the code many times and even tried generating the message twice.
|
@kevincox does your key in the setup message contain is protected by an additional key? Delta Chat does not support these keys, however, maybe we should improve the error message in this case. you can check the exported private key manually by |
Hmm, it appears that the message is not valid:
I guess I should forward to enigmail. |
please do. might also be that the import/export works when hitting OK instead of Cancel while not entering a passphrase, see https://sourceforge.net/p/enigmail/bugs/772/#1814 |
is the setup messages only displayed twice or also sent twice? |
Enigmail sends it only once. Yet it appears twice in the chat with 'Me'. I assume because it's both in my 'Sent' and my 'Inbox'? I tried with both messages and tripple-checked the security codes. Always failed. I then re-send the setup message and did that again so basically I entered some obscure non-qr-based code 223=12 times! |
I have the same problem. |
I have the same problem with Delta Chat v0.18.2 and enigmail 2.0.7. Is there another way to transfer the key vom Thunderbird to delta-chat on Android device? I have also tried to export the keys (in enigmail) into a file (*.asc), tranfer the file to the android device in the /mnt/sdcard/Download folder. Then with import key in deta chat it says that no key could be found in /mnt/sdcard/Download. So this also din not work. Now I am stuck, because I cannot recover my chat histories. (OK; I was the fool having uninstalled/reinstalled delta chat). But I thought it would be easy to transfer the key from enigmail back to delta chat. |
had exaclty the same errors as kollokollo with triing others way to import the key. |
It could be that Android does not provide the information about the contents of the Download folder correctly to Delta Chat (actually to all apps). Have you tried to restart your device? This helped for this issue, reported on Delta Chat Core. |
Still have the same problem with deltachat, but it works with k9. key has a pw |
I cannot see how it would work with k9. How would you create an autocrypt setup message? On my device the keys are handled by a special app (OpenKeychain). But OpenKeychain does not allow to export a private key to a file. I do not see a way to get the priv key out of it. |
I think the problem is as follows:
|
Hi, Why is it not possible to allow a password? So it would be much easier to import already existing keys. |
My suggestion would be to use the only password delta chat already knows: The email-account password. This could be used by default, so delta chat would not need to ask for any or bother the user in any other way. And with enigmail one can more safe export the private key to a file. It would just be a matter of instructions: "Always use the email account password when asked to use one". |
Isn't that rather a bad practice, to better instruct against. The advice could be to use a temporary password for transfer-only usages, to protect the file until it really gets deleted after import. |
By the way, In my solution it works in k-9 mail with import passphrase in the openkeychain app |
Any progress here? The new version still does not find the key in an .asc file in /mnt/sdcard/Download. |
Hello! I had this problem. Before moving the key, you need to remove the password from the key in Enigmail. Writing identical passwords does not help. |
I tried already entering an empty password. It did not help. Could you explain how you did it in detail? |
Maybe I'm wrong in the name of the menu items. My interface language is Russian. Enigmail> key manager> edit> change password ... when asked for a new password, enter blank fields |
If you do not succeed I can make a detailed instruction. Then I will need to install the English version. |
Well, I found the menu entry. So this is what I did:
|
I think I should make a detailed instruction. I also suffered for a long time. ))) |
@mazilaaa that would be great :) |
Please be aware that using GPG without a passphrase is risky. Removing the passphrase is your own choice. Is anybody currently working on a patch for this? I am willing and able to help out. |
I apologize, I recorded the video in Russian. But I think as an example it will be clear. https://youtu.be/R1uAKNfINww |
@mazilaaa This is a nice tutorial. I think the general procedure is clear now. And obviously it work for you. However, enigmail doesnt on my computer (Ubuntu 16 and 17). Maybe I need to wait for an update. It looks like it is a bug in enigmail. I had hoped, that someone found a workaround. |
I've had this problem for a while now, and I don't think it's anything that Delta Chat can fix, as it's up to Enigmail to resolve. I've managed to work around it by locally importing the keys to my phone and then getting it setup that way. My key pair that I generated with Enigmail on Thunderbird still works after being imported to Delta Chat and K9 Mail. Enigmail is doing something wrong when it comes to importing private keys and using autocrypt because so far its the only one that has problems importing keys. It also doesn't recognize mail that it should be able to decrypt after importing the private key. It's a problem on Enigmail but I have no idea where to go to tell them that (they still use Sourceforge, eww) I asked for help on their mailing list, but nobody has responded (I don't know if I was filtered out for my somewhat offensive email domain-name) Since it seems the problem has been going on for so long, I think the only solution for me is to downgrade Enigmail to transfer the keys right and decrypt emails that I already have the key for. I wish there was another PGP add-on for Thunderbird so this wouldn't be so big of a problem. I got a new desktop and it's completely frustrating not being able to do what should be a simple transfer when I really want to move on from my really old laptop. |
This issue is stale since Sept 2018, since then several big changes have been made. |
closing this for now, we can re-open as needed if the problem still exist. |
Tested: |
@g6094199 great - thanks for testing 👍 |
I'm having this problem with Enigmail 2.1.9 (20201220-1657) --> Delta Chat 1.20.2. I successfully imported the Enigmail generated Autocrypt Setup Message into K9 and FairEmail (via OpenKeyChain 5.6 and 5.7 respectively... gotta update one phone). The Delta Chat interface correctly shows the two "prompt" pin numbers (verified by repeating the Autocrypt Setup Message - Pin prompt properly updated). I've tried both the Delta Chat desktop client (Ubuntu 64 bit Version 1.15.5 (git: v1.15.4-1-g77948e7b)) and the f-Droid supplied client (1.20.2) and both give identical results: Autocrypt Setup Message |
@gessel Thanks for your feedback! However, this is a closed issue from 2 years ago. Could you please open a new issue, so that your problem does get attention? You can post a link to this issue here then ("There was a similar issue 2 years ago") |
@Hocuri, thanks for the advice and done. |
....sucessfully transfered the key via autocrypt from deltachat 0.10 to enigmail 1.9 weeks before. now i want to transfer the key back to deltachat....
deltachat 0.16.0
enigmail 2.0
Steps to reproduce the problem
Debug logs
If applicable, debug logs can be copied from within the Delta Chat app:
The text was updated successfully, but these errors were encountered: