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

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

    <bug>
          <bug_id>51652</bug_id>
          
          <creation_ts>2024-10-07 16:13:07 +0300</creation_ts>
          <short_desc>Не работает плагин КриптоПРО ЭЦП Browser plug-in</short_desc>
          <delta_ts>2024-10-18 18:44:22 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Branch p11</product>
          <component>firefox</component>
          <version>unspecified</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugzilla.altlinux.org/show_bug.cgi?id=51569</see_also>
          <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="Владислав Елисеев">eliseevva</reporter>
          <assigned_to name="Ajrat Makhmutov">rauty</assigned_to>
          
          
          <qa_contact name="qa-p11@altlinux.org">qa-p11</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>252615</commentid>
    <comment_count>0</comment_count>
    <who name="Владислав Елисеев">eliseevva</who>
    <bug_when>2024-10-07 16:13:07 +0300</bug_when>
    <thetext>На системах с KDE не работает плагин КриптоПро ЭЦП Browser plug-in
Версия пакета: firefox-130.0-alt1
Платформы обновленные:
ALT Education 11.0-x86_64-kde
ALT KWorkstation 11.0-x86_64 

Шаги к воспроизведению:
1) # apt-get install firefox

Установить пакеты КриптоПро
VERCRYPT=&quot;5.0.11944&quot;
arch=amd64

# apt-get install -y cryptopro-preinstall &amp;&amp; apt-get install -y ./lsb-cprocsp-base* ./lsb-cprocsp-rdr* ./lsb-cprocsp-kc1* ./lsb-cprocsp-capilite* ./lsb-cprocsp-pkcs11* ./cprocsp-rdr-gui-gtk* ./cprocsp-cptools* lsb-cprocsp-ca-certs*
arch=amd64

2) Открыть в браузере ссылку с cades плагином: https://www.cryptopro.ru/products/cades/plugin/get_2_0 - дождаться окончания загрузки. 

Перейти в папку загрузки и выполнить:
# tar -zxvf cades* &amp;&amp; cd cades-linux-amd64 &amp;&amp; apt-get install cprocsp-pki*.rpm

3) # wget https://ds-plugin.gosuslugi.ru/plugin/upload/assets/distrib/IFCPlugin-x86_64.rpm 

# apt-get install IFCPlugin*

4)Установить расширение для плагина Госуслуг: https://ds-plugin.gosuslugi.ru/plugin/upload/assets/distrib/addon-1.2.8-fx.xpi

5)Установить расширение для плагина CAdES Browser Plug-in: https://www.cryptopro.ru/sites/default/files/products/cades/extensions/firefox_cryptopro_extension_latest.xpi

6) Добавить символическую ссылку:
# ln -s /opt/cprocsp/lib/amd64/libcppkcs11.so.4.0.4 /usr/lib/mozilla/plugins/lib/libcppkcs11.so

7) Прописать пути к исполняемым файлам:
$ export PATH=&quot;$(/bin/ls -d /opt/cprocsp/{s,}bin/*|tr &apos;\n&apos; &apos;:&apos;)$PATH&quot;

8)Перейти на сайт проверки создалия ЭП CAdES-BES:
https://www.cryptopro.ru/sites/default/files/products/cades/demopage/cades_bes_file.html

Ожидаемый результат: Откроется окно &quot;КриптоПро CSP&quot; и будет запрашивать разрешение на выполнение операции

Реальный результат: Окно не всплывает, а в окне диагностики &quot;Объекты плагина: Ожидание загрузки провайдера&quot;

Не воспроизводится в Sisyphus</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>253192</commentid>
    <comment_count>1</comment_count>
    <who name="Ajrat Makhmutov">rauty</who>
    <bug_when>2024-10-18 18:44:22 +0300</bug_when>
    <thetext>firefox-131.0.0-alt1 -&gt; p11</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>