-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 10.11.14 21:52, Daniel Kahn Gillmor wrote:
> When creating a signed message (whether encrypted or not), if
> gpg-agent fails to sign the message, gpg 2.1.0 emits the first part
> of the message, but then terminates with a non-zero error code.
> 
> gpg 1.4.x (and i think 2.0.x, but haven't tested today) both
> terminate with a non-zero error code but produce no output on
> stdout.
> 
> This change in behavior causes problems with enigmail in
> particular, which appears to send the truncated results when
> producing a PGP/MIME encrypted+signed message if the agent fails to
> sign.
> 
> I believe this is two distinct issues, and maybe we want to address
> them both:
> 
> * gnupg 2.1.x might want to buffer data before the signature is
> made, and decline to emit anything if the signature fails

Ack.

> * enigmail probably should detect that its invocation of gpg
> returns a non-zero error code and raise an error in the message
> creation step. I note that it appears to do so properly for when
> generating non-encrypted PGP/MIME-signed messages, it's just
> failing at PGP/MIME encrypted+signed messages.

How exactly does this misbehaviour express to the user? I'm not
getting a falsely sent mail or a misleading error message.

First Alert:
        Error - encryption command failed

Second Alert:
        Sending of message failed.
        Please verify that your Mail & Newsgroups account settings are
        correct and try again.

Ludwig

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCgAGBQJUYS0pAAoJEA52XAUJWdLj6ZUH/1VuaficWrH4NroRxyJYKpjp
c2++Er/H2MVtLegocgWTUVEReKEYD0uOgjkiYYehHqF91RIvy5hYRkCYF45C+iqi
VE/9/ICWpk8StXOpq3TwLFIDsmRbq6AuOQKOTmDZPb7CCkAuA6DutwnRYTLrMv/k
B1O51zeDzUzGHFHxREXc/DQfdaUU9wbETidOX9p9tvqQv8zP+PAu4027mscoJABW
OZ3oEy0ZJsK0UHPJRp08DPs5noE4C9SDWlOdPQxjaexGU/5IVxGwov3WpQyciIjL
9o8Y7oxaXVduvzUcsrxuGjvQ4YYhbgrgIpPrQi/6xSAt6gT+PsxIU1NMAfcTd90=
=ea56
-----END PGP SIGNATURE-----

_______________________________________________
enigmail-users mailing list
[email protected]
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net

Reply via email to