in reply to Problems with GPG.pm
I did have to fix line 267 of GnuPG.pm, and single quote a string, but after that it worked fine.#!/usr/bin/perl use warnings; use strict; use GnuPG; my $gpg = new GnuPG(homedir => '/home/zentara/.gnupg'); $gpg->encrypt(plaintext =>"Gnufile.txt", output => "Gnufile.gpg", recipient =>"zentara\@zentara.net",armor=>"1"); exit;
|
|---|