-
-
Notifications
You must be signed in to change notification settings - Fork 293
[BUG] Crash on Android 13: SecurityException: Permission Denial: Tag ( ID: ... ) is out of date #2294
Comments
When it crashes about x3 times or so, there is a pop-up asking to Send Feedback - but to OpenKeyChain... so perhaps something is crashing there when this App invokes an Intent of that App, or something like that? I have just submitted such a feedback to there (but you probably don't have access to it?) |
Do let me know if there is an easy better way to "filter"
|
@msfjarvis could this be due to https://issuetracker.google.com/issues/238257723 ? Do you know what that means, and how to work around it? (I do not.) |
The log is helpful, thanks for capturing it. The crash indeed is from OpenKeychain, and the Android bug report looks like a match. Unfortunately we can't do much about it. OpenKeychain is in maintenance mode and not accepting any contributions (not that I really know how to work around this bug), and we're in the midst of migrating away from OpenKeychain for the next major release. Smartcard support is yet to be complete (WIP at #2170) so I don't think there are many options at your disposal other than either downgrading your phone to Android 12 or using a non-smartcard GPG key. Sorry I couldn't be more help. |
I have run into this issue too, and it looks like basically OpenKeychain is using a stale reference to a NFC tag object that caused this error. Unfortunately, as OpenKeychain is no longer merging new changes (as it seems), there seems to be no good way out of this other than waiting for APS's own OpenPGP implementation. |
Well it's open source so in theory if you know how you could fix it in a fork of OpenKeychain and then propose to this project to use that fork... (To be clear, and avoid any misunderstanding, this isn't something that I can any make time for being involved in; I'm only posting this reply as a.... clarification about what someone else COULD do.) |
@vorburger Yes, I am trying to do that right now. But ultimately we still want to have a standalone OpenPGP implementation in APS instead of fixing an unmaintained codebase. |
Apparently there is already a PR in OpenKeychain's repo fixing this: open-keychain/open-keychain#2804 (and I only discovered this after making a fix myself). This fix has not been merged yet, but in any case I have also made a fork with my fix and a built APK here. Note that you should probably not trust any random commenter on GitHub, so it's still a better idea to build a fixed APK yourself. |
Describe the bug
The app keeps crashing on me when opening any password, since a little while (weeks or 1-2 months); definitely worked previously.
I'm currently on the latest released version of the app, v1.13.5 from Jul 28, 2021, installed from the Google Play Store.
Maybe this is related to Android 13 ? (Just a hunch, no proof; I don't have other devices to compare it against.)
I have searched for issues containing what I think is causing it, and there doen't seem to be any existing ones.
I'm willing to help further debug this bug, if there is interest to collaborate @msfjarvis ?
Steps to reproduce
Expected behavior
It should not crash? 😈
Screenshots
N/A
Device information
Additional context
No response
The text was updated successfully, but these errors were encountered: