Bug#412041: libmail-gnupg-perl: encryption methods behave weirdly
if bad recipients are passed
gregor herrmann
gregor+debian at comodo.priv.at
Wed Feb 28 18:20:51 UTC 2007
tags 412041 + unreproducible moreinfo
thanks
On Thu, 22 Feb 2007 19:56:02 -0500, Celejar wrote:
Thanks for your bug report!
> But sometimes, the program just dies without any explanation, dropping
> unceremoniously to a command prompt. This occurs even when running under
> rhe debugger; the debugger itself just terminates with no explanation.
>
> The following simple program exhibits the aforementioned behavior:
>
> ---Begin Program---
>
[..]
>
> ---End Program---
>
> When I run this repeatedly in succession, sometimes I get the above
> 'gpg: ...' error lines, and sometimes the program just terminates with
> no output. The 'print' line is never reached.
I just ran your test program a hundred times in a loop, and each
invocation returned the expected result:
gpg: d at e.f: skipped: public key not found
gpg: [stdin]: encryption failed: public key not found
I'm not sure what the conclusion is; maybe a problem in your gpg
setup (keyserver timeout or something)? What happens if you try the
following:
$ touch test
$ gpg --encrypt --recipient d at e.f test
(or in a loop like:
for i in `seq 1 100`; do echo $i; gpg --encrypt --recipient d at e.f test; done
)
In my tests the output is the same as in your test script: 100
identical error messages:
gpg: d at e.f: skipped: public key not found
gpg: test: encryption failed: public key not found
Cheers,
gregor
--
.''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
: :' : debian: the universal operating system - http://www.debian.org/
`. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/
`- NP: The Eagles: I Can't Tell You Why
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20070228/1b76b81c/attachment.pgp
More information about the pkg-perl-maintainers
mailing list