<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Authentication with secure hashing (SHA-1 rather than MD4) in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/authentication-with-secure-hashing-sha-1-rather-than-md4/m-p/265557#M218687</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are planning an Alfresco deployment which will (at least initially) run on cloud servers. Since we won't have access to the existing directory server, we planned to use the built-in Alfresco authentication subsystem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, this uses MD4 hashes, which are easily broken. &lt;/SPAN&gt;&lt;STRONG&gt;authentication-services-context.xml&lt;/STRONG&gt;&lt;SPAN&gt; says:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!– Passwords are encoded using MD4 –&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;!– This is not ideal and only done to be compatible with NTLM –&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;!– authentication against the default authentication mechanism. –&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;bean id="passwordEncoder"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;class="org.alfresco.repo.security.authentication.MD4PasswordEncoderImpl"&amp;gt;&amp;lt;/bean&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Is there any alternative authentication subsystem for Alfresco that uses a secure hash (SHA-1 or better)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible, for example, to replace &lt;/SPAN&gt;&lt;STRONG&gt;org.alfresco.repo.security.authentication.MD4PasswordEncoderImpl&lt;/STRONG&gt;&lt;SPAN&gt; with a bean providing a more secure implementation?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We don't need CIFS etc, so the NTLM compatibility isn't an issue - I understand this is why Alfresco still uses MD4.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any pointers…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jul 2012 13:15:58 GMT</pubDate>
    <dc:creator>dnallsopp</dc:creator>
    <dc:date>2012-07-12T13:15:58Z</dc:date>
    <item>
      <title>Authentication with secure hashing (SHA-1 rather than MD4)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/authentication-with-secure-hashing-sha-1-rather-than-md4/m-p/265557#M218687</link>
      <description>Hi all,We are planning an Alfresco deployment which will (at least initially) run on cloud servers. Since we won't have access to the existing directory server, we planned to use the built-in Alfresco authentication subsystem.However, this uses MD4 hashes, which are easily broken. authentication-ser</description>
      <pubDate>Thu, 12 Jul 2012 13:15:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/authentication-with-secure-hashing-sha-1-rather-than-md4/m-p/265557#M218687</guid>
      <dc:creator>dnallsopp</dc:creator>
      <dc:date>2012-07-12T13:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication with secure hashing (SHA-1 rather than MD4)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/authentication-with-secure-hashing-sha-1-rather-than-md4/m-p/265558#M218688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try having a look at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/repository/source/java/org/alfresco/repo/security/authentication/" rel="nofollow noopener noreferrer"&gt;http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/repository/source/java/org/alfresco/repo/security/authentication/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know more about the systems so maybe you should look into the code itself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or maybe you'll need to write your own class imitating those but for SHA-1&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2012 14:13:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/authentication-with-secure-hashing-sha-1-rather-than-md4/m-p/265558#M218688</guid>
      <dc:creator>scouil</dc:creator>
      <dc:date>2012-07-13T14:13:43Z</dc:date>
    </item>
  </channel>
</rss>

