EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Key Generation Progress for OpenPGP

Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.
#24044
Posted: 03/12/2013 13:03:29
by Nicholas Miller (Basic support level)
Joined: 03/12/2013
Posts: 5

Hello,

I am wondering if there is any way to track the key generation progress in OpenPGPBlackBox? For example, lets say I want to create a progress bar, is there some event I can hook into?

-Nick
#24045
Posted: 03/12/2013 13:09:24
by Eugene Mayevski (EldoS Corp.)

Unfortunately there's no such event available. The best you can get is use asynchronous key generation (which works in a secondary thread) and implement some gauge in the main thread, but there's no completion percentage available this way. Partially the reason is that the amount of operations to take when creating a key is not defined, and it's hard to estimate and calculate the percentage.


Sincerely yours
Eugene Mayevski
#24046
Posted: 03/12/2013 13:14:11
by Nicholas Miller (Basic support level)
Joined: 03/12/2013
Posts: 5

Thanks for the quick reply, is it the same story for file encryption as well?
#24047
Posted: 03/12/2013 13:27:47
by Mykola Olshevsky (Basic support level)
Joined: 07/07/2005
Posts: 450

Hi. There is an .OnProgress event for ElPGPWriter/ElPGPReader.

Regarding the first question - asymmetric key generation is based on search for pseudo-random primes, and time for this cannot be estimated.
#24048
Posted: 03/12/2013 13:43:42
by Nicholas Miller (Basic support level)
Joined: 03/12/2013
Posts: 5

Excellent, thank you very much!
Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages

Reply

Statistics

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