Thu, 3 Apr 2008 08:24:13 -0700, Todd Lyons <[EMAIL PROTECTED]> wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On Thu, Apr 03, 2008 at 07:58:39AM -0700, Michael Carland wrote:
>
>>Sorry, I meant the executable. Was the version linked against 0.9.7
>>from a pkg that installed to /usr/bin, and your built version installed
>>to /usr/local/bin. Or is that what you meant, I'm not familiar with
>>rpath...
>
>He was calling the built binaries directly, so I don't think it was a
>case where he was accidentally running the old binary.
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
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)
libc.so.6 => /lib64/tls/libc.so.6 (0x000000309c900000)
/lib64/ld-linux-x86-64.so.2 (0x000000309c700000)
libz.so.1 => /usr/lib64/libz.so.1 (0x000000309d000000)
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
Supported canonicalization algorithms:
relaxed
simple
Building the above was done using Todd's suggestions. I have also tried
multiple variations, but
always end up with the same results.
This is on a CentOS 4.6 x86_64 box where the default vendor openssl version
installed is:
openssl-0.9.7a-43.17
Thanks.
-------------------------------------------------------------------------
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