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/