We are happy to announce that version 2.6.0 of DidiSoft OpenPGP Library for Java has been released.
Unfortunately this version is not compile time backward compatible with the 2.5.x versions. The main thing that breaks the backward compatibility is that all encrypt methods exposed by the com.didisoft.pgp.PGPLib class now throw java.io.IOException additionally. In the 2.5.x versions and in all prior versions they were wrapped with PGPException, which was a bad design decision.
Below is a list of the affected methods:
PGPLib.encryptFile – now throws additionally java.io.IOException
PGPLib.encryptFilePBE – now throws additionally java.io.IOException
PGPLib.encryptStream – now throws additionally java.io.IOException
PGPLib.encryptStreamPBE – now throws additionally java.io.IOException
The migration guide is available at https://www.didisoft.com/kb/java-pgp/migration-guide-from-version-2-5-x-to-version-2-6/
EOL and EOVS for 2.5.x
The End of Life (EOL) and End of Vendor support (EOVS) for the 2.5.x libraries is the 1st of January 2015.
With this release we have also released version 2.5.9 which is an updated 2.5.8 with additional debug java.logging messages and some improvements.