EldoS | Feel safer!

Software components for data protection, secure storage and transfer

PGP Pipeline Component

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
#11373
Posted: 10/16/2009 09:37:44
by Monish Nagisetty (Basic support level)
Joined: 10/16/2009
Posts: 5

Is there a reason why the Eldos PGP Pipeline Components use a non-streaming approach to encrypting, signing, and armoring messages? It seems that the current implementation writes the message to disk, encrypts/sign/armors it and then reads from the disk again to return it to the next pipeline stage/component.

The Eldos SecureBlackbox components provide several stream classes (ElPGPStream, etc) that should allow the component to be written to handle messages in a streaming fashion. This would make these components perform significantly better when dealing with any large messages.
#11377
Posted: 10/16/2009 10:00:42
by Eugene Mayevski (EldoS Corp.)

Quote
mnagisetty Nagisetty wrote:
Is there a reason why the Eldos PGP Pipeline Components use a non-streaming approach to encrypting, signing, and armoring messages? It seems that the current implementation writes the message to disk, encrypts/sign/armors it and then reads from the disk again to return it to the next pipeline stage/component.


This is not exactly so. OpenPGP format requires that the size of the data is known before the packet is written. This means that the stream must be seekable (this is the way .NET Framework works). So if the input stream is seekable, no writing to the disk occurs (it can happen to cache the temporary data, though, as sometimes the messages are too large to fit to memory and there's no way to know this until the trouble happens). If the stream is not seekable, it's copied to the temporary place.

Quote
mnagisetty Nagisetty wrote:
The Eldos SecureBlackbox components provide several stream classes (ElPGPStream, etc)


ElPGPStream is not related to streams-as-you-know-them. This is a completely different story. ElPGPReader and ElPGPWriter classes in SecureBlackbox operate only with streams, but they also use temporary storage due to the above design requirements.


Sincerely yours
Eugene Mayevski
#11379
Posted: 10/16/2009 10:45:55
by Monish Nagisetty (Basic support level)
Joined: 10/16/2009
Posts: 5

Can you elaborate on the usage of your stream classes? The documentation (http://www.eldos.com/documentation/sbb/documentation/ref_cl_pgpstream.html) seems to indicate that the data can be processed in chunks. Is that only the case once the entire size of the stream is known?
#11381
Posted: 10/16/2009 11:27:06
by Eugene Mayevski (EldoS Corp.)

What are you trying to accomplish?


Sincerely yours
Eugene Mayevski
#11382
Posted: 10/16/2009 14:17:11
by Monish Nagisetty (Basic support level)
Joined: 10/16/2009
Posts: 5

I am trying to develop a stream that I can use within a custom pipeline component. I need to be able wrap one or more of the TEl PGP streams to create an outbound stream that will be encrypted/signed.
#11383
Posted: 10/17/2009 00:01:27
by Eugene Mayevski (EldoS Corp.)

You can't, sorry.


Sincerely yours
Eugene Mayevski
Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.

Reply

Statistics

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