[Gpg4win-devel] Roadblocks for Gpg4win 2.1beta1

Bernhard Reiter bernhard at intevation.de
Fri Jul 23 09:00:11 CEST 2010


Am Freitag, 23. Juli 2010 08:12:41 schrieb Werner Koch:
> On Thu, 22 Jul 2010 09:28, bernhard at intevation.de said:
> > Most painful right now:
> > gpg4win-2.1.0-svn1484 + kleo 2.1.0-svn1142590 cannot import S/MIME
> > certificates for this reason. Werner aims to look at this within the next
> > weeks so we can say about how much effort it will be to fix this problem.
>
> Well, I did this yesterday and fortunately found the problem.  It has
> been fixed and thus we should not do worse than 2.0.3.

Wonderful!

> > standing defect with file handles on windows. It took us a while to get
> > to this point and we need to resolve this before we really can make
> > progress with the development again.
>
> This bug still persists but we have it under control at most places.  It
> is basically a maintenance nightmare: You never know whether you have a
> system handle, a libc file descriptor, a socket or (under CE an RVID).
> It is not always possible to deduce the type of handle so we more or
> less do an educated guess.  The clean solution is to drop all direct
> usage of handles and and replace them by an object we fully control and
> carries meta information (like the type of handle).  This is quite some
> work and thus for now we may need to resort to our ad-hoc solutions.
>
> Another general problem on Windows is that you may either select to
> inherit all handles or none when calling CreateProcess.  This is due to
> the missing fork/exec concept which would allow for this.  To avoid this
> we need to use a wrapper process; like we already do in gpgme.  AFAICS
> this currently affects the gpg-agent/scdaemon communication - a solution
> without an annoying wrapper is already in my head and will be
> implemented in the next few weeks.

I guess it would be useful to create a GnuPG issue to track this problem.
Can you create one?

Best,
Bernhard

-- 
Managing Director - Owner: www.intevation.net       (Free Software Company)
Deputy Coordinator Germany: fsfe.org. Board member: www.kolabsys.com.
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.wald.intevation.org/pipermail/gpg4win-devel/attachments/20100723/3423f23b/attachment.pgp


More information about the Gpg4win-devel mailing list