in reply to bad gpg
You may want to set up a global variable with all of your default gpg parameters.
Examples:
our $GPG = qq|/usr/local/bin/gpg --no-version --comment "" --no-secmem +-warning --no-permission-warning --homedir "./.gnupg" --no-tty|; # List keys my $cmd = qq|$GPG --fingerprint --list--keys --with-colons|; # Delete specific key my $cmd = qq|$GPG --delete-secret-and-public-keys 0x$Fingerprint|; # etc. etc. etc. # my $Result = qx|$cmd|; my @PGPKeys = split(/\n/,$Result); # Do something . . .
Move or delete the 'homedir' directory, and then use only perl script(s) to work with the gpg entries. I don't know if this will work with windows, but it worked for me on all versions of *nix I tested. All permissions will be set up correctly.
Hopefully, this will get you going.
Good Luck
"Well done is better than well said." - Benjamin Franklin
|
|---|