Skip Menu | You are currently an anonymous guest. | Login | Return to Main | About rt.cpan.org
 

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

X Report information
Id: 27929
Status: resolved
Left: 0 min
Priority: 0/0
Queue: Crypt-RSA

Owner: Nobody
Requestors: sharifulin <sharifulin [...] gmail.com>
Cc:
AdminCc:

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



X History Display mode: Brief headersFull headers
#   Tue Jul 03 03:32:35 2007 sharifulin - Ticket created  
Subject: Crypt::RSA::Key Cipher
[text/plain 706b]
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/

#   Sun Jul 06 18:42:48 2008 VIPUL - Correspondence added  
[text/plain 15b]
fixed in 1.95.
#   Sun Jul 06 18:42:50 2008 RT_System - Status changed from 'new' to 'open'  
#   Sun Jul 06 18:42:51 2008 VIPUL - Status changed from 'open' to 'resolved'