-
-
Notifications
You must be signed in to change notification settings - Fork 280
Can't open entries. Alt title: Xiaomi is trash #518
Comments
I'm probably having the same issue. It switches to the password view for a fraction of a second before going back to the list view. For me that happened around the time I unlocked my phone. Could this be a reason for this behaviour? |
Don't think so, I have my phone unlocked for all the time. Cleaning app
data fixes it for some time.
śr., 12 cze 2019, 11:48 użytkownik Michael Fladischer <
[email protected]> napisał:
… I'm probably having the same issue. It switches to the password view for a
fraction of a second before going back to the list view. For me that
happened around the time I unlocked my phone. Could this be a reason for
this behaviour?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#518>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACFPY2SJXPFBCU353OGVVRDP2DIBPANCNFSM4HQARBGQ>
.
|
Version 1.3.2 on OnePlus3T
Should I open another issue? |
@Aster89 I see a similar thing with 1.3.2 on a Nokia 5.1 Plus. I've poked around a bit and seems that the OpenPgpServiceConnection never gets bound. It's intermittent though, and I haven't tracked down the cause yet. |
After several repetitions of the same actions, I think there is some relation between Password store working or not, and OpenKeychain being opened or not, but I couldn't observe a consistent behavior. If I find a pattern, I will share it. However, so far this is my workflow, when I need to use a password:
After this, things look a bit more complicate, since even if I close OpenKeychain, I can keep viewing passwords; after the key passphrase timeout, I'm prompted again to enter the key passphrase. But there must be some longer time limit when I don't get that prompt again. |
@Aster89, to me right now id doesn't change a thing what I do, it's always the same. In settings it is impossible to select OpenPGP Key id, same thing happens. An activity is opened for a fraction of seconds and then goes back to settings. @MSF-Jarvis, @zeapo any chances for a fix? Cannot use an app, don't want to change it as it suits all my needs? |
I've failed to reproduce it on my devices with the latest OpenKeyChain version so far |
Is there anything you need I could provide for you to dive into this? |
A logcat using the latest OpenKeychain version and the release APK in this repository would be a great start. |
logcat.txt |
Thanks |
Any luck finding out what is happening? |
It's too early to be 100% sure but on my phone it looks like it might have been a secret task killer installed as part of the OS. It's a Nokia 5.1 plus and I followed the instructions here https://dontkillmyapp.com/nokia which seems to have made a difference... (loads of other stuff has also started working like syncthing staying up in the background). Maybe not everyone's problem, but I just mention it in case it's useful. |
Nothing of note in that log. @cth103's most likely on the right path here. |
Ok, it looks like @cth103 is right! On my OnePlus 3T I just have to go to Settings>Battery>Battery optimization, look for OpenKeychain and set it to "Don't optimize". Doing this seems to have solved the issue. |
My Honor allows me to select Apps to close automatically, and this was preventing the Password Store to work without any message. So, first thank you for the solution. Then I would suggest improving the error handling on Password Store side to detect this and alert the user. Eventually the Doc/FAQ could be updated. Thanks for this great product! |
In my Nokia's case, at least, it seems that the task killer ignores those battery optimization settings; so if they work for you: great, if not: take a look at https://dontkillmyapp.com/ That site is nothing to do with me but it is helpful! |
I have an xiaomi 5 plus and it started happening to me as well as of recently. I disabled any and all optimisations on both apps to no avail. Need help, my password store is really important |
After reinstalling, I noticed that I can't choose Openkeychain PGP key id from settings either. Any ideas? |
I reinstalled and reimported everything and that somehow fixed it. I don't know why it started happening in the first place |
I have the same issue since a few weeks ago on a MI 9. I've tried removing optimizations for OpenKeychain without success. But as a workaround I've found that if I have booth apps running on split screen it works, if OpenKeychain is open but in the background it doesn't. |
Same on MI 9 SE with MIUI 11(xiaomi.eu) :( |
@byumov I've noticed this started happening since 2 months ago, the split screen solution works fine. |
Since this is an OpenKeyChain issue and even more of an Android issue, I think we can close it. If someone has a workaround or want to report any other OEM specific behaviour causing this, feel free to reopen it. |
I don't think this should be closed. There should be an error message or
something like that.
…On Sun, 24 Nov 2019, 18:38 Aditya Wasan, ***@***.***> wrote:
Closed #518
<#518>
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#518?email_source=notifications&email_token=AAOAVHIEJJI7QUHFDA7BGNLQVK3Y3A5CNFSM4HQARBG2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOVBZQVZY#event-2826111719>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOAVHMN2OAFPVNCX2MSQ53QVK3Y3ANCNFSM4HQARBGQ>
.
|
Yes, it works for me too! |
I've got MIU11 and I can confirm there are two ways to make it work (as others already pointed out)
|
I am on Xiaomi Mi 5. Where can I find the |
@oren it is a part of phone settings. It should be on the app info page iirc. |
Thanks! It was in Settings -> Apps -> Permissions -> Other Permissions -> OpenKeychain -> Enable |
The same problem have been driving me crazy for months, on a Xiaomi Mi 9T Pro. Split screen works, but the best way I've found to resolve the problem without having to use split screen is to allow OpenKeyChain Autostart from the settings (I've also disabled battery restriction, but that alone doesn't seems to resolve the problem). MIUI implements by default this strange thing : it prevents apps from be started by others apps, causing problems with Android Auto as well for example. I don't think that's a regular Android behavior. That should be documented somewhere (maybe in the app description ?), even if Password-Store is clearly not to blame here. Edit: for some reason everything stopped working just after I posted this. oren's comment just above seems to be the best solution. |
The workarounds don't help me on Xiaomi Mi 9 SE. I have both Split-screen also does nothing. As many already said, there needs to be a message for the user explaining what is going on. Also, there must be some info in https://github.com/android-password-store/Android-Password-Store/wiki/First-time-setup. Right now it tells to |
The app can't tell what's going on. We can only reliably check if OpenKeychain is missing, which we do and notify the user suitably for. |
Thank you so much - this is what works for me since I 'upgraded' to Android 9. |
Thank you all, I just ran into this issue too and the background authorization was the fix. I think that there should me mention of it in the wiki. |
If you're having this issue on Unihertz phones, the fix is related to background app blocking. Seems this is a trend among PRC phone vendors, they know better than you how you want your phone to work just like they know better than you how long it's ok to play videogames ;) Related PR to DontKillMyApp: urbandroid-team/dont-kill-my-app#342 Solution:
|
If you have this issue on MI Lite 5G with MIUI 12.5 I managed to get it working by following the optimization steps for MIUI 12 specified here: |
Yay! Could not use password store due to the openkeychain error for about a year, now I finally can store pws safely ;) |
In most cases probably an issue related to OpenKeyChain incompatibility with GnuGPG 2.3 Removing 2.3 and installing 2.2, and deleting and re-importing/re-encrypting with GPG2.2 anything that was previously encrypted with GPG2.3 will fix most issues with OpenKeyChain and Android Password Store. |
Hey,
Recently I have created new password and since then I am not able to open any of it.
On the list of password I tap any of them and the app shows password view for like a 0.05 second and then goes back to password list.
It does not ask for password to decrypt.
I tried to change time of password show, but that didn't help.
What could happen?
Logcat
The text was updated successfully, but these errors were encountered: