Hi,
And thanks for answering
Some more detailed description of my issue...
When using GnuPG, it installs fine, but I get a runtime err:
P:\Perl\test>perl -w gnupgtest.pl
Your vendor has not defined Fcntl macro F_SETFD, used at C:/Perl/site/lib/GnuPG.pm line 203.
when i run this script:
use GnuPG qw( :algo );
my $gpg = new GnuPG(
gnupg_path => 'C:\Program Files\GNU\GnuPG\gpg.exe',
homedir => 'C:\Program Files\GNU\GnuPG',
trace => 1
);
$gpg->gen_key( size => 1024,
name => "My name" );
---
For OpenPGP, I'm not sure my install is good. At runtime it says:
Compress::Zlib object version 1.41 does not match bootstrap parameter 1.42 at C:/Perl/site/lib/Compress/Zlib.pm line 100.
Compilation failed in require at C:/Perl/site/lib/Crypt/OpenPGP/Compressed.pm line 6.
BEGIN failed--compilation aborted at C:/Perl/site/lib/Crypt/OpenPGP/Compressed.pm line 6.
Compilation failed in require at C:/Perl/site/lib/Crypt/OpenPGP.pm line 443.
Something wrong. I've tried Zlib over again...
- ppm - can't find it
- perl -MCPAN -e "install Compress::Zlib" cannot locate object method ...
- just download, unzip and copy the .pm into the perl path. No success.
---
Blowfish installs fine:
perl -MCPAN -e "install Crypt::Blowfish"
CPAN: Storable loaded ok
Going to read C:\Perl\cpan\Metadata
Database was generated on Mon, 21 Aug 2006 04:32:38 GMT
Crypt::Blowfish is up to date.
but it will not load....
perl -w blowfishtest.pl
Can't locate loadable object for module Crypt::Blowfish in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at blowfishtest.pl line 2
Compilation failed in require at blowfishtest.pl line 2.
BEGIN failed--compilation aborted at blowfishtest.pl line 2.
---
ppd? Im not familiar with.
---
Let me just elaborate my original challenge, to make sure Im not moving in a wrong direction. I have some files that I, from a script, want to encrypt. These encrypted files I want to transfer by ftp and/or email to some other party. This other party will take pick up these files in a windows environment, decrypt them and then do some interesting stuff with them. They should be able to do that from their gui env, but probably they will also want to process them from some scripting environment.
Any help appreciated
Rgrds,
Hans