EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Unable to Unprotect encrypted file

Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.
#10558
Posted: 07/10/2009 15:50:25
by Kel Koenig II (Standard support level)
Joined: 07/25/2008
Posts: 41

I'm wondering what could be causing a symettrically encrypted file to fail to decrypt. All other files are working just fine but two files we've received we've been unable to decrypt. This is the debug information when decrypting a bad file, any thoughts?

[7/10/2009 3:51 PM] EldoS OpenPGP Adapter (receive): PickupFilesAndSubmit() FilePath: \\smpbiztkp03\Apps\Corporate.Encryption\ContractPAL\ToDecrypt/ FileMask: *.gpg
[7/10/2009 3:51 PM] EldoS OpenPGP Adapter (receive): Failed to unprotect the file: '\\smpbiztkp03\Apps\Corporate.Encryption\ContractPAL\ToDecrypt/17_VSC_22_871_PARKER_NANCY_000702642_d_1.pdf.gpg', error: Unexpected end of data

Stack:
at SBPGP.TElPGPProcessingUnit.NFinalize()
at SBPGP.TElPGPReader.ProcessingUnitFinish(Object Sender)
at SBPGP.TElPGPProcessingUnit.StreamFinish(Object Sender)
at SBPGPStreams.TElPGPDecryptingStream.OnProcessorFinish(Object Sender)
at SBPGPEntities.TElPGPStreamProcessor.OnEntityFinish(Object Sender)
at SBPGPEntities.TElPGPEntity.DataAvailable()
at SBPGPEntities.TElPGPStreamingEntity.DataAvailable()
at SBPGPEntities.TElPGPStreamProcessor.DataAvailable()
at SBPGPStreams.TElPGPDecryptingStream.DataAvailable()
at SBPGP.TElPGPProcessingUnit.Write(Byte[] Buffer, Int32 Offset, Int32 Count)
at SBPGP.TElPGPReader.Synchronize()
at SBPGP.TElPGPReader.DecryptAndVerify(Stream ASourceStream, Int64 Count)
at BizCrypto.BizTalk.Adapters.PGP.PGPReceiverEndpoint.PickupFilesAndSubmit()
#10572
Posted: 07/13/2009 04:46:47
by Ken Ivanov (EldoS Corp.)

Thank you for contacting us.

First of all, can you please check if those two files can be decrypted with some third-party OpenPGP-compliant software?
#10582
Posted: 07/14/2009 08:00:28
by Kel Koenig II (Standard support level)
Joined: 07/25/2008
Posts: 41

It can be decrypted using GnuPG but there is a warning during the decryption: "block_filter: 1st lenght byte missing". The file is successfully decrypted and looks like it should. Is BizCrypto not handling this warning properly?

Thanks,
Kel
#10583
Posted: 07/14/2009 08:25:01
by Eugene Mayevski (EldoS Corp.)

Looks like not a warning, but a misformed PGP packet. Is it possible for you to get and send to us the similar packet with any non-secret data, encrypted for some test key? We would need to investigate, what exactly is wrong with it.


Sincerely yours
Eugene Mayevski
#10694
Posted: 07/29/2009 12:10:20
by Kel Koenig II (Standard support level)
Joined: 07/25/2008
Posts: 41

The other thing we notice when one file has a misformed PGP packet is the entire batch of files is forced to reprocess. So if 20 files are encrypted and the PGP receive location starts processing all 20, all the files that are good are processed and sent on. If there is one bad file in the batch though, the PGP receive location does not remove all the files that were good and did process. Therefore duplicate files are attempted to be processed which causes a bunch of errors that just keep repeating.

Let me know if you need more information on this situation. We are working on getting a sample file without private data in it for you to test with but it's not easy with the vendor.

Thanks,
Kel
#10697
Posted: 07/29/2009 15:31:37
by Ken Ivanov (EldoS Corp.)

Thank you for the feedback. We will add a property allowing to specify which files to remove (succeeded/failed/either) in the future build update.
Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.

Reply

Statistics

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