GnuPG 2.2.8 compatibility for .NET

As of version 2.2.8, GnuPG/gpg will not accept encrypted or signed and encrypted .pgp files which don’t have integrity protection packet, also known as Modification detection code (MDC packet). This will be the default behavior of GnuPG from now on, and is their answer to the EFAIL attack. Our product OpenPGP Library for .NET exposes […]

Continue reading


OpenPGP Library for .NET in Mono

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 […]

Continue reading


Using a public key by mistake when decrypting

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 […]

Continue reading


Using OpenPGP for .NET from Windows PowerShell

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 www.didisoft.com/net-openpgp/examples/powershell/) 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 […]

Continue reading