EldoS | Feel safer!

Software components for data protection, secure storage and transfer

SecureBlackBox.PGP throwing error "Unexpected end of data"

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#35410
Posted: 01/06/2016 14:35:46
by Amar  (Standard support level)
Joined: 05/01/2015
Posts: 7

Hi,

We are using version 12 SecureBlackBox to decrypt pgp and gpg files. These encrypted files are provided by third party vendors. The component/code is working fine for decrypting pgp files but on gpg decryption is it throwing the below error
"Unexpected end of data"
at SBPGP.TElPGPReader.Synchronize()
at SBPGP.TElPGPReader.DecryptAndVerify(Stream ASourceStream, Int64 Count)

Can you please help me understand/figure why the component errors out on gpg decryption.

Thanks,
#35413
Posted: 01/06/2016 15:56:47
by Ken Ivanov (EldoS Corp.)

Hi Amar,

Since not too long ago we started getting occasional reports of such kind. After some investigation we've found out that some software, not yet identifiable, produces badly formatted OpenPGP files. We've added a workaround to tolerate such files in version 13. Unfortunately, it's not available in version 12 as the problem showed itself up relatively recently.

To overcome the issue, please consider upgrading to version 14 and tuning up your TElPGPReader component by setting IgnoreDataPacketLengths property to true.

On a side note, if you have a valid SecureBlackbox license, please assign your license ticket to your eldos.com account. This will bring up all the up-to-date downloads available within your license, and let us provide you with higher support level.

Ken
#35424
Posted: 01/07/2016 11:25:52
by Amar  (Standard support level)
Joined: 05/01/2015
Posts: 7

Thanks Ken, I was able to successfully decrypt the files by upgrading.
#35425
Posted: 01/07/2016 11:50:57
by Ken Ivanov (EldoS Corp.)

Thank you for confirming that. Do you by any chance know the name of the software that produced the file?

Ken
#35611
Posted: 01/19/2016 12:38:49
by Amar  (Standard support level)
Joined: 05/01/2015
Posts: 7

No, I do not know the software, it is black box to us.
Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.

Reply

Statistics

Topic viewed 1015 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!