Open GoogleCodeExporter opened 9 years ago
Hi, Jeff.
Sorry I just saw this now. You are right, I have those problems as well, and it
is
definitely GMail's HTML encoding. I already tried to remove multiple spaces and
newlines, which worked quite well for me.
Is it possible that you have any HTML-troublesome characters in your message?
Most
likely the ">" from a message reply. If not, then please provide a message I
can
reproduce this with, because plain-text messages DO get signed correctly for me.
Assuming that really is the only issue, it might be enough for now to avoid
such
character, which is far from ideal, of course. I also thought about not using
">" for
replies EncryptMessageActivity creates, but that'd not go down well with
clients that
are used to that "standard".
Another work-around for now might be using k9mail for sending, which leaves the
message untouched in all cases, so even those ">" messages get a valid
signature in
all my test cases.
And maybe someday we can integrate direct encryption and decryption via APG in
k9mail, which would make the awkward decryption solution via GMail unnecessary
as
well.
I'll definitely try to find better ways to make it work with GMail as well,
tho,
thanks for the report.
Original comment by thialfi...@gmail.com
on 23 Apr 2010 at 5:17
I *thought* the HTML might be the problem. I generally avoid HTML mail whenever
I
can; when I use Thunderbird, I force it to use plain text. That, of course,
isn't an
option with the built-in Android GMail client. :/
The message was a simple sentence along the lines of "This is a test message
sent
from my Droid and encrypted using APG." There weren't any unusual characters in
the
text and certainly no angle brackets. I typed the text directly into the APG
interface. I tried three different attempts, all with the same or similar simple
messages.
I am using the built-in GMail client for Android 2.x to actually send the
message. I
haven't tried k9mail. I've been looking at it, but didn't see anything
compelling
enough to make me want to switch. Perhaps I'll get it a try this weekend.
And don't worry about taking a while to notice the issue. I've been pretty busy
myself, so I haven't had a chance to check back. :)
Original comment by jeff.darlington@gmail.com
on 24 Apr 2010 at 1:13
I just fixed a bug that would show invalid signatures when verifying them in
cases
where the clear text message was only one line long. This probably was an
unrelated
issue, as you said that other programs also reported an invalid signature, but
it
*might* have had something to do with some cases of bad verification results in
APG.
Original comment by thialfi...@gmail.com
on 11 May 2010 at 3:15
I seem to have the same issue: If I only sign the mail and do not encrypt it,
Verification fails with AGP+K9 and Enigmail+Thunderbird. The other way round,
i.e. verifying a signature made with Enigmail on AGP succeeds. Encryption is
not an issue both ways.
Also, It does not matter if the message has only one line or several.
Versions:
AGP 1.0.6
K9 Mail 3.001
GnuPG 2.0.14
Enigmail 1.1.2
Original comment by pixelmat...@gmail.com
on 15 Aug 2010 at 12:19
Same to me.
If I sent an encrypted and signed message the PGP signature is valid. If I only
sent an unencrypted but signed mail the signature both in K9/APG and
Thunderbird/OpenPGP is broken.
It looks like the newline characters are not valid. I see an error in
Thunderbird like - check for the last newline character.
gpg: unexpected armor: -----END PGP SIGNATURE=\n
Versions:
APG 1.0.6
K-9 3001
GnuPG 1.4.10 (Linux)
Enigmail 1.0.1
TB 3.0.6
Original comment by piecha...@gmail.com
on 15 Aug 2010 at 12:50
Hmm, that last error message there suggests that the armor got corrupted
somehow. Could one of you two (or both) send me a signed email to thi at
thialfihar.org?
Original comment by thialfi...@gmail.com
on 15 Aug 2010 at 12:54
done
Original comment by piecha...@gmail.com
on 15 Aug 2010 at 1:04
Aye, in both cases there's no newline at the end of the message. APG should add
one... perhaps 1.0.6 broke that. I'll fix it, but in the meantime this can be
fix by adding a newline to your email signature or message, if anyone else has
this problem.
Original comment by thialfi...@gmail.com
on 15 Aug 2010 at 1:09
I can confirm that. With a newline everything's fine on my end.
Original comment by pixelmat...@gmail.com
on 15 Aug 2010 at 1:19
This issue was updated by revision r262.
Clearsign signature generation now handles messages correctly with or without
newline at the end. (This does not fix some other, unrelated issues with HTML
emails in GMail.)
Original comment by thialfi...@gmail.com
on 15 Aug 2010 at 2:58
1.0.7 is out, it contains this fix.
Original comment by thialfi...@gmail.com
on 15 Aug 2010 at 3:19
I am using apg 1.0.8 and the problem seems to persist for me. In my case GMail
is not involved. When I send an unencrypted but signed Email using K9 and APG
the result is incomprehensible for Thunderbird/enigmail as well as K9/APG.
Here is an example (The body of the Email is "Test." plus the signature added
by K9):
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Test.
- --
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
-----BEGIN PGP SIGNATURE----- Version: APG v1.0.8
iHkEAREIADkFAk1ni10yHEphbmlzIERhbmlzZXZza2lzIDxqYW5pc0BzZWMudC1s
YWJzLnR1LWJlcmxpbi5kZT4ACgkQxK8ZoiVMRDi+pgCgvyVsPJNu8uw/wB9Glq0f
G6tR7nIAn0yDC21hHuuPpq8Jcz0pdcBGVuSu =hm6t -----END PGP SIGNATURE-----
Original comment by werw...@googlemail.com
on 25 Feb 2011 at 11:22
I am experiencing the same behaviour as described in comment #12
After some research I turned off html in "send" options of account and am using
plaintext and this seems to workaround the issue.
Original comment by lcst...@gmail.com
on 19 Mar 2011 at 12:40
I want to confirm this workaround :
....
I am experiencing the same behaviour as described in comment #12
After some research I turned off html in "send" options of account and am using
plaintext and this seems to workaround the issue.
....
It works for me too.
Original comment by michal.h...@gmail.com
on 27 Apr 2011 at 9:29
The workaround of the previous comment (#14) works for me. k9 + AGP on android
2.2 htc desire Z
Original comment by lambd...@gmail.com
on 13 May 2011 at 8:32
This issue was updated by revision bca9fe1f2831.
Clearsign signature generation now handles messages correctly with or without
newline at the end. (This does not fix some other, unrelated issues with HTML
emails in GMail.)
Original comment by thialfi...@gmail.com
on 17 Sep 2011 at 6:57
Original issue reported on code.google.com by
jeff.darlington@gmail.com
on 20 Apr 2010 at 12:24