EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Strange Characters in Decrypted File

Posted: 10/04/2007 06:06:19
by Paul Webb (Basic support level)
Joined: 07/30/2007
Posts: 9

Just wondering if anyone had experienced the following. I am sending a PGP encrypted file (encrypted with Blackbox OpenPGP) to a client. They are able to decrypt but are reporting that the file has strange characters at the start of the file.

To be specific the characters are ïยป¿

This is breaking the automated process at the other end which is not expecting these. We don't think it is an issue at out end since we can see that the stream we are encrypting is fine (and we write out the clear text version to file before using the same stream to encrypt it). Is it a possibility that this is an issue with the other party's decryption software (a very old PGP 6.5.2 version) or could it be an issue with the file being encrypted in Windows XP and decrypted in a Unix environment? Any comments, suggestions etc appreciated. :)
Posted: 10/04/2007 08:12:28
by Ken Ivanov (Team)

Please try to decrypt the encrypted file using PGPFiles demo application and check if the decrypted document contains those characters. This will help understand on which stage of the process are the characters appended.
Posted: 10/04/2007 08:19:15
by Paul Webb (Basic support level)
Joined: 07/30/2007
Posts: 9

Hi Innokentiy,

I tried encrypting and signing as normal then decrypting with PGPFiles and it does not appear to include the extra characters.

Any ideas?

Posted: 10/04/2007 08:39:55
by Ken Ivanov (Team)

Seems to be a bug of PGP 6.5.2. Please try to play with UseOldPackets, UseNewFeatures and Armor properties and check if some combination of these properties solves the problem. UseOldPackets=true, UseNewFeatures=false, Armor=false is the most likely configuration to succeed.
Posted: 10/04/2007 10:05:22
by Eugene Mayevski (Team)

Please check the binary values of these symbols. Can it be that they see UTF8 signature bytes?

Sincerely yours
Eugene Mayevski
Posted: 10/04/2007 10:29:16
by Paul Webb (Basic support level)
Joined: 07/30/2007
Posts: 9

Hi. On further inspection that is exactly what it was - the UTF8 Byte Order Mark slipped in there. We didnt notice it in windows but it matters much more in Unix and DOS.

So false alarm. Thanks for the assistance.



Topic viewed 2754 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!