EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Strange Characters in Decrypted File

Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.
#3944
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. :)
#3950
Posted: 10/04/2007 08:12:28
by Ken Ivanov (EldoS Corp.)

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.
#3951
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?

Paul
#3952
Posted: 10/04/2007 08:39:55
by Ken Ivanov (EldoS Corp.)

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.
#3956
Posted: 10/04/2007 10:05:22
by Eugene Mayevski (EldoS Corp.)

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


Sincerely yours
Eugene Mayevski
#3961
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.
Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.

Reply

Statistics

Topic viewed 2319 times

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




|

Back to top

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

Got it!