From: Erica L. <yl...@su...> - 2009-01-10 05:03:47
|
I have generated the key pair (1024-bit RSA key) using the KeyBundle API and exported the public key to different users. The user imports the key to their key server and encrypts files using pgp commands. Sometimes I can decrypt the files sometimes I can't with various exceptions listed below: 1. cryptix.message.MessageException: cryptix.openpgp.PGPFatalDataFormatException: Invalid packet type. at cryptix.openpgp.provider.PGPMessageFactory.generateBinary(PGPMessageFact ory.java:209) at cryptix.openpgp.provider.PGPMessageFactory.engineGenerateMessages(PGPMes sageFactory.java:76) at cryptix.message.MessageFactory.generateMessages(MessageFactory.java:142) cryptix.message.MessageException: cryptix.openpgp.PGPFatalDataFormatException: Read tried past end of inputstream. at cryptix.openpgp.provider.PGPMessageFactory.generateBinary(PGPMessageFact ory.java:209) at cryptix.openpgp.provider.PGPMessageFactory.engineGenerateMessages(PGPMes sageFactory.java:76) at cryptix.message.MessageFactory.generateMessages(MessageFactory.java:142) My environment: Cryptix OpenPGP and JCE from year 2005 JDK 1.5 Window XP and Solaris Anyone can provide some info will be a great help. Thanks! The information contained in this message may be legally privileged and confidential. It is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and/or SuccessFactors, Inc. by telephone at (650) 645-2000 and delete or destroy any copy of this message. |