[Bug 1561598] Re: Missing link to opencryptoki library by libopencryptoki0 package

dann frazier dann.frazier at canonical.com
Thu Mar 24 17:08:50 UTC 2016


** Changed in: ubuntu
     Assignee: Skipper Bug Screeners (skipper-screen-team) => Dimitri John Ledkov (xnox)

** Package changed: ubuntu => opencryptoki (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to opencryptoki in Ubuntu.
https://bugs.launchpad.net/bugs/1561598

Title:
  Missing link to opencryptoki library by libopencryptoki0 package

Status in opencryptoki package in Ubuntu:
  New

Bug description:
  ---Problem Description---
  Summary
  =======
  The 'libopencryptoki0' package is missing a library link of /usr/lib/libopencryptoki.so -> opencryptoki/libopencryptoki.so.0

  Details
  =====
  The opencryptoki library is not found by dynamically linked executables if /usr/lib/libopencryptoki.so does not exist as link to the opencryptoki library.

  root at s8314007:~#  dpkg -L libopencryptoki0|grep libopencryptoki
  /usr/lib/opencryptoki/libopencryptoki.so.0.0.0
  ...
  /usr/lib/libopencryptoki.so.0
  /usr/lib/libopencryptoki.so.0.0.0
  /usr/lib/opencryptoki/libopencryptoki.so.0
  root at s8314007:~# ll /usr/lib/libopencryptoki.so.0
  lrwxrwxrwx 1 root root 33 Feb 24 12:57 /usr/lib/libopencryptoki.so.0 -> opencryptoki/libopencryptoki.so.0
  root at s8314007:~# ll /usr/lib/libopencryptoki.so.0.0.0
  lrwxrwxrwx 1 root root 37 Feb 24 12:57 /usr/lib/libopencryptoki.so.0.0.0 -> opencryptoki/libopencryptoki.so.0.0.0
  root at s8314007:~# ll /usr/lib/opencryptoki/libopencryptoki.so.0.0.0
  -rw-r--r-- 1 root root 80840 Feb 24 12:57 /usr/lib/opencryptoki/libopencryptoki.so.0.0.0

   
  ---uname output---
  Linux s8314007 4.4.0-15-generic #31-Ubuntu SMP Fri Mar 18 19:07:12 UTC 2016 s390x s390x s390x GNU/Linux
   
  Machine Type = IBM Type:  2964 Model:    702     N96 
   
  ---Debugger---
  A debugger is not configured
   
  ---Steps to Reproduce---
   1) Install the opencryptoki 3.4.1 package if not already installed/provided

  2) Bring up and initialize the EP11 Token:
      modprobe ap
      lszcrypt -VVV     // check for a CEX5P card to be available 'online'
      systemctl start pkcsslotd.service
      pkcsconf -t   // check for the EP11 Token slot number
      pkcsconf -c <SLOT> -I
      pkcsconf -c <SLOT> -P
      pkcsconf -c <SLOT> -u
      pkcsconf -c <SLOT> -p

  3) Copy the opencryptoki-3.4.1.tgz package to the system (mind
  opencryptoki 3.4.1 should be already provided but this package also
  contains the OC testcases.

  4) ./bootstrap.sh, ./configure --enable-testcases, make

  5) cd testcases/crypto; ./aes_tests -slot 4 (or whichever slot the
  EP11 token is)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/opencryptoki/+bug/1561598/+subscriptions



More information about the foundations-bugs mailing list