Using i386 shared library (PKCS#11 module) from the AMD64 world
I have the following problem. Recently I bought a security token to
store my keys on it. Unfortunately, this token is still not supported
by open source (OpenCT/OpenSC), so I have to use the tools provided by
The problem is that they are for i386 distributions. Although they
work in the i386 chroot (I can see the token information using these
tools), I cannot use the provided PKCS#11 module in my AMD64
applications (e.g, firefox), since this module (shared library with
predefined set of exports) is for i386.
Is there a simple solution for this? I can imagine the solution that
exploits the pipes or sockets to marshall the requests to the i386
world, but I found it too complex.
Ivan S. Dubrov