Displaying 1 result from an estimated 1 matches for "sql_encrypted".
2012 Jun 08
2
rubycas-server login fail
...minimal" version
on our new hosting provider, previous on amazon ec2 all works fine). So
couldn''t login to puppet dashboard - internal server error. I found problem
in rubycas-server. It fails when try to hash password:
(/opt/puppet/share/rubycas-server/lib/casserver/authenticators/sql_encrypted.rb)
> def validate(credentials)
>
....
> encrypt_function = @options[:encrypt_function] ||
> ''user.encrypted_password ==
> Digest::SHA256.hexdigest("#{user.encryption_salt}::#{@password}")''
> ...
> return eval(encrypt_function) # FAIL
B...