USA and Canada: 866.253.7568   International: +1-501-313-0397
DidiSoft Ltd.

Archive for the '.NET PGP' Category

OpenPGP Library for .NET 1.7.14 with Web of Trust

October 27th, 2015

DidiSoft OpenPGP Library for .NET 1.7.14 was released today offering extended support for OpenPGP Web of Trust. In previous versions of the library only setting own trust was available and plain signing of keys. With this new release keys status can be checked by Trust amount and Verified status. We can also sign public keys […]

OpenPGP Library for .NET in Mono

October 12th, 2015

DidiSoft OpenPGP Library for .NET can be used without any problems in Mono projects under Mac OSX and Linux. The library DLL files that you have to reference in your Mono project are the ones located in the root of the \Bin folder. A limitation for Mono developers is that they have to first install the library […]

Using a public key by mistake when decrypting

February 24th, 2015

A common scenario that we have evidenced in our technical support practice for DidiSoft OpenPGP Library for .NET is that some customers by mistake try to decrypt .pgp files with an OpenPGP public key. Although the exception was of class DidiSoft.Pgp.Exceptions.WrongPrivateKeyException,  the exception text so far wasn’t very helpful and it stated: “Decryption of data encrypted […]

Invoking OpenPGP Library for .NET from MS SQL Server

July 19th, 2014

In this article we are going to illustrate how to invoke DidiSoft OpenPGP Library for .NET from MS SQL Server (tm) stored procedures and T-SQL code. We also provide a dedicated set of Transact-SQL routines in the product MsSqlPGP. Note: This information applies to MS SQL Server 2005 and above. All the demonstrated code below should […]

premature end of stream in PartialInputStream

June 9th, 2014

The latest release of DidiSoft OpenPGP Library for .NET ( and OpenPGP Library for Java ( ship with bug fix for the error “premature end of stream in PartialInputStream“. The error “premature end of stream in PartialInputStream” may be observed when trying to decrypt .pgp data with wrong internal length indicators , usually when the encrypted content […]

Using OpenPGP for .NET from Windows PowerShell

September 4th, 2013

As of version 1.7.15 we provide a PowerShell ready module installed and imported in Windows PowerShell with the library. A complete tutorial chapter is available here.   (Obsolete: see This article contains basic information regarding using DidiSoft OpenPGP Library for .NET from Windows PowerShell. 1. Referencing the library In order to access the classes exposed by […]

What’s the difference between Elliptic Curve OpenPGP keys and AES-256

June 27th, 2013

With the new extension of the OpenPGP Standard that provides support for Elliptic Curve OpenPGP keys we have received a question from one of our customers asking what is the difference between AES-256 and the new ECC OpenPGP keys? Short answer The short answer is that the Elliptic Curve cryptography (ECC) OpenPGP keys are asymmetric keys […]

WPF and Silverlight support

October 25th, 2012

Windows Presentation Framework (WPF) DidiSoft OpenPGP Library for .NET works without problems in WPF (Windows Presentation Framework) applications. The Library DLL files that you should reference are located under the /Bin folder located in the library installation folder. Silverlight For Silverlight applications you have to reference the DLL files located under the /Bin/Silverlight folder located in the library […]

64 bit support

October 25th, 2012

DidiSoft OpenPGP Library for .NET is written completely in managed code and it runs with no modification on 32 bit and 64 bit platforms including Itanium. The library Intermediate language (IL) code is compiled to native code by the Microsoft .NET Framework JIT (Just in time) compiler at runtime. It will run as 64-bit on […]

Unknown object in stream 21

December 5th, 2011

We have received recently an email from one of our customers that have encountered an exception with message “Unknown object in stream 21“. The scenario when this exception occurred was: she tried to encrypt with an ASCII armored public key received from a partner with different operating system. The reason for the above exception was […]