v 12.0 Third Party 268
Download for v 12.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 101
Technical Name generic_crypto_utils
LicenseLGPL-3
Websitehttps://crnd.pro
Versions 14.0 12.0 15.0 16.0 13.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 101
Technical Name generic_crypto_utils
LicenseLGPL-3
Websitehttps://crnd.pro
Versions 14.0 12.0 15.0 16.0 13.0

Generic Crypto Utils

badge1 License: LGPL-3 badge5

Generic Crypto Utils is technical addon developed by the Center of Research & Development company.

The goal of this addon is to provide generic utilities to add encryption to other addons. Currently it implements generic.crypto.param model, wich works same as ir.config_parameter but values stored are encrypted.

It is required to place encryption key in odoo configuration file (odoo.conf). To do this, add following line to config file: crypto_token = <key>

Run following command to generate new key: python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key())"

This module allows you to easily encrypt fields in res.config.settings. To do this, all you need is to set attribute config_param=param_name to such field, and this field will be encrypted. For example:

class ResConfigSettings(models.TransientModel):
    _inherit = 'res.config.settings'

    my_secret_field = fields.Char(crypto_param='my.secret')

After this, you can access this param inside your python code like this:

secret = self.env['generic.crypto.param'].get_param('my.secret')

Launch your own ITSM system in 60 seconds:

Create your own Bureaucrat ITSM database

badge3

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported.

Maintainer

https://crnd.pro/web/image/3699/300x140/crnd.png

Our web site: https://crnd.pro/

This module is maintained by the Center of Research & Development company.

We can provide you further Odoo Support, Odoo implementation, Odoo customization, Odoo 3rd Party development and integration software, consulting services. Our main goal is to provide the best quality product for you.

For any questions contact us.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.