Contact Us Forum Customers Area

DidiSoft Ltd.

Archive for the 'Knowledge Base' Category

Unknown object in stream 21

December 5th, 2011

We have received recently an email from one of our customers that have encountered an exception with message “Unknown object in stream 21“. The scenario when this exception occurred was: she tried to encrypt with an ASCII armored public key received from a partner with different operating system. The reason for the above exception was [...]

Unknown KeySpec type ElGamalPrivateKeySpec

October 21st, 2011

Some customers that have deployed DidiSoft OpenPGP Library for Java as part of a web application, have noticed that the exception below is thrown when they perform a hot deploy on the application server: org.bouncycastle.openpgp.PGPException: Exception constructing key    at org.bouncycastle.openpgp.PGPSecretKey.extractPrivateKey(Unknown Source)    at org.bouncycastle.openpgp.PGPSecretKey.extractPrivateKey(Unknown Source) … Caused by: java.security.spec.InvalidKeySpecException: Unknown KeySpec type: org.bouncycastle.jce.spec.ElGamalPrivateKeySpec    [...]

unknown object in stream 9

September 26th, 2011

This exception is equivalent to unknown object in stream SymmetricKeyEncrypted. Usually occurs when we try to decrypt a conventionally OpenPGP encrypted file (also known as password encrypted or PBE) that was created with PGP 2.x or McAfee E-Business Server 7.x. This issue has been addressed in OpenPGP Library for Java version 2.5.6 and upper and [...]

Private key not compatible with PGP 6.5 and McAfee E-Business Server 7.1

August 25th, 2011

DH/DSS Private keys created with new implementations of the OpenPGP specification like PGP Desktop 9 (r) and newer, and DidiSoft OpenPGP Library for Java and OpenPGP Library for .NET as well may raise exceptions. Such private key imports successfully in PGP Freeware 6.5.8, but when we try to decrypt a file with it the following [...]

McAfee EBusiness Server 7.1 error -11391

August 15th, 2011

If you encrypt data for recipients that use McAfee EBusiness Server 7.1 you may receive complaints that they cannot decrypt the file. Below is a common log if the other party uses info level VERBOSE (with command line parameter –info VERBOSE or in the pgp.cfg file): Enter pass phrase: event 23: Decryption symmetric cipher used: [...]

Deploy OpenPGP Library for Java executable JAR

July 29th, 2011

If you wish to deploy a single executable JAR application that embeds DidiSoft OpenPGP Library for Java (and the BouncyCastle jars as well) the only solution is to embed (package) the three jars of the library within the final executable JAR application. The reason for this is that the BouncyCastle java security provider must be [...]

unknown object in stream SymmetricKeyEncrypted

July 26th, 2011

Sometimes if you try to decrypt an OpenPGP encrypted file you may encounter an IO exception with message “ unknown object in stream SymmetricKeyEncrypted“. After an investigation, we found that such an exception is thrown when we try to decrypt a password based encrypted file (also known as conventional encrypted or PBE) created with PGP version [...]

Sign files for PGP 6.5 and below

July 22nd, 2011

The default methods for OpenPGP signing and one pass sign and encrypt provided byDidiSoft OpenPGP Library for Java and OpenPGP Library for  .NET produce version 4 OpenPGP digital signatures (for more information, please refer to the OpenPGP specification RFC 4880 ). Unfortunately PGP version 6.5 and below recognize only version 3 digital signatures. In order [...]

Knowledge Base section

July 22nd, 2011

DidiSoft team has decided to open a Knowledge Base section. This section will contain articles regarding OpenPGP Library for .NET and OpenPGP Library for Java