-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
"Cannot connect to crypto provider" when trying to send a mail with PGP enabled and K9 was started from contacts app #6068
Comments
It happens to me when trying to save a draft without a recipient. This seems to be the same issue: |
@terasolu This might be related to turning on "Enable Tor" on the OpenKeyChain Settings under "Network Anonymity". So we'd have to have Orbot installed from the Guardian Project, and have Orbot started. |
@life777eternal I doubt that, because this option isn't activated on my system. |
Alright @terasolu you're probably right 👉🏻 ➡️, I just disabled the "Enable Tor" setting on OpenKeyChain and the toast message still appeared without a recipient. |
@life777eternal I tried it with Orbot, but it doesn't change anything. I found out that the problem only occurs when I don't set a recipient. I can set any recipient, even a recipient I don't have a certificate of and it works as expected. |
I also found this occuring after clicking mailto links. Maybe K9 is doing something when a recipient is added explicitly but forgets to do it when coming from contacts or a mailto link. (does contacts just use a mailto link?) |
@cketti I've been seeing this toast message once in a while still. Don't actually notice it until I'm ready to send a message and hit the send button, or hit the back button or home button. The workaround I've been doing is to highlight all of the text I had typed, copy, then discard the email and reply all again to the same email, and then paste into the body again. Although after I do that, that toast message doesn't appear for a while. But later it does appear again. Version 6.311 on Android 11.
See line 340 on the attached log file. Thank you. |
@cketti This still happens once in a while, when replying to an email and sending a new email from an email link. Although it seems that if I copy my message and discard the email and reply to the email again, and paste in my message, the email sends. |
Checklist
App version
6.000
Where did you get the app from?
Google Play
Android version
Android 10
Device model
Fairphone 3
Steps to reproduce
Expected behavior
The email should be sent without errors
Actual behavior
It is not possible to send the email, error message: "Cannot connect to crypto provider, check your settings or click crypto icon to retry!" (also if you try to send it unencrypted!)
This only happens when K9 was started from the (Google) contacts app. It is working fine if you manually enter the email address in the "To" field (and not use the contacts app to start K9-Mail).
Seems to be a new since v6.000.
Additional note: when starting from contacts app, K9-Mail shows the selected email address in the "To" field. I thought it showed the contact name in a previous version.
Logs
No response
The text was updated successfully, but these errors were encountered: