<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>42324</bug_id>
          
          <creation_ts>2022-04-04 13:00:25 +0300</creation_ts>
          <short_desc>В версии пакета 0.6.12-alt1 отсутствует утилита pkcs11_make_hash_link</short_desc>
          <delta_ts>2022-04-07 22:59:48 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>pam_pkcs11</component>
          <version>unstable</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Белаш Константин">bk</reporter>
          <assigned_to name="manowar@altlinux.org">manowar</assigned_to>
          <cc>klark</cc>
    
    <cc>manowar</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>209113</commentid>
    <comment_count>0</comment_count>
    <who name="Белаш Константин">bk</who>
    <bug_when>2022-04-04 13:00:25 +0300</bug_when>
    <thetext>Добрый день.

В версии пакета 0.6.12-alt1 не собрана утилита pkcs11_make_hash_link хотя в исходном коде она присутствует - https://github.com/OpenSC/pam_pkcs11/blob/pam_pkcs11-0.6.12/tools/pkcs11_make_hash_link

В пакете pam_pkcs11-0.6.10-alt6.x86_64 эта утилита есть.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>209114</commentid>
    <comment_count>1</comment_count>
    <who name="manowar@altlinux.org">manowar</who>
    <bug_when>2022-04-04 13:16:28 +0300</bug_when>
    <thetext>* Sun Nov 20 2016 Ivan Zakharyaschev &lt;imz@altlinux.org&gt; 0.6.9-alt2
- Restored ALT-specific features (from p7&apos;s 0.6.4-alt2, originally by raorn@):
  1. The example configs are placed in %_datadir/%name/.
  2. The use of OpenSSL&apos;s c_hash instead of pkcs11_make_hash_links
     is advised in the documentation; more options in example configs.

На самом деле c_rehash, в чейнджлоге опечатка. Возможно, нужно подправить документацию. Где, по вашему мнению, лучше всего это отразить?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>209115</commentid>
    <comment_count>2</comment_count>
    <who name="Белаш Константин">bk</who>
    <bug_when>2022-04-04 13:46:11 +0300</bug_when>
    <thetext>(Ответ для manowar@altlinux.org на комментарий #1)
&gt; * Sun Nov 20 2016 Ivan Zakharyaschev &lt;imz@altlinux.org&gt; 0.6.9-alt2
&gt; - Restored ALT-specific features (from p7&apos;s 0.6.4-alt2, originally by
&gt; raorn@):
&gt;   1. The example configs are placed in %_datadir/%name/.
&gt;   2. The use of OpenSSL&apos;s c_hash instead of pkcs11_make_hash_links
&gt;      is advised in the documentation; more options in example configs.
&gt; 
&gt; На самом деле c_rehash, в чейнджлоге опечатка. Возможно, нужно подправить
&gt; документацию. Где, по вашему мнению, лучше всего это отразить?

В использовании pam_pkcs11 я ориентировался на http://opensc.github.io/pam_pkcs11/doc/pam_pkcs11.html
на которую дана ссылка со страницы исходника (https://github.com/OpenSC/pam_pkcs11) и man pkcs11_make_hash_link.

На странице исходника (https://github.com/OpenSC/pam_pkcs11) вообще упоминается 
make_hash_link.sh, старое название pkcs11_make_hash_link.

Во всех этих источника не видел рекомендаций использовать c_rehash.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>209289</commentid>
    <comment_count>3</comment_count>
    <who name="manowar@altlinux.org">manowar</who>
    <bug_when>2022-04-07 16:41:11 +0300</bug_when>
    <thetext>Тут на гитхабе отметили, что c_rehash не везде есть: https://github.com/OpenSC/pam_pkcs11/issues/63#issuecomment-1091633767 . Поэтому я решил вернуть скрипт.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>209292</commentid>
    <comment_count>4</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2022-04-07 17:05:23 +0300</bug_when>
    <thetext>pam_pkcs11-0.6.12.1-alt1 -&gt; sisyphus:

 Thu Apr 07 2022 Paul Wolneykien &lt;manowar@altlinux&gt; 0.6.12.1-alt1
 - Updated version: upstream commit 4efa29f with fixed LGTM.com errors
   and spelling in configuration files and docs.
 - Bring back the pkcs11_make_hash_link tool with improved filename
   handling (thx krolikov) (closes: 42324).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>209308</commentid>
    <comment_count>5</comment_count>
    <who name="Leonid Krivoshein">klark</who>
    <bug_when>2022-04-07 22:59:48 +0300</bug_when>
    <thetext>Спасибо!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>