Subject: | setPublicKey: "not a string nor an ARRAY Ref" may be tainted scalar |
Date: | Tue, 29 Apr 2014 13:03:36 +0200 |
To: | bug-Crypt-SMIME [...] rt.cpan.org |
From: | Florian Schlichting <florian.schlichting [...] fu-berlin.de> |
Hi,
I just found out that different setPublicKey errors, namely
Crypt::SMIME#setPublicKey: ARG[1] is not a string nor an ARRAY Ref at ...
Crypt::SMIME#setPublicKey: ARG[1] is an array but it contains some
non-string values at ...
are not what the error message says (non-string), but caused by running
under -T without untainting the certificate read from a file on disk.
Perhaps the error message could be modified / amended accordingly?
(NB this is Perl 5.10.1 on Debian Squeeze)
Florian