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

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

    <bug>
          <bug_id>31538</bug_id>
          
          <creation_ts>2015-11-26 13:18:02 +0300</creation_ts>
          <short_desc>Changing self-signed certificates signature algorithm to SHA256</short_desc>
          <delta_ts>2015-12-04 19:37:56 +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>cert-sh-functions</component>
          <version>unstable</version>
          <rep_platform>all</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>P3</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nikolay A. Fetisov">naf</reporter>
          <assigned_to name="Mikhail Efremov">sem</assigned_to>
          <cc>cas</cc>
    
    <cc>mike</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>153930</commentid>
    <comment_count>0</comment_count>
    <who name="Nikolay A. Fetisov">naf</who>
    <bug_when>2015-11-26 13:18:02 +0300</bug_when>
    <thetext>Для cert-sh-functions-1.0.1-alt1 самоподписанные сертификаты создаются с использованием SHA1:

# . /usr/bin/cert-sh-functions
# ssl_generate test
# openssl x509 -in /var/lib/ssl/cert/test.cert -text | grep Signature
    Signature Algorithm: sha1WithRSAEncryption
    Signature Algorithm: sha1WithRSAEncryption


С учётом известных проблем с SHA1, по-видимому, имеет смысл заменить
его на SHA256.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>153931</commentid>
    <comment_count>1</comment_count>
      <attachid>6435</attachid>
    <who name="Nikolay A. Fetisov">naf</who>
    <bug_when>2015-11-26 13:25:25 +0300</bug_when>
    <thetext>Created attachment 6435
cert-sh-functions.patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>154153</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2015-12-04 19:37:56 +0300</bug_when>
    <thetext>cert-sh-functions-1.0.2-alt1 -&gt; sisyphus:

* Fri Dec 04 2015 Mikhail Efremov &lt;sem@altlinux&gt; 1.0.2-alt1
- Use SHA256 for certificates (thx naf@) (closes #31538).</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>6435</attachid>
            <date>2015-11-26 13:25:25 +0300</date>
            <delta_ts>2015-11-26 13:25:25 +0300</delta_ts>
            <desc>cert-sh-functions.patch</desc>
            <filename>cert-sh-functions.patch</filename>
            <type>text/plain</type>
            <size>625</size>
            <attacher name="Nikolay A. Fetisov">naf</attacher>
            
              <data encoding="base64">LS0tIC91c3IvYmluL2NlcnQtc2gtZnVuY3Rpb25zLm9yaWcJMjAxNS0xMS0xMiAyMTo1OTowMC4w
MDAwMDAwMDAgKzAzMDAKKysrIC91c3IvYmluL2NlcnQtc2gtZnVuY3Rpb25zCTIwMTUtMTEtMjYg
MTM6MDE6NDUuODUzNzM2NjAxICswMzAwCkBAIC0xNDQsNyArMTQ0LDcgQEAKICAgICBzc2xfY2hl
Y2tfY2VydCAiJDEiICYmIHJldHVybgogCV9zc2xfY2hlY2tfYXJncyAiJEAiIHx8IHJldHVybiAx
CiAKLQlpZiAhICIkT1BFTlNTTCIgeDUwOSAtcmVxIC1kYXlzICIkezI6LSRTU0xfQ0VSVF9EQVlT
fSIgLWluICIkU1NMX0NTUkRJUi8kMS5jc3IiIC1zaWdua2V5ICIkU1NMX0tFWURJUi8kMS5rZXki
IC1vdXQgIiRTU0xfQ0VSVERJUi8kMS5jZXJ0IiA+L2Rldi9udWxsIDI+JjE7IHRoZW4KKwlpZiAh
ICIkT1BFTlNTTCIgeDUwOSAtcmVxIC1zaGEyNTYgLWRheXMgIiR7MjotJFNTTF9DRVJUX0RBWVN9
IiAtaW4gIiRTU0xfQ1NSRElSLyQxLmNzciIgLXNpZ25rZXkgIiRTU0xfS0VZRElSLyQxLmtleSIg
LW91dCAiJFNTTF9DRVJURElSLyQxLmNlcnQiID4vZGV2L251bGwgMj4mMTsgdGhlbgogCQlfc3Ns
X2Vycm9yICdVbmFibGUgdG8gY3JlYXRlIGNlcnRpZmljYXRlJwogCQlyZXR1cm4gMQogCWZpCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>