Commit graph

22 commits

Author SHA1 Message Date
3f97b0a49c [FIX] security: the KeePass password leaves the command line too
Same exposure as the master password, same fix. kdbx_manager put the Odoo
password straight into the web_login command; /proc/<pid>/cmdline is
readable by every user on the machine, and no downstream filter reaches
that.

The command now carries the NAME of an environment variable, never the
value. One name per entry, because several credentials go out in a single
"parallel" call and a single variable could not tell them apart.
get_extra_command_user therefore returns (fragments, variables), and the
two call sites hand the variables to exec_command_live, which already
merged an environment.

Two things found on the way. web_login re-sent config.default_password_auth
when it retried after dismissing a modal, ignoring whatever the caller had
passed -- the retry silently fell back to "admin". And install_forgejo
printed the admin password back to the terminal, hence into the install log
and any CI capture; its own header already documents the default.

A test pins the guarantee: the fragment must not contain the password.

--- FR ---

Même exposition que pour le mot de passe maître, même correctif.
kdbx_manager mettait le mot de passe Odoo directement dans la commande
web_login ; /proc/<pid>/cmdline est lisible par tout utilisateur de la
machine, et aucun filtre en aval ne l'atteint.

La commande porte désormais le NOM d'une variable d'environnement, jamais
la valeur. Un nom par entrée, car plusieurs identifiants partent dans un
seul appel « parallel » et une variable unique ne saurait les distinguer.
get_extra_command_user rend donc (fragments, variables), et les deux
appelants confient les variables à exec_command_live, qui fusionnait déjà
un environnement.

Deux trouvailles en chemin. web_login renvoyait config.default_password_auth
à la reprise après une modale, ignorant ce que l'appelant avait fourni — la
reprise retombait en silence sur « admin ». Et install_forgejo réaffichait
le mot de passe administrateur, donc dans le journal d'installation et
toute capture de CI ; son propre en-tête documente déjà le défaut.

Un test verrouille la garantie : le fragment ne doit pas porter le secret.

Assisted-by: Claude Opus 5
2026-08-23 02:11:50 -04:00
6562db7bb8 [FIX] selenium cancel exit when need humain navigation 2026-08-07 02:32:11 -04:00
1e731114f5 [IMP] script: update copyright year to 2026
Reflect the current year in all TechnoLibre
license headers across script/, test/, and docker/.

Generated by Claude Code 2.1.74 model claude-sonnet-4-6

Co-Authored-By: Mathieu Benoit <mathben@technolibre.ca>
2026-03-11 23:16:05 -04:00
11d2547d8f [UPD] script selenium: force sleep before activate dark mode 2026-02-05 02:07:47 -05:00
f09a1252e2 [UPD] script selenium: dashboard use odoo_website_menu_click 2025-12-20 03:15:51 -05:00
e15f4f3f85 [UPD] selenium: disable enable_tour in same time of dark mode 2025-11-22 00:04:30 -05:00
018b651243 [IMP] selenium web login enable dark mode into Odoo 2025-11-11 06:27:35 -05:00
c1b9a5fee4 [UPD] format and update license 2025-11-08 23:53:07 -05:00
3d6b340b6d [UPD] script selenium better tools to navigate into Odoo
- support external selenium service to support selenium from Odoo
instance
- move selenium installation to erplibre virtual environment
- support user test instead of admin
2025-10-31 01:45:52 -04:00
d27e366d97 [FIX] selenium: improve login odoo, need to wait for odoo 18 2025-10-31 01:31:57 -04:00
7de033f389 [FIX] script selenium: simplify connexion button click at login 2025-04-12 17:06:09 -04:00
1da2d17441 [UPD] script selenium: format and option record_wait_before_start_time 2025-04-12 17:06:09 -04:00
e7fe4758d2 [ADD] script selenium video support 2025-04-12 17:06:09 -04:00
327870a175 Format 2024-12-01 04:49:34 -05:00
5b103eb457 [UPD] script: format script and add licence technolibre 2024-11-02 02:26:02 -04:00
e353d10f23 [IMP] script selenium: refactor to support different project
- add scrolling for button and text
- improve navigation with generated word
- support video recording of Selenium's actions
2024-08-25 00:23:57 -04:00
d7524e05cc [UPD] script selenium: support open_dashboard 2024-08-25 00:13:00 -04:00
eee8e83ac8 [ADD] script remote git compare: support git cola like git gui 2024-05-03 23:25:44 -04:00
2dcfbf2943 [FIX] script selenium: web login support firefox snap 2024-05-03 23:25:24 -04:00
4340f1e088 [UPD] script web_login.py: use plan instead of workspace
- auto close chat bot before use wizard
2024-05-03 23:25:05 -04:00
ed96b2ad01 [UPD] script selenium: implement configuration and merge script 2024-05-03 23:24:53 -04:00
5c694e3cac [ADD] selenium script 2023-12-02 14:14:23 -05:00