[email protected] wrote:
> since getting the latest revision, I'm seeing a user warning on some (not 
> all?) of my programs:
> 
> 
> 
> I:\share\python\dabo\projects\runs2>rpmain.py
> C:\Python25\lib\site-packages\dabo-0.9.2-py2.5.egg\dabo\lib\SimpleCrypt.py:32:
>  UserWarning:
> WARNING:
> Your application uses SimpleCrypt, which is fine for testing but should
> not be used in production, because:
> 
> 1) Anyone with a copy of Dabo could decrypt your password.
> 
> 2) It isn't portable between 32-bit and 64-bit python. See the trac
> ?? ticket at http://trac.dabodev.com/ticket/1179 for more information.
> 
> ? """, UserWarning)
> 
> 
> 
> Questions:
> 
> What part of dabo is using encryption?

It is the encrypted password inside your cnxml file.


> Can we suppress the user warning?

Much better would be to provide your own encryption/decryption function (see 
the 
referenced ticket).

To suppress it, you could comment lines 35 and 45 (self.showWarning()) in 
dabo/dabo/lib/SimpleCrypt.py

But if you suppress it, you may later not remember what could be going wrong if 
you 
try to run your app on 64-bit python.

Paul


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to