Bug#600290: libgnupg-interface-perl: get_secret_keys method with no arguments produces warning
Salvatore Bonaccorso
carnil at debian.org
Fri Oct 15 18:09:12 UTC 2010
Hi Matthew
On Fri, Oct 15, 2010 at 11:31:37AM -0400, Matthew James Goins wrote:
> Package: libgnupg-interface-perl
> Version: 0.42.002-1
> Severity: normal
>
> Calling the get_secret_keys method produces the following
> error/warning:
>
> Use of uninitialized value $expiration_date in string eq \
> at /usr/share/perl5/GnuPG/Interface.pm line 555, <GEN1> line 4
>
> To reproduce, create a keyring with a secret key available, and run the
> following code or equivalent:
>
> my $gnupg = GnuPG::Interface->new();
> $gnupg->options->hash_init( armor => 1 );
> my @keys = $gnupg->get_secret_keys();
>
> Compare with:
>
> my @keys = $gnupg->get_secret_keys("3DF8B223");
>
> Substituting 3DF8B223 with your key id.
>
> Thank you!
Thank you for your bugreport. I have forwarded it to upstream at [1].
[1] https://rt.cpan.org/Ticket/Display.html?id=62177
Bests
Salvatore
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20101015/f728565c/attachment.pgp>
More information about the pkg-perl-maintainers
mailing list