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

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

    <bug>
          <bug_id>39310</bug_id>
          
          <creation_ts>2020-11-18 11:13:39 +0300</creation_ts>
          <short_desc>control openssl-gost disabled не удаляет пустую строку в конфиге</short_desc>
          <delta_ts>2023-08-14 15:42:55 +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>openssl-gost-engine</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="Sergey Ivanov">zagagyka</reporter>
          <assigned_to name="manowar@altlinux.org">manowar</assigned_to>
          <cc>glebfm</cc>
    
    <cc>lav</cc>
    
    <cc>manowar</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>194309</commentid>
    <comment_count>0</comment_count>
    <who name="Sergey Ivanov">zagagyka</who>
    <bug_when>2020-11-18 11:13:39 +0300</bug_when>
    <thetext>При выполнении команды control openssl-gost enabled в файл /etc/openssl/openssl.cnf в секцию [ engine_section ] добавляется строка gost = gost_section и ниже пустая строка.
При выполнении команды control openssl-gost disabled в файл /etc/openssl/openssl.cnf из секции [ engine_section ] удаляется строка gost = gost_section НО не удаляется пустая строка добавленная ранее. Таким образом при включении/выключении openssl-gost секция [ engine_section ] постепенно будет забиваться пустыми строками.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>206330</commentid>
    <comment_count>1</comment_count>
    <who name="manowar@altlinux.org">manowar</who>
    <bug_when>2021-12-23 19:49:32 +0300</bug_when>
    <thetext>Вроде исправил эту ошибку. И добавил тест для надёжности:

  https://git.altlinux.org/tasks/292532/

Проверьте, пожалуйста, у себя.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>231382</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2023-08-14 15:42:55 +0300</bug_when>
    <thetext>openssl-gost-engine-3.0.2-alt1 -&gt; sisyphus:

 Mon Aug 14 2023 Paul Wolneykien &lt;manowar@altlinux&gt; 3.0.2-alt1
 - Upstream version 3.0.2.
 Mon Aug 14 2023 Paul Wolneykien &lt;manowar@altlinux&gt; 3.0.1-alt2
 - Disable GOST 28147-89 ECB cipher (patch).
 - Disable setting IV for MAC (patch).
 Tue May 02 2023 Paul Wolneykien &lt;manowar@altlinux&gt; 3.0.1-alt1
 - Fix: Implement GOST 28147-89 ECB cipher test case.
 - Upstream version 3.0.1.
 Fri Apr 07 2023 Paul Wolneykien &lt;manowar@altlinux&gt; 1.1.0.3.0.255.ge3af41d-alt6
 - Fix the version: don&apos;t use the .pN suffix.
 Thu Dec 23 2021 Paul Wolneykien &lt;manowar@altlinux&gt; 1.1.0.3.0.255.ge3af41d.p1-alt5
 - Run tests on the control script after build.
 - openssl-gost.control: Fixed appending a &quot;name = value&quot; pair to
   the end of the configuration file.
 - openssl-gost.control: Insert new &quot;name = value&quot; pair before the
   first empty line (closes: 39310).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>