Subject: | tainted key fails with misleading "key must be a string scalar" |
In taint mode a tainted key value issues the misleading "key must be a
string scalar" error due to failing SvPOK check. Either alter test to
accept tainted keys or alter error message to indicate that untainting
may be necessary.
To recreate:
#!/usr/bin/perl -wT
use strict;
use Crypt::Rijndael;
my $key = substr($^X,0,0) . "a"x32;
Crypt::Rijndael->new( $key, Crypt::Rijndael::MODE_CBC );