Unfortunately there is a weird bug in BouncyCastle C# version 2.5 that prevents session keys based on Elliptic Curve Curve-25519 in OpenPGP messages to be decrypted. Trying to decrypt the session key an InvalidCypherTextException is thrown. We have released version 1.9.5 of OpenPGP Library for .NET based on BouncyCastle for C# version 2.5 and this […]
OpenPGP Library for .NET News
Articles related to DidiSoft OpenPGP Library for .NET.
OpenPGP Library for .NET 1.9.4.102 with support for AOT and MailMessage
We have released today DidiSoft OpenPGP Library for .NET 1.9.4.102. The new version ships with a .NET 8 pre-built assemblies with Ahead of Time (AOT) compilation support (something which wasn’t possible with earlier versions). Also the DidiSoft.Pgp.Mail namespace, when working with PGP/MIME emails was previously relying on third party Email libraries for sending the produced […]
OpenPGP updates, LibrePGP and RFC 9580
The OpenPGP standard format for encrypted data is now on a crossroad. The previous attempt for an updated specification (RFC4880 bis), that aimed to reflect the newly invented cryptography algorithms (e.g. Elliptic Curves) and to deprecate those which are no longer treated as safe, has been implemented halfway between the open source implementations (leaded by […]
OpenPGP for .NET with improved RSA speed
We are please to announce the release of OpenPGP Library for .NET version 1.9.4.54 which among the other updates provides an improved RSA key generation speed using the underlying platform acceleration. Until now we relied on the BouncyCastle RSA algorithm implementation which is getting slower when key sizes exceed 2048 bits. For example the average […]
Unable to find package ‘DidiSoft.Pgp’ at source ”
Recently we’ve started to receive complaints that attempts to install the DidiSoft OpenPGP Library for .NET NuGet package in MS Visual Studio 2022 resulted in the following error: PM> Install-Package DidiSoft.Pgp Install-Package : Unable to find package ‘DidiSoft.Pgp’ at source ”. At line:1 char:1 + Install-Package DidiSoft.Pgp + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) […]
OpenPGP Library for .NET 1.9.4
We are pleased to announce the release of OpenPGP Library for .NET 1.9.4 which offers a completely rewritten Async method support for the cryptography methods in the PGPLibAsync class. This version is backward compatible with version 1.9.3.x on code level, but your applications must be rebuild and redeployed with version 1.9.4. The main reason that […]
AEAD cipher support in OpenPGP
In version 1.9.3.91 of OpenPGP Library for .NET we have added support for decrypting PGP AEAD data encrypted with the recent version 2.3 of GnuPG by using the AEAD symmetric cipher. AEAD status in OpenPGP Authenticated Encryption with Associated Data (AEAD) is a form of encryption that simultaneously assure the confidentiality and authenticity of data. Unfortunately, […]
OpenPGP for .NET with SHA-256 User ID signatures
As of version 1.9.3.21 DidiSoft OpenPGP Library for .NET creates OpenPGP keys using SHA-256 signature for the key User ID. What’s the purpose of the signature? An OpenPGP Key in addition to the cipher parameters contains also additional information one of which is the User ID of the key owner, for example, “John Doe <john@gmail.com>“; […]
EdDsa and Curve25519 keys in C#
DidiSoft OpenPGP Library for .NET version 1.9.3 offers support for the creation of Elliptic Curve Cryptography (ECC) PGP keys based on Curve-25519. What is Curve-25519? Curve-25519 is one of the fastest ECC curves and is not covered by any known attack patents. The first Elliptic Curves introduced in OpenPGP standard were the NIST curves. Their […]
Blazor server app with PGP encryption
Recently we were asking ourselves will OpenPGP Library for .NET work in a Blazor application. As you probably know there are two types of Blazor applications, server and WASM (web assembly). In this article, we will demonstrate the usage of the library in a server application. For WASM a few words will be said at […]
