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

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

    <bug>
          <bug_id>51569</bug_id>
          
          <creation_ts>2024-09-26 14:31:36 +0300</creation_ts>
          <short_desc>Не работает плагин КриптоПро ЭЦП Browser plug-in</short_desc>
          <delta_ts>2024-10-07 16:13:38 +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>firefox-esr</component>
          <version>unstable</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=51652</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>
          <cc>cas</cc>
    
    <cc>mike</cc>
    
    <cc>pav</cc>
    
    <cc>rauty</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>252220</commentid>
    <comment_count>0</comment_count>
    <who name="Владислав Елисеев">eliseevva</who>
    <bug_when>2024-09-26 14:31:36 +0300</bug_when>
    <thetext>На системах с KDE не работает плагин КриптоПро ЭЦП Browser plug-in
Версия пакета: firefox-esr-128.2.0-alt1
Платформы обновленные до Sisyphus:
ALT Education 10.2-x86_64-kde
ALT KWorkstation 10.3-x86_64 

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

Установить пакеты КриптоПро
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;

Воспроизводится в p11.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>252301</commentid>
    <comment_count>1</comment_count>
    <who name="Ajrat Makhmutov">rauty</who>
    <bug_when>2024-09-28 18:40:33 +0300</bug_when>
    <thetext>&gt; 1) # apt-get install firefox-esr
&gt; 
&gt; Установить пакеты КриптоПро
&gt; VERCRYPT=&quot;5.0.11944&quot;
&gt; arch=amd64
&gt; 
&gt; # apt-get install -y cryptopro-preinstall &amp;&amp; apt-get install -y
&gt; ./lsb-cprocsp-base* ./lsb-cprocsp-rdr* ./lsb-cprocsp-kc1*
&gt; ./lsb-cprocsp-capilite* ./lsb-cprocsp-pkcs11* ./cprocsp-rdr-gui-gtk*
&gt; ./cprocsp-cptools* lsb-cprocsp-ca-certs*
&gt; arch=amd64

Не понимаю что и откуда вы здесь устанавливаете.

&gt; 2) Открыть в браузере ссылку с cades плагином:
&gt; https://www.cryptopro.ru/products/cades/plugin/get_2_0 - дождаться окончания
&gt; загрузки. 
&gt; 
&gt; Перейти в папку загрузки и выполнить:
&gt; # tar -zxvf cades* &amp;&amp; cd cades-linux-amd64 &amp;&amp; apt-get install
&gt; cprocsp-pki*.rpm

Чтение списков пакетов... Завершено
Построение дерева зависимостей... Завершено
Выбрано cprocsp-pki-cades-64 для &apos;./cprocsp-pki-cades-64-2.0.14892-1.amd64.rpm&apos;
Выбрано cprocsp-pki-phpcades для &apos;./cprocsp-pki-phpcades-2.0.14892-1.noarch.rpm&apos;
Выбрано cprocsp-pki-plugin-64 для &apos;./cprocsp-pki-plugin-64-2.0.14892-1.amd64.rpm&apos;
Некоторые пакеты установить невозможно. Это может означать, что Вы
потребовали невозможного, либо пользуетесь нестабильным репозиторием.
Часть необходимых пакетов либо ещё не создана, либо была удалена
из каталога &apos;Входящие&apos;.
Эти сведения могут помочь найти выход из ситуации:

Следующие пакеты имеют неудовлетворенные зависимости:
  cprocsp-pki-cades-64: Depends: libcpext.so.4()(64bit) но пакет не может быть установлен
                        Depends: liburlretrieve.so.4()(64bit) но пакет не может быть установлен
  cprocsp-pki-plugin-64: Depends: cprocsp-rdr-gui-gtk-64 но пакет не может быть установлен
E: Извините, `битые&apos; пакеты</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>252546</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2024-10-05 17:52:52 +0300</bug_when>
    <thetext>firefox-131.0.0-alt1 -&gt; sisyphus:

 Fri Oct 04 2024 Ajrat Makhmutov &lt;rauty@altlinux&gt; 131.0.0-alt1
 - New version (131.0.0).
 - Add the WM_CLASS setting directly in the app launcher (closes: 51627).
 - Stop unsetting the DISPLAY variable in the app launcher (closes: 51569).
 - Security fixes:
   + CVE-2024-9391: Prevent users from exiting full-screen mode in Firefox Focus for Android
   + CVE-2024-9392: Compromised content process can bypass site isolation
   + CVE-2024-9393: Cross-origin access to PDF contents through multipart responses
   + CVE-2024-9394: Cross-origin access to JSON contents through multipart responses
   + CVE-2024-9395: Specially crafted filename could be used to obscure download type
   + CVE-2024-9396: Potential memory corruption may occur when cloning certain objects
   + CVE-2024-9397: Potential directory upload bypass via clickjacking
   + CVE-2024-9398: External protocol handlers could be enumerated via popups
   + CVE-2024-9399: Specially crafted WebTransport requests could lead to denial of service
   + CVE-2024-9400: Potential memory corruption during JIT compilation
   + CVE-2024-9401: Memory safety bugs fixed in Firefox 131, Firefox ESR 115.16, Firefox ESR 128.3, Thunderbird 131, and Thunderbird 128.3
   + CVE-2024-9402: Memory safety bugs fixed in Firefox 131, Firefox ESR 128.3, Thunderbird 131, and Thunderbird 128.3
   + CVE-2024-9403: Memory safety bugs fixed in Firefox 131 and Thunderbird 131</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>