HF RL Explorer

webhook signature verification: add feature

webhook signature verification: add feature: a task in smol-software-harbor (Harbor dataset). To rotate webhook secrets without downtime, verify in src/verify.js must accept either one secret (a string, as today) or an array of secrets; the request is valid when a v1 signature matches any of them…

The task

To rotate webhook secrets without downtime, `verify` in `src/verify.js` must accept either one secret (a string, as today) or an array of secrets; the request is valid when a `v1` signature matches any of them (an empty array accepts nothing). The timestamp rules do not change. Run `node --test test/*.test.js`.

Part of efederici/smol-software-harbor.