[153314] contrib/buildbot-test/master.cfg

ryandesign at macports.org ryandesign at macports.org
Wed Sep 28 18:13:16 PDT 2016


Revision: 153314
          https://trac.macports.org/changeset/153314
Author:   ryandesign at macports.org
Date:     2016-09-28 18:13:16 -0700 (Wed, 28 Sep 2016)
Log Message:
-----------
buildbot-test: support more secure htpasswd encryption

HTPasswdAuth only supported the insecure crypt encryption method whereas
HTPasswdAprAuth supports all the encryption types.

Modified Paths:
--------------
    contrib/buildbot-test/master.cfg

Modified: contrib/buildbot-test/master.cfg
===================================================================
--- contrib/buildbot-test/master.cfg	2016-09-29 01:04:06 UTC (rev 153313)
+++ contrib/buildbot-test/master.cfg	2016-09-29 01:13:16 UTC (rev 153314)
@@ -608,11 +608,9 @@
 from buildbot.status import html
 from buildbot.status.web import auth, authz
 
-from buildbot.status.web.auth import HTPasswdAuth
+from buildbot.status.web.auth import HTPasswdAprAuth
 
-# add new users with crypt, not md5/sha1:
-# htpasswd -d -n $USER
-htauth = HTPasswdAuth(config['htpasswdfile'])
+htauth = HTPasswdAprAuth(config['htpasswdfile'])
 
 authz_cfg=authz.Authz(
     auth               = htauth,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160928/63c338a5/attachment.html>


More information about the macports-changes mailing list