Using Process Start to send data to a prompt from a GPG.exe

P

PAPutzback

I am trying to decrpyt a gpg encrypted file but the process prompts for
a password.

The Process.start function is run in a service so I want to be able to
pass the password without any user intervention.

Thanks,
Phil
 
P

PAPutzback

If I copy and past this into a command window it works but with
Process.start or the Shell function all I get is a dos window with the
following message.
Reading passphrase from file descriptor 0 ...

c:\working\gpg\gpg.exe --yes --output c:\working\inbound\test.txt
--passphrase-fd 0 < c:\working\gpg\passphrase.txt --decrypt
c:\working\inbound\test.gpg
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top