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>
Download (untitled) / with headers
text/plain 237b
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>
Download (untitled) / with headers
text/plain 186b
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.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.