Subject: | Use of cryptographically insecure rand for IVs and Keys |
Date: | Wed, 14 Sep 2016 19:17:10 +0200 |
To: | bug-File-KeePass [...] rt.cpan.org |
From: | Viktor Liu <vma [...] randomcrap.eu> |
Hi,
the module is making use of the perl rand function for key and iv
generation (for Crypt::Rijndael).
This seems pretty insecure to me, from the perl doc: "rand is not
cryptographically secure. You should not rely on it in
security-sensitive situations.".
Is this intended? I'd rather use something like Bytes::Random::Secure.
I will provide a patch once I got time.
Yours sincerely,
Viktor