Skip Menu |

This queue is for tickets about the Crypt-OpenPGP CPAN distribution.

Report information
The Basics
Id: 68908
Status: new
Priority: 0/
Queue: Crypt-OpenPGP

People
Owner: Nobody in particular
Requestors: elrod [...] vindicia.com
Cc:
AdminCc:

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



Subject: Crypt-OpenPGP: 1.06 Crypt::OpenPGP::encrypt hangs in OpenPGP/Key/Public/ElGamal.pm:gen_k()
Date: Fri, 17 Jun 2011 21:24:55 -0700
To: bug-Crypt-OpenPGP [...] rt.cpan.org
From: Mark Elrod <elrod [...] vindicia.com>
I am also seeing encrypt hang due to $p_minus1 being equal to inf. In my testing it occurs for key sizes of 2048bits but not for 1024bits. I am running perl 5.8.8 on 64bit Red Hat 4.1.2-48. The same code works on Crypt-OpenPGP: 1.03.
Subject: Re: [rt.cpan.org #68908] AutoReply: Crypt-OpenPGP: 1.06 Crypt::OpenPGP::encrypt hangs in OpenPGP/Key/Public/ElGamal.pm:gen_k()
Date: Fri, 17 Jun 2011 21:35:25 -0700
To: bug-Crypt-OpenPGP [...] rt.cpan.org
From: Mark Elrod <elrod [...] vindicia.com>
I can confirm that the fix suggested in 68018 <http://rt.cpan.org/Ticket/Display.html?id=68018>: my $p_minus1 = Math::BigInt->new($p); $p_minus1->bsub(1); Appears to work for me too.