Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2008 > C# 2008 aka C# 3.0
|
C# 2008 aka C# 3.0 Discuss the Visual C# 2008 (aka C# 3.0) language
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2008 aka C# 3.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 3rd, 2008, 06:48 AM
Registered User
 
Join Date: Aug 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Using OpenPGP in C#.NET

Hi,

I have a window application written in C# that need to encrypt/decrypt a .txt file. I need to use OpenPGP software for this purpose.
Can someone help me out with this or point me to some articles on net?
I did few searches myself but no luck :-(

Thanks
Adi

 
Old December 3rd, 2008, 07:26 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

Strange, cause my first search came back with this:

http://www.codeproject.com/KB/securi...rpprivacy.aspx

from this search:

http://www.google.co.uk/search?q=openpgp+c%23

How does that not answer you question?

/- Sam Judson : Wrox Technical Editor -/
 
Old December 5th, 2008, 06:35 AM
Registered User
 
Join Date: Aug 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Now using GnuPG instead of OpenPGP.
I'm decrypting a file, while doing so its prompting for a passphrase.
Instead of entering the passphrase in the next line i tried including the command itself like below.

I used this command:
gpg --passphrase -fd 0 c:\password.cat -o c:\output.txt -d c:\data.pgp

look like it never complete reading the password file with message
"reading passphrase from file descriptor 0" and stay there all the time.

What i did wrong? Please help.

Thanks!


 
Old December 5th, 2008, 10:39 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

I don't know - why don't you ask on a GnuPG forum, rather than a C# one.

/- Sam Judson : Wrox Technical Editor -/





Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I run VB .net 2005 with DOT NET 2003 APPLICATI kadesskade BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 2 August 8th, 2006 05:14 AM
Parse XML doc using VB.NET into ASP.NET page kwilliams Classic ASP XML 17 November 11th, 2005 10:42 AM
Database diagram in .net using asp.net,c#.net scotttiger ADO.NET 2 February 16th, 2005 01:35 AM
CR.net With ASP.net using C#.net Nilesh Leuva Crystal Reports 1 September 11th, 2003 12:19 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.