You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by dangogh <gi...@git.apache.org> on 2017/06/08 14:53:45 UTC

[GitHub] incubator-trafficcontrol pull request #602: Change Traffic Ops password hash...

Github user dangogh commented on a diff in the pull request:

    https://github.com/apache/incubator-trafficcontrol/pull/602#discussion_r120910425
  
    --- Diff: traffic_ops/app/lib/Utils/Helper.pm ---
    @@ -132,4 +134,18 @@ sub error {
     	);
     }
     
    +sub hash_pass {
    +	my $pass = shift;
    +	return scrypt_hash($pass, \64, 16384, 8, 1, 64);
    +}
    +
    +sub verify_pass {
    --- End diff --
    
    how about a comment here describing what's going on?  I assume it's for a gradual upgrade -- trying both crypt and sha1 for passwords that haven't been upgraded yet..


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---