开发者

Using GNU Privacy Guard in .NET

Is there some way to use GNU Privacy Guard functionality directly? Yes, I know about 开发者_如何学Goredirecting input/output streams from gpg.exe utility, but maybe we can use some unmanaged libraries from distribution directly?


I think I can answer my own question. I was pointed to Starksoft .NET GnuPG Component - a free library that takes interaction with GPG on itself. Looks like it works fine, even if the project seems to be not maintained for a while.

UPD: The component seems to be available now as a NuGet package at https://www.nuget.org/packages/starksoft.aspen


I'm also interested in this.

You prb know about this wrapper class that wraps the redirecting streams to gpg.exe, but there doesn't seem to be much in the way of libraries.

There is SharpPrivacy but that has been dead a while, I looked at the source code (from codeproject) and the presentation logic is mixed in with the actual code - it needs a lot of tlc. The sourceforge page for it seems to be dead too.

Theres also Bouncy Castle which may do the job, I've not looked into it yet though, I would suggest it over SharpPrivacy though - let me know how you get on if you pursue this ;)


There are also the BouncyCastle Privacy Guard (BCPG) components of the BouncyCastle csharp library, available at http://www.bouncycastle.org/csharp/ , if you're looking for native csharp interaction with GPG-encrypted streams.


I have moved the projects to CodePlex. This library is now part of the Biko library and is available in a Alpha release. http://biko.codeplex.com/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜