Subject: | Problem using "pp -F Crypto" |
I have created an executable for a simple "Helloworld" Perlscript under
Win32 using this command:
pp.bat -M Filter::Crypto::Decrypt -F Crypto -f Crypto -o helloworld.exe
helloworld.pl
When I start the helloworld.exe, I get this message:
Unrecognized character \x1D at
C:\DOKUME~1\eweidel\LOKALE~1\Temp\par-eweidel\cache-43861a6852b18da02fb0c934edb176b2ede97
d55\inc\lib/Filter/Crypto/Decrypt.pm line 2.
The problem is, that the Decrypt.pm is encrypted aswell and therefore
cannot be used to decrypt the other files :-)
When I copy the original Decrypt.pm to the path above, it works.
Another way to workaround this is to specify all modules that shall be
encrypted using "-F Crypto=regex" but depending on the number of modules
to be encrypted, this can be exhausting :-)
Maybe the encrypting filter should exclude the Decrypt.pm from the files
that are to be encrypted ?
Erik Weidel