Re: Reuse IE browser window?

Thorsten Maerz <[email protected]> Tue, 6 May 2003 21:36:06 +0200
Newsgroups gmane.mail.sylpheed.claws.windows
Message-ID <[email protected]>
--l8s.vjXGf.Xu=.t,
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit


Hi Mark,

On Tue, 6 May 2003 12:16:07 +1000 Mark Livingstone <[email protected]> wrote:

> While I have you, I have a Thawte SSL certificate currently in IE6. I
> would like to use in SC. I have loaded OpenSSL and it appears to be
> recognised. What is the easiest way to get that cert into SC since SC
> doesn't seem to have a direct way to get a new cert from Thawte etc.

I have no ideas of the internals of SSL. Some assumptions:
- Sylpheed loads/saves the certificates from/to .sylpheed/certs so
  copying that cert there may work
- the precompiled OpenSSL library contains several binaries
  (openssl.exe, etc.). Maybe you have to invoke some of those
  tools for this. For documentation you have to get the source.
What do the people at the OpenSSL lists tell?

Just found a problem in the OpenSSL sources: There is a constant
used for OPENSSLDIR (where 'root certs' are stored. Whatever they
are) which can only be set at compile time and defaults to
/usr/local/ssl. I just built a version that uses c:/openssl instead
(but I am not interested in cleaning up the OpenSSL code to
use functions instead of (compound!) macros for directory names,
i.e. that directory stays fixed)
and uploaded it to 
  http://claws-w32.sf.net/sylpeed/claws/openssl/openssl-0.9.7b_c_root.zip
Sylpheed only uses the DLLs from this package (replace them in
sylpheed\bin), but maybe you will need the executables for
import too.

> I also tried to get GnuPG working. I downloaded v1.2.1 and installed it.
> I set the relevant registry entries. When I went to startup SC, it said
> GnuPG was not installed properly or needs to be u/g. What version does
> it need?

Sylpheed is linked against gpgme-0.3.12 which requires gpg-1.2.x
iirc (I am running 1.2.1-nr1

GPGME needs following additional key (all assuming gpg in c:\gnupg)

[HKEY_CURRENT_USER\Software\GNU\GNUPG]
"gpgProgram"="C:\\GnuPG\\gpg.exe"

The installer tries to derive this one (if missing) from the gpg
registry settings below:

These are registry settings that should have been done by
your gpg installation:

[HKEY_CURRENT_USER\Software\GNU\GNUPG]
"HomeDir"="C:\\GnuPG"

[HKEY_CURRENT_USER\Control Panel\Mingw32\NLS]
"MODir"="C:\\GnuPG\\Locale"

But I am not sure if incomplete configured gpg.conf/options files
may also lead to problems (e.g. if it refers to a not existing
library as idea.dll). Maybe it is easier to start from a gpg
installer (e.g. the gnupp project) and update afterwards.

In general, get gpg running correctly on the commandline first.
Also take care you are not fooled by other gpg.exe anywhere in
your path.

> I read the Manual and it refers to GPGME but when I investigated that,
> there were only tarballs so I didn't download. Does a w32 version exist
> / is it needed?

No official gpgme/w32 version exists, there are no extra
requirements (apart from gpg itself).

> Talking about the manual, I used the Help menu entry toread the loacal
> copy and it appears to have a corruption in the filename (an extra
> '20'). What file do I edit to fix this?

Please post the filename/url.
The only variable parts in the URL are taken from your
InstalledDir registry setting and the current locale, the
other strings ("manual", "sylpheed.html") are constants
from defs.h.

Regards,
-- 
Thorsten Maerz          <[email protected]>
Sylpheed-claws/Win32:   http://claws-w32.sf.net


--l8s.vjXGf.Xu=.t,
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1-nr1 (Windows XP)

iD8DBQE+uA6pcVjFyoO8k5MRAvtMAJ0dWpWdbvDcY8dcP0lSihMtryRUCgCdFKxO
CZ1Rt79zwb0pecOl24xVS/E=
=/lFu
-----END PGP SIGNATURE-----

--l8s.vjXGf.Xu=.t,--


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com