zeroclaw/src/security
Víctor R. Escobar 1c8fe79238 fix: address PR review — rejection sampling and robust test
- Use rejection sampling to eliminate modulo bias in generate_code().
  Values above the largest multiple of 1_000_000 in u32 are discarded
  and re-drawn (~0.02% rejection rate).
- Make generate_code_is_not_deterministic test robust against the
  1-in-10^6 collision chance by trying 10 pairs instead of one.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 13:48:36 +01:00
..
mod.rs feat: add Composio tool provider + encrypted secret store + wizard integration 2026-02-14 02:41:29 -05:00
pairing.rs fix: address PR review — rejection sampling and robust test 2026-02-14 13:48:36 +01:00
policy.rs security: pass all 4 checklist items — gateway not public, pairing required, filesystem scoped, tunnel access 2026-02-14 00:39:51 -05:00
secrets.rs feat: add Composio tool provider + encrypted secret store + wizard integration 2026-02-14 02:41:29 -05:00