Public bug reported:

root@lochnagar:/usr/share# lsb_release -d
Description:    Ubuntu 11.10

root@lochnagar:/usr/share# opensc-tool -l
# Detected readers (pcsc)
Nr.  Card  Features  Name
0    Yes             Feitian SCR301 00 00

root@lochnagar:/usr/share# pkcs15-init -E -vvv
.
.
0xb78c68d0 23:11:50.693 [pkcs15-init] profile.c:327:sc_profile_load: called
0xb78c68d0 23:11:50.693 [pkcs15-init] profile.c:357:sc_profile_load: Using 
profile directory '/usr/share/opensc'.
0xb78c68d0 23:11:50.693 [pkcs15-init] profile.c:365:sc_profile_load: Trying 
profile file /usr/share/opensc/pkcs15.profile
0xb78c68d0 23:11:50.693 [pkcs15-init] profile.c:370:sc_profile_load: profile 
/usr/share/opensc/pkcs15.profile loaded ok
0xb78c68d0 23:11:50.694 [pkcs15-init] profile.c:373:sc_profile_load: returning 
with: -1201 (File not found)
0xb78c68d0 23:11:50.694 [pkcs15-init] pkcs15-lib.c:357:sc_pkcs15init_bind: 
Failed to load profile 'pkcs15': File not found
0xb78c68d0 23:11:50.694 [pkcs15-init] pkcs15-lib.c:374:sc_pkcs15init_bind: Load 
profile error: -1201 (File not found)
Couldn't bind to the card: File not found

If I copy the /usr/share/opensc directory contents  from the natty libopensc2 
package (which is not available in oneiric) the
profiles are loaded and pkcs15-init works correctly. Seems like a packaging 
error as the debian sid version of opensc does
come with the pkcs15 profiles.

** Affects: opensc (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  pkcs15 profiles not packaged, pkcs15-init not functional

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to