DB Password Encryption
base_crypt · odoo/odoo
Renamed to auth_crypt in 7.0, then merged into base in 12.0
-
Security25/25No findings
-
Activity0/25Last human commit 171 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 6.1
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
users— Class 'users' still inherits from the old-style `osv.osv` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceusers— Class 'users' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · source- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `update res_users set password=%s where id=%s` - re-check the table/column names still match after upgrading. (3 occurrences in this file) migration-raw-sql-write · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Replaces cleartext passwords in the database with a secure hash
For your existing user base, the removal of the cleartext passwords occurs immediately when you instal base_crypt.
All passwords will be replaced by a secure, salted, cryptographic hash, preventing anyone from reading the original password in the database.
After installing this module it won't be possible to recover a forgotten password for your users, the only solution is for an admin to set a new password.
Security Warning ++++++++++++++++ Installing this module does not mean you can ignore other security measures, as the password is still transmitted unencrypted on the network, unless you are using a secure protocol such as XML-RPCS or HTTPS. It also does not protect the rest of the content of the database, which may contain critical data. Appropriate security measures need to be implemented by the system administrator in all areas, such as: protection of database backups, system files, remote shell access, physical server access, etc.
Interation with LDAP authentication
+++++++++++++++++++++++++++++++++++
This module is currently not compatible with the user_ldap module and
will disable LDAP authentication completely if installed at the same time.
Dependencies
- Odoo dependencies
-
odoo/odoo:- base
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 0
No views found for this module.
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 0
No models found for this module.