Hello Subrata and others

Thanks for your reply. Unfortunately this doesn't work for me.

> Here is a bash shell-script that I have used to start the Opencryptoki
> PKCS#11 driver :
> # BIOS Set up
> # Step 1. Turn the computer off.
> # Step 2. Turn the computer on and press F1 to enter the BIOS setup menu.
> # Step 3. From the Security menu, locate the option to clear the
> security device.
> #         Sometimes it is referred to as the TPM or TCG feature.
> # Step 4. Save and exit the BIOS setup menu.
> # Step 5. Restart

Didn't you take ownership of the TPM?

I use tpm_tools package in Ubuntu which already comes with
opencryptoki. The pkcsslotd is running, too

> # Test the PKCS-slot (in su mode)
> pkcsconf -i # for info
> pkcsconf -t # for token-info
> pkcsconf -s # for slot-info

All these commands seem to work and output reasonable text

> # Initialize the token
> pkcsconf -I -c 0 # Initalize the slot zero (0)
>                  # Provide SO password (default is 87654321)
>
> # Must Modify the user PIN  for slot 0
> pkcsconf -u -c 0 # Initalize the user PIN for slot zero (0)

Also this worked.

> # load the opencryptoki library in the firefox browser using the
> # Security device dialog window.
> # Name: OpenCryptoki
> # Library: /usr/local/lib/opencryptoki/libopencryptoki.so.0

Only when I try to go the last step, things go wrong. Firefox crashes
immediately without importing the library. When I start FF from
command line, the only error description I can get is "Segmentation
Fault".

I also tried to use tpmtoken_init for  pkcsconf -I -c 0 + pkcsconf -u -
c 0 (tpmtoken_init seems to be only a wrapper for pkcsconf) but the
result is the same, when I want to load opencryptoki into FF.

Has anybody a suggestion?
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to