mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-31 04:12:10 +03:00
- 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