Curve-25519 decryption in OpenPGP is broken in BouncyCastle 2.5

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

Continue reading


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: (:) […]

Continue reading


The specified module ‘DidiSoft.Pgp.PowerShell’ was not loaded because no valid module file was found in any module directory

When trying to use any of the PGP PowerShell functions provided with DidiSoft.Pgp.Powershell.dll, e.g. PS>ConvertTo-PgpEncryptedFile you may encounter this error: The specified module ‘DidiSoft.Pgp.PowerShell’ was not loaded because no valid module file was found in any module directory. Why is PowerShell not loaded The main reason why DidiSoft.Pgp.Powershell.dll is not loaded, is because PowerShell cannot […]

Continue reading