OpenPGP Library for .NET version 1.7.5

Hi everyone,

We have just released version 1.7.5 of DidiSoft OpenPGP Library for .NET.

This version contains some new methods and some bug fixes.

Finally there are DLL files for Windows Phone 7 located in the /Bin/WinPhone folder in the location where the library is installed.

For a list of all changes, please see below.

[*] : Bug
[+] : New
[-] : Removed
[!] : Modification

Version 1.7.5.0
Release date: November 28, 2012

[+] MS Help Viewer 2.0 (Visual Studio 2012) help integration.
[+] Added DLL files for Windows Phone 7 and .NET Compact Framework 2.0

Fixed bugs

[*] Fixed importing large .pkr and .skr keyrings from PGP(r) 6.5 into a KeyStore object
[*] PGPLib.EnryptFile – now throws KeyIsExpiredException if we try to encrypt with an expired public key
[*] PGPLib.EnryptFile – now throws KeyIsRevokedException if we try to encrypt with a revoked public key
[*] PGPLib.EnryptString – fixed a bug with long String messages
[*] DidiSoft.Pgp.Exceptions.NonPGPDataException is now made public

New classes and enumerations

[+] exception DidiSoft.Pgp.Exceptions.FileIsPBEEncrypted – thrown if we try to decrypt a password encrypted file
with a private key
[+] enum DidiSoft.Pgp.ContentDataType – available content types for an OpenPGP archive

Changes in namespace DidiSoft.Pgp

[+] PGPLib.ContentType – sets the content type for the next encryption calls (see ContentDataType)

[!] PGPLib.SignAndEncryptStream – the output stream is now left open after the method call
[!] PGPLib.DecryptFile – throws DidiSoft.Pgp.Exceptions.FileIsPBEEncrypted if we try to decrypt a password encrypted file
[!] PGPLib.DecryptStream – throws DidiSoft.Pgp.Exceptions.FileIsPBEEncrypted if we try to decrypt a password encrypted file
[!] PGPLib.DecryptString – throws DidiSoft.Pgp.Exceptions.FileIsPBEEncrypted if we try to decrypt a password encrypted file

[+] PGPLib.DecryptStreamPBE – decrypts OpenPGP password encrypted streams
[+] PGPLib.DecryptStringPBE – decrypts OpenPGP password encrypted strings
[+] PGPLib.DetachedVerifyFile – performs verification of detached OpenPGP signatures
[+] PGPLib.SignStreamV3 – methods for OpenPGP signing with the old version 3 signature format
[+] KeyStore.LoadFromStream – method compatible with the file based KeyStore
[+] KeyPairInformation.IsLegacyRSAKey – property that indicates that a key is a legacy PGP(r) 2.x created key
[+] KeyPairInformation.PreferredHashes – property that lists the preferred hash algorithms for a key
[+] KeyPairInformation.SignedWithKeyIds – property that lists the Key ID’s of the keys that have signed a key

What’s next

In the coming two weeks we are going to update the library with additional set of DLL files for Windows 8 WinRT.

(Planned as version 1.7.5.1)

Please do not hesitate to drop us a line if you have any comments regarding the new release.