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 […]
.NET PGP
Compatibility with Java 7+ RSA signatures
As of Java version 7 and above the RSA digital signatures computation has been changed and signatures that were previously accepted by software build with Java may end being rejected with message like: “unable to verify signature: Signature length not correct: got 511 but was expecting 512” Solutions using DidiSoft OpenPGP Library for .NET may […]
Should the EFAIL attack concern your PGP applications
A few days ago in the world of applied cryptography especially S/MIME and PGP emails has appeared a new threat – the EFAIL attack. In this post we are not going to explain again details of the attack itself as a lot has already been published on the Internet, but rather explain do you have […]
Should DidiSoft OpenPGP Library for .NET provide strong name assemblies or unsigned assemblies?
Last week we have sent a short survey to subscribers for our OpenPGP Library for .NET mailing list. The survey had only one question: Should DidiSoft OpenPGP Library for .NET provide strong name (signed) assemblies (DLL’s) or plain unsigned assemblies? At the end of this post you will find the results of the survey, but […]
OpenPGP Library for .NET 1.7.14 with Web of Trust
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
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
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
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
The latest release of DidiSoft OpenPGP Library for .NET (1.7.9.14) and OpenPGP Library for Java (2.6.6.3) 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
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 […]