OpenPGP Library for Java 2.6.1

Dear friends,

Version 2.6.1 of DidiSoft OpenPGP Library for Java was released today.

The updated production copy is available through our customers’ section.

Among the main new features available in this release is the ability to refer keys located in a KeyStore object through their hexadecimal Key ID as well as with part of the User ID. The hexadecimal Key ID’s can be specified in all methods that expect Key User ID parameter. Hexadecimal Key ID’s can be specified with an optional prefix 0x, for example these are both valid Key IDs : “0x7A5bC235”, “7A5bC235”

A brief list of changes can be found below:

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

Version 2.6.1.0
Release date 05 of February 2013

Changes in package com.didisoft.pgp
[+] interface ContentDataType – holds the posibilities content types for OpenPGP data
[+] PGPLib.getContentType() – returns the default content type that will be used when encrypting.
The default is binary. Other posibilities are text and utf-8.
[+] PGPLib.setContentType(char) – sets the default content type that will be used when encrypting.
The default is binary. Other posibilities are text and utf-8.
[*] PGPLib.clearSignString – fixed bug when signing multiple line messages.

KeyStore class general changes
[!] userId parameters are now searched by part of the User ID for example if a key has a User ID “Richard Collins”
the key can be located by only “Collins”.
[!] the parameters that accept key User ID now also accept Key Hex ID string for example “74BB3286” or “0x74BB3286”

[*] Fixed importing large .pkr and .skr keyrings from PGP(r) 6.5 into a KeyStore object

[!] KeyStore(keystoreFile, password) – now if the keystore password is misspelled
a com.didisoft.pgp.exceptions.WrongPasswordException is thrown.
[+] KeyStore.isPartialMatchUserIds() – returns is partial searching of User IDs turned on. The default is true.
[+] KeyStore.setPartialMatchUserIds(boolean) – turns on/off partial searching of User IDs.
[+] KeyStore.saveToStream – Saves the key store data to a stream unprotected with a password
[+] KeyStore.loadFromStream(keyStream) – loads the key store data from an unprotected stream
[+] KeyStore.loadFromStream(keyStream, password) – loads the key store data from a protected stream

Please drop us a line if you have any comments, ideas or criticism related to this version.