So, we use GNUPG to encrypt/decrypt. We call the batch script from the map using the batch adapter. The problem is, the subsequent map that processes the file commonly gets a "12" or source not available. Evidence is leaning towards gpg.exe taking too long to decrypt/encrypt. Does anyone know a batch solution to write the file with a .tmp extension and then rename it to the right extension when finished?
Here are my script examples:
Encrypt:
gpg -e -r 49786D11 %1
Decrypt:
type c:\mercenc.txt | gpg --passphrase-fd --decrypt %1
Thanks
Here are my script examples:
Encrypt:
gpg -e -r 49786D11 %1
Decrypt:
type c:\mercenc.txt | gpg --passphrase-fd --decrypt %1
Thanks