Skip to content

fix(timer): use this.hmac_lib instead of bare hmac_lib (ReferenceError) - #500

Merged
simonLouvet merged 1 commit into
masterfrom
fix/timer-hmac-lib
Aug 25, 2026
Merged

simonLouvet merged 1 commit into
masterfrom
fix/timer-hmac-lib

Conversation

@simonLouvet

Copy link
Copy Markdown
Collaborator

Bug préexistant (introduit en 3d408b80 2026-08-18, refactor sécurité HMAC) : packages/core/timerScheduler.js:36 appelait hmac_lib.signMessage(...) nu au lieu de this.hmac_lib.signMessage(...) (hmac_lib est une propriété du module, ligne 11).

Impact en prod : chaque exécution d'un composant timer planifié levait ReferenceError: hmac_lib is not defined, capturée par le .catch (ligne 70) → les workflows planifiés ne tournaient plus depuis le déploiement de ce commit.

Fix : this.hmac_lib. Une ligne. Hors périmètre SB-IDOR-2026-01.

@simonLouvet
simonLouvet merged commit ee3257d into master Aug 25, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant