Files
OmniRoute/tests/unit
oyi77 763d353f5c fix(encryption): return null on decryption failure to prevent sending encrypted tokens to providers
- When decrypt() encounters a malformed encrypted value (invalid format), return null instead of the ciphertext
- When decrypt() fails due to decryption error (wrong key, auth tag mismatch), return null instead of the ciphertext
- This prevents encrypted tokens from being sent to upstream APIs
- Fixes [400]: Improperly formed request errors when routing to Kiro and other providers with unavailable credentials
- Updated test expectations to match the new correct behavior: decrypt returns null on any failure
2026-04-21 03:24:35 +07:00
..
2026-04-19 19:50:30 -03:00
2026-04-19 19:50:30 -03:00
2026-04-19 19:50:30 -03:00
2026-04-19 19:50:30 -03:00