oca-ocb-security/odoo-bringout-oca-ocb-auth_totp
Ernad Husremovic d486db3dff Optimize refresh_package_links.py with local hash comparison
- Added local hash comparison to prevent unnecessary GitHub URL generation
- Only build GitHub mappings for packages that actually changed commit hashes
- Reduced file updates from 1758/2075 to 1/2075 files (99.94% improvement)
- Implemented get_current_hash_from_content() to extract hashes from existing URLs
- Added build_local_hash_mapping() for fast local git hash lookup
- Performance improvement: only fetch git hashes when changes are detected

🤖 assisted by claude
2025-08-30 19:28:41 +02:00
..
auth_totp Add .gitignore for Python cache files 2025-08-29 18:11:23 +02:00
doc Optimize refresh_package_links.py with local hash comparison 2025-08-30 19:28:41 +02:00
pyproject.toml Initial commit: Security packages 2025-08-29 15:20:51 +02:00
README.md Initial commit: Security packages 2025-08-29 15:20:51 +02:00

Two-Factor Authentication (TOTP)

Two-Factor Authentication (TOTP)

Allows users to configure two-factor authentication on their user account for extra security, using time-based one-time passwords (TOTP).

Once enabled, the user will need to enter a 6-digit code as provided by their authenticator app before being granted access to the system. All popular authenticator apps are supported.

Note: logically, two-factor prevents password-based RPC access for users where it is enabled. In order to be able to execute RPC scripts, the user can setup API keys to replace their main password.

Installation

pip install odoo-bringout-oca-ocb-auth_totp

Dependencies

This addon depends on:

  • web

Manifest Information

  • Name: Two-Factor Authentication (TOTP)
  • Version: N/A
  • Category: Extra Tools
  • License: LGPL-3
  • Installable: False

Source

Based on OCA/OCB branch 16.0, addon auth_totp.

License

This package maintains the original LGPL-3 license from the upstream Odoo project.

Documentation

  • Overview: doc/OVERVIEW.md
  • Architecture: doc/ARCHITECTURE.md
  • Models: doc/MODELS.md
  • Controllers: doc/CONTROLLERS.md
  • Wizards: doc/WIZARDS.md
  • Install: doc/INSTALL.md
  • Usage: doc/USAGE.md
  • Configuration: doc/CONFIGURATION.md
  • Dependencies: doc/DEPENDENCIES.md
  • Troubleshooting: doc/TROUBLESHOOTING.md
  • FAQ: doc/FAQ.md