Gpg encryption over web browser
问题 I have search all over the web, but unable to find an answer, so I hope I can find one here. I have a web application run on Windows and IIS written in Perl. One of the scripts perfroms multiple tasks. One of them executes a command to encrypt a file. Here is the command: my $cmd = "c:\\gnupg\\pub\\gpg -ase --always-trust --batch --passphrase mypassphrase --output $filename.pgp -r stuff $filename"; qx/$cmd/; Unfortunately, this does not work. The error I get is: gpg: no default secret key: No