in reply to piping data to GnuPG creates empty file
I do NOT understand why almost identical code produces an empty file
The code might be almost identical, but the %ENViroment is not, user account and permissions, cwd, chroot, SELinux...
Also, your program does no error checking, so use GnuPG as it does
|
|---|