Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Encryption data

Alpha License: AGPL-3 OCA/server-env Translate me on Weblate Try me on Runboat

This module allows to encrypt and decrypt data. This module is not usable by itself, it is a low level module which should work as a base for others. An example is the module server_environment_data_encryption

Table of contents

Configuration

To configure this module, you need to edit the main configuration file of your instance, and add a directive called running_env. Commonly used values are ‘dev’, ‘test’, ‘production’:

[options]
running_env=dev

You also need to set the encryption key(s). The main idea is to have different encryption keys for your different environment, to avoid the possibility to retrieve crucial information from the production environment in a developement environment, for instance. So, if your running environment is ‘dev’:

[options]
encryption_key_dev=fyeMIx9XVPBBky5XZeLDxVc9dFKy7Uzas3AoyMarHPA=

In the configuration file of your production environment, you may want to configure all your other environments encryption key. This way, from production you can encrypt and decrypt data for all environments.

You can generate keys with python -c ‘from cryptography.fernet import Fernet; print Fernet.generate_key()’.

Known issues / Roadmap

For now the encryption is dependent on the environment. It has been designed to store the same kind of data with different values depending on the environement (dev, preprod, prod…). An improvement could be to split this in 2 modules. But the environment stuff is not a big constraint.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Akretion

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/server-env project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Metadata

Release files for odoo14-addon-data-encryption 14.0.1.0.1.dev10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo14-addon-data-encryption 14.0.1.0.1.dev10
File Interpreter ABI Platform Actions
odoo14_addon_data_encryption-14.0.1.0.1.dev10-py3-none-any.whl Python 3 none any Details for odoo14_addon_data_encryption-14.0.1.0.1.dev10-py3-none-any.whl

Release files / odoo14_addon_data_encryption-14.0.1.0.1.dev10-py3-none-any.whl

Download URL odoo14_addon_data_encryption-14.0.1.0.1.dev10-py3-none-any.whl
Size 31.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4a54406f4d8f2ad282e4df0409e32a7f9e625c91756d951353314bc23d683940
BLAKE2b-256 checksum
How to use checksums
4ed4f4581b08b222f1f28f04bc784b48a255246e3be01c1f32a5aea88468a2c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Security for odoo14-addon-data-encryption 14.0.1.0.1.dev10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page