-
Security25/25No findings
-
Activity0/25Last human commit 104 months ago
-
Required by20/253 modules depend on it
-
Maturity25/25In 5 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE res_users SET password='', password_crypt=%s WHERE id=%s` - re-check the table/column names still match after upgrading. 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
Encrypted passwords
Replaces the default password storage with a strong cryptographic hash.
The key derivation function currently used is RSA Security LLC's
industry-standard PKDF2, in combination with SHA512.
This includes salting and key stretching with several thousands
rounds.
All passwords are encrypted as soon as the module is installed. This may take a few minutes if there are thousands of users.
Past versions of encrypted passwords will be automatically upgraded
to the current scheme whenever a user authenticates
(auth_crypt was previously using the weaker md5crypt key
derivation function).
Note: Installing this module permanently prevents user password
recovery and cannot be undone. It is thus recommended to enable
some password reset mechanism for users, such as the one provided
by the auth_signup module (signup for new users does not
necessarily have to be enabled).
Dependencies
- Odoo dependencies
-
odoo/odoo:- base
- Python dependencies
- None
- System dependencies
- None
- Required by
- auth_brute_force, auth_saml, password_security
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 1
-
passwordCharcompute='_compute_password'inverse='_inverse_password'invisible=Truestore=True -
password_cryptCharcopy=Falseinvisible=Truestring='Encrypted Password'
-
check_credentials(self, password)@api.model -
init(self)
Loading…
Loading…
Loading…
Loading…