Skip Menu |

This queue is for tickets about the GnuPG-Interface CPAN distribution.

Report information
The Basics
Id: 62177
Status: rejected
Priority: 0/
Queue: GnuPG-Interface

People
Owner: Nobody in particular
Requestors: CARNIL [...] cpan.org
intrigeri+debian [...] boum.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: get_public_keys/get_secret_keys method with no arguments produces warning
Date: Fri, 15 Oct 2010 20:05:08 +0200
To: bug-GnuPG-Interface [...] rt.cpan.org
From: Salvatore Bonaccorso <carnil [...] cpan.org>
Hi Jesse We got the bug report below in Debian [1]. [1] http://bugs.debian.org/600290 When calling get_secret_keys or get_public_keys without arguments then it produces uninitialized value warnings, or e.g unknown record type uat at /usr/share/perl5/GnuPG/Interface.pm line 513, <GEN1> line 63. for get_public_keys method. When calling gnupg, without arguments to --list-secret-keys or --list-public-keys then it lists all the keys: gpg --list-secret-keys and gpg --list-public-keys Would it be possible to 'adopt' this behaviour too to the get_secret_keys or get_public_keys respectively? Thanks in advance Bests Salvatore ----- Forwarded message from Matthew James Goins <mjgoins@openflows.com> ----- From: Matthew James Goins <mjgoins@openflows.com> Resent-From: Matthew James Goins <mjgoins@openflows.com> Reply-To: Matthew James Goins <mjgoins@openflows.com>, 600290@bugs.debian.org User-Agent: Mutt/1.5.20 (2009-06-14) Date: Fri, 15 Oct 2010 11:31:37 -0400 To: Debian Bug Tracking System <submit@bugs.debian.org> Subject: Bug#600290: libgnupg-interface-perl: get_secret_keys method with no arguments produces warning 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! --mjgoins -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (600, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libgnupg-interface-perl depends on: ii gnupg 1.4.10-4 GNU privacy guard - a free PGP rep ii libany-moose-perl 0.13-1 module to use either Moose or Mous ii perl 5.10.1-14 Larry Wall's Practical Extraction libgnupg-interface-perl recommends no packages. libgnupg-interface-perl suggests no packages. -- no debconf information Show quoted text
_______________________________________________ pkg-perl-maintainers mailing list pkg-perl-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-perl-maintainers
----- End forwarded message -----
Download signature.asc
application/pgp-signature 835b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #62177] get_public_keys/get_secret_keys method with no arguments produces warning
Date: Sat, 25 Dec 2010 21:57:21 +0100
To: Bugs in GnuPG-Interface via RT <bug-GnuPG-Interface [...] rt.cpan.org>
From: Salvatore Bonaccorso <carnil [...] cpan.org>
Hi In Debian Bugtracker 'intrigeri' prepared a patch, which I would like to forward (see: http://bugs.debian.org/600290 and http://bugs.debian.org/607997). I have not tested it yet, though. Bests Salvatore

Message body is not shown because sender requested not to inline it.

Download signature.asc
application/pgp-signature 836b

Message body not shown because it is not plain text.

Subject: [rt.cpan.org #62177]
Date: Sun, 16 Oct 2011 01:32:29 +0200
To: 600290 [...] bugs.debian.org, bug-GnuPG-Interface [...] rt.cpan.org
From: intrigeri <intrigeri+debian [...] boum.org>
intrigeri wrote (25 Dec 2010 19:44:49 GMT) : Show quoted text
>> Those are actually different symptoms from the same bug that my patch >> fixes.
Show quoted text
> For the record the bugfix patch is attached to message #5 of bug > #607997.
See updated and completed patch, attached. Bye, -- intrigeri <intrigeri@boum.org> | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc | We're dreaming of something else. | Something more clandestine, something happier.

Message body is not shown because sender requested not to inline it.

Subject: Re: [rt.cpan.org #62177]
Date: Mon, 12 Nov 2012 14:33:14 -0500
To: bug-GnuPG-Interface [...] rt.cpan.org
From: Alex Vandiver <alex [...] chmrr.net>
On Sat, 2011-10-15 at 19:33 -0400, intrigeri via RT wrote: Show quoted text
> Queue: GnuPG-Interface > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=62177 > > > intrigeri wrote (25 Dec 2010 19:44:49 GMT) :
> >> Those are actually different symptoms from the same bug that my patch > >> fixes.
>
> > For the record the bugfix patch is attached to message #5 of bug > > #607997.
> > See updated and completed patch, attached.
Sorry for the delay in getting to this bug. I am unable to replicate the failure; the warning implies that gpg is generating a list with less than 7 elements, which I can't duplicate, even with a clean gnupg-1.4.10 install. Are you still seeing this error? Are you aware of any oddities in the secret keys on your keyring, or the way in which they were generated? Can you provide the output from: gpg --with-colons --fixed-list-mode --with-fingerprint \ --with-key-data --list-secret-keys Feel free to replace all hex digits with DEADBEEF, if you prefer. - Alex
Subject: Re: [rt.cpan.org #62177]
Date: Thu, 15 Nov 2012 15:03:24 -0500
To: bug-GnuPG-Interface [...] rt.cpan.org
From: Alex Vandiver <alex [...] chmrr.net>
I've added intrigeri as a direct requestor, as he wasn't before. - Alex On Mon, 2012-11-12 at 14:33 -0500, Alex Vandiver via RT wrote: Show quoted text
> Sorry for the delay in getting to this bug. I am unable to replicate > the failure; the warning implies that gpg is generating a list with less > than 7 elements, which I can't duplicate, even with a clean gnupg-1.4.10 > install. > > Are you still seeing this error? Are you aware of any oddities in the > secret keys on your keyring, or the way in which they were generated? > Can you provide the output from: > > gpg --with-colons --fixed-list-mode --with-fingerprint \ > --with-key-data --list-secret-keys > > Feel free to replace all hex digits with DEADBEEF, if you prefer.
On Mon Nov 12 14:33:41 2012, alex@chmrr.net wrote: Show quoted text
> Are you still seeing this error?
I'm sorry, I did not see this message until now. I cannot reproduce this error anymore (GnuPG::Interface 0.50 without the patch we have been applying in Debian, GnuPG 1.4.16, Debian unstable). So, I'm going to upload to Debian a package without the patch, and see if new bug reports about it come up. Thanks!
On Mon Mar 31 06:16:57 2014, intrigeri@boum.org wrote: Show quoted text
> So, I'm going to upload to Debian a package without the patch, and see > if new bug reports about it come up.
Done, that's libgnupg-interface-perl 0.50-2 in Debian-speak.