Closed ghost closed 8 years ago
Hello,
To reproduce this bug, I need some more information. It looks like it's crashing while trying to parse reply email address (which references replying PGP key).
From my side, decrypting message with or without signature succeeded (NFC token feature enabled), and quick reply was working correctly. I was not able to reproduce this bug in this condition. (Nexus 5, Android 6 Stock)
Here you have:
More information: the test was done in a Nexus 4, with the Android 5.1.1 stock version and the encrypted data was copied from Gmail application.
I've disabled NFC auth, but was still not able to reproduce bug.
Have you tried updating OpenKeychain? Also, does signature label have email address closed with <>? (Had to ask about this first...)
I'll be installing some emulators to emulate Nexus 4 w/ 5.1.1 stock. This crashing is not expected.
That's how it looks the signature:
Signature status:0 (Facebook, Inc.)
Actually the bug must be due to the absence of an e-mail address in the signature.
The decrypted data is actually an email notification from Facebook which appears to use a PGP key without an associated email.
I did not expect signature without e-mail address... I'll try to fix that issue by treating signature without mail address as non-signed message when quick replying.
Quick fix in commit 9cca9b114e9002f4e9ac79cc8d43afe611e30e2a, could please check if this issue has been fixed?
Expected behavior: No crash when try to quick reply, user will be able to select recipient manually.
Sorry, it still crashes
Next fix try at commit bdc4378d951bf95101a667b1a1afcfc467a877ed, please try that. Hopefully, it will catch StringIndexOutOfBoundsException - which is not checked and not caught at runtime at previous commit.
Sorry for repeated fix attempts, it's pretty hard to debug bugs which I cannot test it's fixed.
Ok, it looks fine now, when tapping it shows the prompt where you can manually fill the recipient.
Good news! Glad to hear that it's working.
Hello,
I finally could test version 0.2.
After processing successfully some data from the clipboard, the application crashes every time you tap the decrypted data result field.
https://gist.github.com/anonymous/a5342d08035326ff1e86