<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>198688</bug_id>
          
          <creation_ts>2007-11-10 14:39 0000</creation_ts>
          <short_desc>dev-libs/libp11-0.2.3 stable request</short_desc>
          <delta_ts>2008-10-31 21:52:22 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <keywords>STABLEREQ</keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>alonbl@gentoo.org</reporter>
          <assigned_to>crypto@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>alonbl@gentoo.org</who>
            <bug_when>2007-11-10 14:39:22 0000</bug_when>
            <thetext>Hello,
Please mark stable.
Thanks!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nixnut@gentoo.org</who>
            <bug_when>2007-11-10 16:09:33 0000</bug_when>
            <thetext>ppc stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ssuominen@gentoo.org</who>
            <bug_when>2007-11-10 21:06:29 0000</bug_when>
            <thetext>amd64 done</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fmccor@gentoo.org</who>
            <bug_when>2007-11-10 22:02:23 0000</bug_when>
            <thetext>How do you test this?  Examples are not helpful, no tests provided, and it can&apos;t load anything (for me) from sys-auth/pam_pkcs11,  engine_pkcs11, pkcs11-helper, itself, ... and gnupg-pkcs11-scd has no sparc keyword.  It builds and does not abort on the examples, but?  (home page is not helpful.)

By the way, 
pkg-config --libs libp11
-lp11
(correct)

polylepis examples # pkg-config --cflags libp11
 
polylepis examples #
(wrong! I hope.  It build with correct CFLAGS, but a user relying on what pkg-config reports will not be happy.)

No sparc for now --- not enough information to get a clue whether it works or not.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cla@gentoo.org</who>
            <bug_when>2007-11-11 04:28:30 0000</bug_when>
            <thetext>x86 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cla@gentoo.org</who>
            <bug_when>2007-11-11 04:35:25 0000</bug_when>
            <thetext>Ferris, you can check it using pam_p11 as it has libp11 in depend.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>alonbl@gentoo.org</who>
            <bug_when>2007-11-11 05:46:03 0000</bug_when>
            <thetext>Hello Ferris,

Most packages that put their files in default /usr/include returns empty string as --cflags.

You can use:
sys-auth/pam_p11
dev-libs/engine_pkcs11

To test this.
I think the engine_pkcs11 is the simplest one...
http://www.opensc-project.org/engine_pkcs11/wiki/QuickStart

Thanks!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fmccor@gentoo.org</who>
            <bug_when>2007-11-11 15:09:03 0000</bug_when>
            <thetext>(In reply to comment #6)
&gt; Hello Ferris,
&gt; 
&gt; Most packages that put their files in default /usr/include returns empty string
&gt; as --cflags.
&gt; 
&gt; You can use:
&gt; sys-auth/pam_p11
&gt; dev-libs/engine_pkcs11
&gt; 
&gt; To test this.
&gt; I think the engine_pkcs11 is the simplest one...
&gt; http://www.opensc-project.org/engine_pkcs11/wiki/QuickStart
&gt; 
&gt; Thanks!
&gt; 

I&apos;m very slow today, I guess,  Every example I can find wants me to use this module:  /usr/lib/opensc-pkcs11.so, but I have no file opensc-pkcs11.so anywhere at all on the system.  And nothing I try will do anything without that module or its equivalent someplace.  (libp11 itself has a few examples, all of which need that module, and the URL to opensc-project.org has examples assuming that module is lying around someplace.  But it isn&apos;t.)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>alonbl@gentoo.org</who>
            <bug_when>2007-11-12 05:15:03 0000</bug_when>
            <thetext>Do you have any PKCS#11 provider on your system? The opensc-pkcs11.so is only a default.
If you use engine_pkcs11 you can use MODULE_PATH:/usr/lib/XXX to override.
If you use pam_p11 you can use auth       required   pam_p11_opensc.so /usr/lib/XXX to override.

The whole point of PKCS#11 is that it is as well-known interface that allows you to use different modules.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fmccor@gentoo.org</who>
            <bug_when>2007-11-12 13:16:03 0000</bug_when>
            <thetext>(In reply to comment #8)
&gt; Do you have any PKCS#11 provider on your system? The opensc-pkcs11.so is only a
&gt; default.
&gt; If you use engine_pkcs11 you can use MODULE_PATH:/usr/lib/XXX to override.
&gt; If you use pam_p11 you can use auth       required   pam_p11_opensc.so
&gt; /usr/lib/XXX to override.
&gt; 
&gt; The whole point of PKCS#11 is that it is as well-known interface that allows
&gt; you to use different modules.
&gt; 

OK, I have:
  dev-libs/libp11-0.2.3
  dev-libs/engine_pkcs11-0.1.4
  pam_pkcs11-0.6.0
installed.

Now, none of these supplies anything that can be used as a module.  What does, and what would it be called?  So far, I can&apos;t test this at all.
  
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>alonbl@gentoo.org</who>
            <bug_when>2007-11-12 17:36:15 0000</bug_when>
            <thetext>I guess you don&apos;t have smartcard on your disposal... You cannot test this without smartcard... :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>armin76@gentoo.org</who>
            <bug_when>2007-11-13 17:46:19 0000</bug_when>
            <thetext>this was stabilized on a lot of arches without it being tested, so ia64/sparc stable. Alpha doesn&apos;t have it stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2007-11-13 18:22:56 0000</bug_when>
            <thetext>ppc64 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gmsoft@gentoo.org</who>
            <bug_when>2008-10-31 21:52:22 0000</bug_when>
            <thetext>hppa stable</thetext>
          </long_desc>
      
    </bug>

</bugzilla>