[Koha-win32] How to store keys generated from Crypt::RSA module??

John Choo anchovies00 at yahoo.com
Thu Jan 10 07:38:05 CET 2008


Hi,

This might not be the right forum however, I think the data that you
inserted might be truncated by MySQL. Try and check what is the original key
length before storing to db against the key you retrieved from db. You might
need to use TEXT or MEDIUMTEXT since varchar is variable length and max 255
chars.

Regards,
John


arnab wrote:
> 
> Hi All,
> 
>  I'm using Crypt::RSA module(for Digital Signature purpose at the time of
> issuing & returning books) for generating public & private keys. Now the
> problem is that when I'm storing the keys in the database, and again
> bringing them to do the signature or verification the Crypt::RSA module is
> unable to understand the key format. I'm storing the keys in the Varchar
> field of the MySQL.
> 
> Could any body tell me when storing the keys in the databases what would
> be the type of the field or how to work with the keys??
> 
> Thanks in advance.
> 
> Arnab
> 

-- 
View this message in context: http://www.nabble.com/How-to-store-keys-generated-from-Crypt%3A%3ARSA-module---tp14610763p14728431.html
Sent from the Koha - Win32 mailing list archive at Nabble.com.






More information about the Koha-win32 mailing list