executing GPG commands inside VB .net 2003 form
- From: "Scott Emick" <semick@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 22 Mar 2006 09:11:02 -0500
I've been trying for some time now to decrypt with GPG from inside vb .net
to no avail. my normal decrypt command goes something like this:
gpg.exe --armor --passphrase-fd 0 <
P:\mis\mfg\NorelcoIBM\etc\foxpassphrase.txt -o
\\fox7\mfg$\Applica\Infomercial\Orders\West\%1 -d
\\www\d$\Inetpub\ftproot\littermaid_west\inbox\%1.PGP
The input file is normally called something.txt.pgp and this command
generates the output file for me something.txt
The problem is coming inside .net from the fact that I am reading from
standard input the passphrase. I tried to write the passphrase to the
standard input of the process, that didn't work. I tried using Windows
scripting host to execute the command instead, that didn't work.
Has anyone found a way to make this work?
--
Scott Emick
Web Programmer
Fox International
Remove the ham from mail address if it's not spam
.
- Prev by Date: Re: VB.NET Thread Garbage Collection
- Next by Date: ComInterop: VB6 Com Interface object = VB6 Com object fails
- Previous by thread: Copy to Clipboard
- Next by thread: ComInterop: VB6 Com Interface object = VB6 Com object fails
- Index(es):
Relevant Pages
|