Skip Menu |

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

Report information
The Basics
Id: 27929
Status: resolved
Priority: 0/
Queue: Crypt-RSA

People
Owner: Nobody in particular
Requestors: sharifulin [...] gmail.com
Cc:
AdminCc:

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



Subject: Crypt::RSA::Key Cipher
I want to use 'Cipher' => 'Rijndael' for encrypt/decrypt private key. Module Crypt::RSA::Key has generate(), and method has key 'Cipher'. <i>Cipher could be set to any value that works with Crypt::CBC(3)</i> But following code create private key with Blowish cipher! <pre> my ($public, $private) = $rsa->keygen ( 'Identity' => 'crypt-rsa-rijndael', 'Cipher' => 'Rijndael', 'Size' => 1024, 'Password' => 'secret', 'Verbosity' => 1, ) or die $rsa->errstr(); </pre> I fixed it. Crypt::RSA::Key.pm line 82: <pre> ..., Args => ['Cipher' => $params{Cipher}, 'Password' => $params{Password}] </pre> Please, add it in your distributive. Best regards, Anatoly Sharifulin. http://www.sharifulin/
fixed in 1.95.