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

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

    <bug>
          <bug_id>58059</bug_id>
          
          <creation_ts>2026-02-27 17:32:31 +0300</creation_ts>
          <short_desc>Нет доступа к кардридерам у обычных пользователей</short_desc>
          <delta_ts>2026-04-05 14:20:57 +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>pcsc-lite</component>
          <version>unstable</version>
          <rep_platform>x86_64</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="Богдан Богуславский">boguslavskijbj</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>antohami</cc>
    
    <cc>cas</cc>
    
    <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>282883</commentid>
    <comment_count>0</comment_count>
    <who name="Богдан Богуславский">boguslavskijbj</who>
    <bug_when>2026-02-27 17:32:31 +0300</bug_when>
    <thetext>Стенды:
ALT Workstation 11.1 (Обновленный до Sisyphus)
ALT Workstation K 11.2 (Обновленный до Sisyphus)
ALT Education KDE/XFCE 11.0 (Обновленный до Sisyphus)
ALT Server 11.0 (Обновленный до Sisyphus)

Версия пакета: pcsc-lite-2.4.1-alt1.x86_64

Шаги воспроизведения:
1. Запустить сервис pcscd:
# systemctl start pcscd
2. Подключить кардридер (например Rutoken ECP 2.0)
3. Вывести все кардридеры от обычного пользователя:
$ opensc-tool -l

Ожидаемый результат: получен список всех кардридеров

Реальный результат: No smart card readers found.
Логи сервиса:
 pcscd[1533]: 09908303 ../src/auth.c:166:IsClientAuthorized() Process 3023 (user: 1000) is NOT authorized for action: access_pcsc
 pcscd[1533]: 00000093 ../src/winscard_svc.c:357:ContextThread() Rejected unauthorized PC/SC client

Дополнительно: не воспроизводится при выполнении команды от root пользователя, также ошибка не воспроизводится в P11</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>283104</commentid>
    <comment_count>1</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2026-03-03 18:39:48 +0300</bug_when>
    <thetext>Добавьте пользователя в группу pcscd.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>285160</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2026-04-05 14:20:57 +0300</bug_when>
    <thetext>pcsc-lite-2.4.1-alt2 -&gt; sisyphus:

Sun Apr 05 2026 Andrey Cherepanov &lt;cas@altlinux&gt; 2.4.1-alt2
- Created user pcscd for service file (ALT #58059, #58081).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>