-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Apr 03, 2008 at 08:54:54AM -0700, [EMAIL PROTECTED] wrote:

>This is text from another thread I started, but I believe it is appropriate to 
>include here.
>I am trying to figure out why I can not get rsa-sha256 support with 
>dkim-filter.
>I have compiled openssl-0.9.8g.  From the output below, from openssl, it looks 
>like sha256 is
>working properly.
>[EMAIL PROTECTED]: ~$ echo -n "abc" | /usr/local/openssl-0.9.8/bin/openssl 
>dgst -sha256
>ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad

Agreed.

>After compiling dkim-filter, it looks like it has linked against the correct 
>openssl libraries.
>[EMAIL PROTECTED]: ~$ ldd 
>obj.Linux.2.6.24.4-ruckh.x86_64/dkim-filter/dkim-filter
>        libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x000000309d400000)
>        libresolv.so.2 => /lib64/libresolv.so.2 (0x000000309e000000)
>        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00000030a2000000)
>        libnsl.so.1 => /lib64/libnsl.so.1 (0x00000030a1c00000)
>        libdl.so.2 => /lib64/libdl.so.2 (0x000000309ce00000)
>        libssl.so.0.9.8 => /SOURCES/openssl-0.9.8g/libssl.so.0.9.8 
> (0x00002adcd7c44000)
>        libcrypto.so.0.9.8 => /SOURCES/openssl-0.9.8g/libcrypto.so.0.9.8 
> (0x00002adcd7d89000)

Unless I'm misunderstanding something, that should be
/usr/local/openssl-0.9.8/lib/libssl.so.0.9.8 and the same for libcrypto.
Fix the rpath so that it points to where you installed openssl, not
where you built it.

>Unfortunately, eventhough everything looks correct up to this point, the 
>output from dkim-filter
>does not show support for rsa-sha256.
>        
>[EMAIL PROTECTED]: ~$ obj.Linux.2.6.24.4-ruckh.x86_64/dkim-filter/dkim-filter 
>-V
>dkim-filter: Sendmail DKIM Filter v2.5.2
>        Compiled with OpenSSL 0.9.8g 19 Oct 2007
>        Supported signing algorithms:
>                rsa-sha1

Is that /SOURCES directory perhaps mounted with noexec?

- -- 
Regards...              Todd
They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety.       --Benjamin Franklin
Linux kernel 2.6.22-14-generic   load average: 0.05, 0.08, 0.17
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH9REbY2VBGxIDMLwRAgZBAKCCz1Pru9AvKQ6tzcb/3tLiT7DtNACfYdbU
fUG9yTFpCdhm+pUh6094IWg=
=2Iho
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
dkim-milter-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dkim-milter-discuss

Reply via email to