<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>344517</bug_id>
          
          <creation_ts>2015-02-24 09:28:07 +0000</creation_ts>
          <short_desc>kio sftp only supports hmac-sha1</short_desc>
          <delta_ts>2015-05-11 09:32:36 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kio</product>
          <component>sftp</component>
          <version>unspecified</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>UPSTREAM</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Florian Jacob">accounts+bugs.kde</reporter>
          <assigned_to name="Andreas Schneider">asn</assigned_to>
          <cc>kdelibs-bugs-null</cc>
    
    <cc>web.yannick</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1501862</commentid>
    <comment_count>0</comment_count>
    <who name="Florian Jacob">accounts+bugs.kde</who>
    <bug_when>2015-02-24 09:28:07 +0000</bug_when>
    <thetext>I just configured my ssh server to not use SHA1 anymore, and now I can&apos;t access it via sftp:// with dolphin. Happens with kio-5.7.0.

Reproducible: Always

Steps to Reproduce:
1. configure your ssh server according to https://stribika.github.io/2015/01/04/secure-secure-shell.html
2. especially, remove hmac-sha1 in /etc/ssh/sshd_config and set MACs to:
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-ripemd160-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac-ripemd160,umac-128@openssh.com
3. access your server through dolphin by entering sftp://&lt;username&gt;@&lt;server&gt; in the address bar

Actual Results:  
kex error : no match for method mac algo client-&gt;server: server [hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-ripemd160-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac-ripemd160,umac-128@openssh.com], client [hmac-sha1]

Expected Results:  
support of more secure MACs than hmac-sha1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1513310</commentid>
    <comment_count>1</comment_count>
    <who name="yann">web.yannick</who>
    <bug_when>2015-04-25 06:19:47 +0000</bug_when>
    <thetext>I have the same problem using kubuntu 15.04 with kio-5.9.0.

It&apos;s really tricky because with hmac-sha1 support only, it&apos;s not possible to get a highly secure connection.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1513976</commentid>
    <comment_count>2</comment_count>
    <who name="Andreas Schneider">asn</who>
    <bug_when>2015-04-27 11:33:49 +0000</bug_when>
    <thetext>We will support other HMACs with libssh 0.7 which will be released next month.

See

https://git.libssh.org/projects/libssh.git/commit/?id=4a089026647073be32ddb0885c12f47496bc709b</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1514083</commentid>
    <comment_count>3</comment_count>
    <who name="Florian Jacob">accounts+bugs.kde</who>
    <bug_when>2015-04-27 16:41:33 +0000</bug_when>
    <thetext>Happy to hear that, thanks. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1514427</commentid>
    <comment_count>4</comment_count>
    <who name="yann">web.yannick</who>
    <bug_when>2015-04-28 17:30:29 +0000</bug_when>
    <thetext>I&apos;m happy to hear that to, thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1517806</commentid>
    <comment_count>5</comment_count>
    <who name="Andreas Schneider">asn</who>
    <bug_when>2015-05-11 09:32:36 +0000</bug_when>
    <thetext>See https://www.libssh.org/2015/05/11/libssh-0-7-0/</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>