List Info

Thread: Programming with GnuPG




Programming with GnuPG
user name
2006-01-24 15:22:01
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

jamieriell wrote on 24.01.2006 0:44:
> I had posted a similar message regarding this about a
month ago and am 
> re-attempting to get some help. I need to write a C#
console app that 
> runs as part of a batch process to GnuPG encrypt an xml
file.  
> 
> I am using the following code to run this, but it is
not creating an 
> encrypted file.  I am able to manually encrypt a file
using these 
> commands, but it doesn't work using this code.
> 
> CommandLineProcess cmd = new CommandLineProcess();
> cmd.Command = "gpg --recipient Diamond Promotion
Service --encrypt 
> test.txt --armor";
> cmd.UseComSpec = true;
> bool bSuccess = cmd.Start();
> cmd.Abort();
> 
> I imagine that the problem is there is another response
that needs to 
> be made to the gpg process, however, i am unsure how to
do this.
> 
> Any help would be greatly appreciated.
> 

I think it's better to ask such questions in gnupg-devel or
gnupg-users
mailing lists:
h
ttp://lists.gnupg.org/mailman/listinfo/gnupg-devel
h
ttp://lists.gnupg.org/mailman/listinfo/gnupg-users

- --
Regards
OpenPGP Key ID: 0x9E353B56500B8987
Encrypted e-mail preferred.



-----BEGIN PGP SIGNATURE-----

iD8DBQFD1kYYnjU7VlALiYcRA1ShAJ4vOkGNqn43qJNeCKrjo/b7k35ZeQCg
9sFR
Qqybc2ntrpwKC4BUKqnQX0U=
=CiO5
-----END PGP SIGNATURE-----


____________________________________________________________
__
Archives:         htt
p://groups.yahoo.com/group/PGP-Basics/messages
OT List:          http://gr
oups.yahoo.com/group/PGP-Basics-OT
OT Subscribe:    
mailto:PGP-Basics-OT-subscribe@yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://grou
ps.yahoo.com/group/PGP-Basics/

<*> To unsubscribe from this group, send an email to:
    PGP-Basics-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 



[1]

about | contact  Other archives ( Real Estate discussion Medical topics )