premature end of stream in PartialInputStream

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 is text data. Example of such data can be found at

In order to avoid this error, please make sure that you are using the latest version of the libraries.

The DidiSoft Team.