Community mailing list archives

community@mail.odoo.com

Re: Obscure Passwords

by
Anders Wallenquist
- 03/30/2015 09:26:21
We did a similar thing in this module

https://github.com/vertelab/odoo-partner_password


Using AES for two-way crypto and override read / write / create-methods 
to insert crypt/decrypt.

https://github.com/vertelab/odoo-partner_password/blob/master/partner_passwd/partner_passwd.py

You can have the group-attribute to choose what users that can see the 
password in cleartext.

Regards

Anders Wallenquist
Vertel AB

On 2015-03-30 15:18, Dave Ellison wrote:
> Hi,
>
> We are looking to store customer passwords for their ADSL connections.
> However we do not want to show it on the screen without perhaps clicking
> on the field and also look at encryption, however that would have to be
> two way. Which is not always secure, due to having to store a key, but
> it is the only way to retrieve the password if required.
>
> This is a custom module, which I am comfortable in writing, I'm just not
> too sure of how to obscure the text without clicking and encrypting the
> text within the field.
>
> Any pointers would be great.
>
> Many thanks.
> Dave
>
> _______________________________________________
> Mailing-List: https://www.odoo.com/groups/community-59
> Post to: mailto:community@mail.odoo.com
> Unsubscribe: https://www.odoo.com/groups?unsubscribe
>