Paul Lorenz
1ae9b5b121
Validate the API session token when creating circuits via CreateCircuitV3
...
- requires an API session token on CreateCircuitV3 requests and validates it,
covering signature, audience, token type, and revocation by token id,
identity, and api session
- takes the dialing identity from the validated token claims rather than the
router-supplied identity id, and rejects a request whose asserted identity
does not match the token subject
- adds the api session id to the log context, matching the V1 and V2 paths
- adds tests for a missing token, an invalid token, and a token belonging to a
different identity than the one asserted
- notes the advisory in the 2.0.3 release notes
2026-08-20 15:38:27 -04:00
..
2026-05-04 15:37:30 -04:00
2020-04-21 15:34:34 -04:00
2026-01-28 15:01:35 -05:00
2026-04-22 10:54:53 -04:00
2026-06-30 10:17:35 -04:00
2025-03-18 16:00:40 -04:00
2026-01-28 15:01:35 -05:00
2026-02-04 14:37:53 -05:00
2026-08-19 17:46:03 -04:00
2026-08-19 16:55:01 -04:00
2025-11-12 17:13:34 -05:00
2025-08-18 19:28:28 -04:00
2026-08-19 17:46:03 -04:00
2026-01-28 15:01:35 -05:00
2026-01-28 12:34:10 -05:00
2026-04-06 20:36:22 -04:00
2026-01-28 12:34:10 -05:00
2026-02-24 10:01:36 -05:00
2026-02-24 10:01:36 -05:00
2026-03-11 16:27:31 -04:00
2026-04-23 12:00:46 -04:00
2026-05-07 13:56:48 -04:00
2026-05-07 13:56:48 -04:00
2026-05-07 13:56:48 -04:00
2026-05-07 13:56:48 -04:00
2026-03-11 16:27:31 -04:00
2026-08-19 16:55:01 -04:00
2026-01-28 15:01:35 -05:00
2026-02-24 10:01:36 -05:00
2026-02-25 09:34:59 -05:00
2026-04-14 16:58:17 -04:00
2026-02-26 10:06:56 -05:00
2026-06-12 13:53:47 -04:00
2026-02-04 14:36:21 -05:00
2026-01-28 15:01:35 -05:00
2026-01-28 15:01:35 -05:00
2026-04-14 15:52:49 -04:00
2026-01-28 12:34:10 -05:00
2026-01-28 12:34:10 -05:00
2026-04-22 10:54:53 -04:00
2026-03-07 00:00:51 -05:00
2026-02-25 09:13:07 -05:00
2026-04-23 12:00:46 -04:00
2026-03-04 10:03:14 -05:00
2026-04-16 09:18:55 -04:00
2026-08-07 15:30:40 -04:00
2026-08-20 15:38:27 -04:00
2025-11-12 17:13:34 -05:00
2026-01-28 12:34:10 -05:00
2026-01-28 12:34:10 -05:00
2026-02-04 14:36:21 -05:00
2026-02-04 15:48:42 -05:00
2026-01-28 15:01:35 -05:00
2026-02-09 09:18:25 -05:00
2026-03-11 20:33:38 -04:00
2026-01-28 12:34:10 -05:00
2026-03-07 00:00:51 -05:00
2025-10-15 13:04:56 -04:00
2025-02-03 18:52:57 -05:00
2026-06-12 13:53:47 -04:00
2026-01-28 12:34:10 -05:00
2026-01-28 12:34:10 -05:00
2025-11-12 17:13:34 -05:00
2026-01-28 15:01:35 -05:00
2026-01-28 12:34:10 -05:00
2025-12-18 10:54:08 -05:00
2025-08-26 09:28:54 -04:00
2026-08-06 10:42:47 -04:00
2026-08-06 10:42:47 -04:00
2026-01-28 15:01:35 -05:00
2026-01-28 15:01:35 -05:00
2026-05-03 11:08:40 -04:00
2026-01-28 12:34:10 -05:00
2026-08-20 15:23:21 -04:00
2026-01-28 12:34:10 -05:00
2026-03-07 00:00:51 -05:00
2026-01-28 12:34:10 -05:00
2026-01-28 12:34:10 -05:00
2026-04-14 11:32:32 -04:00
2026-01-28 15:01:35 -05:00
2026-01-28 15:01:35 -05:00
2026-01-28 15:01:35 -05:00
2026-01-28 12:34:10 -05:00
2026-01-28 15:01:35 -05:00
2026-05-07 13:56:48 -04:00
2026-04-22 10:54:53 -04:00
2026-04-14 16:44:06 -04:00
2026-03-11 13:10:28 -04:00
2026-01-28 12:34:10 -05:00
2026-01-28 12:34:10 -05:00
2026-01-28 12:34:10 -05:00
2026-01-28 12:34:10 -05:00
2026-01-28 12:34:10 -05:00
2026-01-28 12:34:10 -05:00
2026-01-28 12:34:10 -05:00
2026-01-28 12:34:10 -05:00
2026-06-26 13:18:33 -04:00
2026-01-28 12:34:10 -05:00
2026-01-28 12:34:10 -05:00
2026-01-28 12:34:10 -05:00
2026-01-28 12:34:10 -05:00
2026-01-28 12:34:10 -05:00
2026-01-28 12:34:10 -05:00
2026-01-28 12:34:10 -05:00
2026-06-26 13:18:33 -04:00
2026-01-28 12:34:10 -05:00
2026-01-28 12:34:10 -05:00
2026-01-28 15:01:35 -05:00
2026-01-28 15:01:35 -05:00
2026-01-28 12:34:10 -05:00
2026-01-28 12:34:10 -05:00
2026-01-28 12:34:10 -05:00
2026-01-28 12:34:10 -05:00
2026-01-28 12:34:10 -05:00
2026-01-28 12:34:10 -05:00
2026-01-28 12:34:10 -05:00
2026-06-13 01:56:44 -04:00
2026-08-19 17:46:02 -04:00
2026-01-28 15:01:35 -05:00
2026-08-19 10:59:34 -04:00
2026-04-23 12:00:46 -04:00
2024-05-08 10:33:50 -04:00
2026-03-25 12:05:23 -04:00
2026-01-28 15:01:35 -05:00
2026-01-28 15:01:35 -05:00
2026-01-28 12:34:10 -05:00
2025-12-18 10:54:08 -05:00
2026-03-07 00:00:51 -05:00
2026-03-11 16:27:31 -04:00
2026-01-28 15:01:35 -05:00
2026-01-28 15:01:35 -05:00
2026-01-28 15:01:35 -05:00
2026-01-28 15:01:35 -05:00
2026-07-21 21:20:09 -04:00
2026-01-28 15:01:35 -05:00
2026-01-28 15:01:35 -05:00
2026-01-28 15:01:35 -05:00
2026-04-14 16:58:17 -04:00
2026-08-07 14:50:29 -04:00
2025-11-12 17:13:34 -05:00
2026-02-04 15:48:42 -05:00
2026-03-07 00:00:51 -05:00
2026-02-04 14:37:53 -05:00