[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to implement a spy?
From: |
Andreas Jellinghaus |
Subject: |
Re: how to implement a spy? |
Date: |
Thu, 8 Sep 2005 15:20:18 +0200 |
User-agent: |
KMail/1.7.2 |
Hi,
> Hmm. Are you trying to load both pkcs11-spy.so with lt_dlopen and
> also from within that the other plugins with lt_dlopen?
>
> If so: you are using CVS HEAD Libtool, right?
> (1.5.x versions do not really support dlopening from within libraries).
no, only 1.5.4 (debian sarge, libltdl3).
to avoid symbol conflicts we use libltdl3 as shared library.
both pkcs11-spy.so uses libltdl3 and opensc-pkcs11.so uses libopensc.so.1
which also uses litltdl3. plugins everywhere.
> Well, to put it in a pessimistic way: since we don't have a test for
> this kind of setup (where the same symbols are loaded), I suppose that
> it probably does not work.
>
> To put it in an optimistic way: your application would be a wonderful
> test case to debug libltdl in this respect, and make this work. :)
...
> Well, there are several issues to think about: First, I would not even
> know without searching some docs whether this can be made to work on all
> kinds of systems; static-only wouldn't, but you knew that :)
> But also on AIX, or OS X or win32, for that matter, I would assume that
> we may need adaptations.
>
> Is your code open, can we inspect it? Even better, do you have small
> test cases to show what needs to be achieved?
that would be great, as I don't even know where to start.
www.opensc.org/opensc/ (web page) and www.opensc.org/files/testing/
has the a preview version of 0.10 which now uses libltdl instead
of our own older wrapper "scdl".
for real using of opensc you might need a smart card, debugging could
also be quite limited without :(
Regards, Andreas
--
------------------------ [ SECURITY NOTICE ] ------------------------
To: address@hidden, address@hidden, address@hidden
For your security, address@hidden
digitally signed this message on 08 September 2005 at 13:20:24 UTC.
Verify this digital signature at http://www.ciphire.com/verify.
------------------- [ CIPHIRE DIGITAL SIGNATURE ] -------------------
Q2lwaGlyZSBTaWcuAjhyYWxmLndpbGRlbmh1ZXNAZ214LmRlLCBsaWJ0b29sQGdu
dS5vcmcsIGFqQGNpcGhpcmVsYWJzLmNvbQBhakBsZW9naWMuY29tAGVtYWlsIGJv
ZHkACAUAAHwAfAAAAAEAAACYOiBDCAUAAL8BAAIAAgACACCHaytCC/I1yJfSWUTu
ECMNwwaGnqUcwvfnU3NHjjXD4QEAQztwatyzPITyeAZTXiiPZpX2gsllvVebzpAQ
HA8q+zHEbo82hLku4bxmV11Ysi8kR469Ru7rl2H6EZvo5XDsosWgLPQJU2lnRW5k
--------------------- [ END DIGITAL SIGNATURE ] ---------------------