[jdev] Re: GNUPG as DLL

Justin Karneges justin-keyword-jabber.093179 at affinix.com
Mon Apr 24 11:01:02 CDT 2006


On Monday 24 April 2006 05:52, George Hazan wrote:
> Yep, probably because that EXE should be completely rewritten to allow to
> use the existing code as DLL.. For example, right now it uses global
> varibles instead of context structures. That's why I was looking for a
> brave guy :=)

I believe their rationale is that a single exe is more secure (less 
possibility of the app tainting it) and makes support easier (only one way to 
use gpg, less variations).

... and it is probably full of globals. :)

> Even on a PIV/2800 with 1GB RAM it takes about 200-300 msec to launch the
> gnupg.exe and process its result. Such a delay itself is a mess for a user
> who can type quickly.

Which is why I said "on average".  I don't think users are going to type 3-4 
messages per second on average.  With proper pipelining of the app, there 
shouldn't be a problem.

Someone brought up Psi as an example of GnuPG slowness being bad for fast 
typers.  However, this has more to do with Psi's disabling (graying) of the 
chat input field during encryption than the speed of GnuPG.  The behavior in 
Psi is intentional, but it is not the only behavior possible.

-Justin



More information about the JDev mailing list