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-09 15:55:59 -03:00
2026-04-19 19:50:30 -03:00
2026-04-17 16:45:27 -03:00
2026-04-17 11:56:52 -03:00
2026-03-08 17:36:17 -03:00
2026-04-16 05:26:17 -03:00
2026-04-16 05:26:17 -03:00
2026-04-19 19:50:30 -03:00
2026-04-21 03:24:35 +07:00
2026-04-01 04:35:16 -04:00
2026-04-16 05:26:17 -03:00
2026-04-03 00:15:35 -03:00
2026-04-17 11:56:52 -03:00
2026-04-17 09:00:32 -03:00
2026-04-19 20:28:39 -03:00
2026-04-12 10:34:10 -03:00
2026-04-17 11:56:52 -03:00
2026-04-03 00:15:35 -03:00
2026-03-31 04:50:50 +07:00
2026-03-30 17:07:46 -04:00
2026-04-17 16:59:18 -03:00
2026-02-26 15:11:40 +00:00
2026-04-17 11:56:52 -03:00
2026-04-19 19:50:30 -03:00
2026-04-17 09:00:32 -03:00
2026-04-16 05:26:17 -03:00
2026-04-09 15:55:59 -03:00
2026-04-19 19:50:30 -03:00
2026-04-17 23:48:37 -03:00
2026-04-16 05:26:17 -03:00
2026-04-17 23:48:37 -03:00
2026-04-16 05:26:17 -03:00
2026-03-29 04:30:11 -03:00
2026-04-01 08:42:03 -03:00
2026-03-29 14:37:55 +02:00
2026-03-17 04:24:46 -03:00
2026-04-06 09:28:24 -03:00
2026-04-16 05:26:17 -03:00
2026-03-31 10:22:52 -03:00
2026-03-04 19:35:38 -03:00
2026-04-19 19:50:30 -03:00
2026-04-17 16:45:27 -03:00
2026-04-17 09:00:32 -03:00
2026-04-01 08:45:39 +07:00
2026-04-17 16:45:27 -03:00
2026-03-22 20:55:35 -03:00
2026-04-16 12:53:37 -03:00
2026-04-17 16:45:27 -03:00
2026-04-10 09:56:42 -03:00
2026-04-18 11:44:20 -03:00
2026-03-31 20:53:25 -04:00
2026-04-16 23:25:58 -03:00
2026-04-18 04:34:11 -03:00
2026-04-17 11:56:52 -03:00
2026-04-17 16:45:27 -03:00
2026-02-18 14:43:57 -03:00
2026-04-06 20:45:52 -03:00
2026-03-22 23:17:52 -03:00
2026-03-31 10:22:52 -03:00
2026-04-16 05:26:17 -03:00
2026-02-18 00:02:15 -03:00
2026-04-19 19:50:30 -03:00
2026-02-18 14:43:57 -03:00
2026-02-18 00:02:15 -03:00
2026-04-07 17:27:19 -03:00
2026-03-17 16:18:36 -03:00
2026-03-23 22:07:10 -03:00