Hello, Helio.

On Thursday November 27, 2008 14:51:20 Helio Pereira wrote:
> I'm trying tg2 from a new fresh installation (tg2 = Revisão: 5782) and
> if I set 'config/app_cfg.py' to have sha encryption
> (base_config.sa_auth.form_plugin = 'sha1') all passwords stored from
> 'websetup.py' are not encrypted.

You should use "password_encryption_method", not "form_plugin".

(Thanks for raising this! That should've raised an exception, but it didn't 
because of a bug in TG which I'm going to fix right now :)

> If I change manually in sqlite table tg_user, I can't make a login
> even if the user/pass are right.
>
> PS.: I'm using model from a quickstart elixir project...

The repoze.what SQL plugin doesn't support Elixir according to the test suite 
(you should have received a warning when you created the project).

That can only be fixed by someone who has worked with Elixir (which excludes 
me). If you want to give a hand to solve this, you may:
 1.- Download the source:
> svn co http://svn.repoze.org/repoze.what/plugins/sql/trunk/ repoze.what-sql
 2.- Find what's wrong in the test suite for Elixir, which is made up three 
files under /tests (databasesetup_elixir.py, test_plugin_sql_elixir.py and 
fixture/model_elixir.py). I have been told that Elixir table classes are 
compatible with SQLAchemy's and thus the SQL plugin should be compatible with 
Elixir.
 3.- Send the patch over :)

Cheers.
-- 
Gustavo Narea <http://gustavonarea.net/>.

Get rid of unethical constraints! Get freedomware:
http://www.getgnulinux.org/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to