anonpenguin23
7b5587094d
fix(gateway): api_key owners no longer 403 on namespaces they own
...
The namespace-ownership middleware compared an api_key caller's RAW key
against namespace_ownership.owner_id, but api_keys are stored HMAC-hashed
(HashAPIKey). So every api_key-authenticated owner got a 403 on a namespace
they actually own — blocking function deploy and PUT /v1/push/config.
Hash the presented api_key before the ownership comparison (hashed first,
raw second as a rolling-upgrade legacy fallback), mirroring the existing
lookupAPIKeyNamespace pattern. The wallet path is unchanged (wallets stored
raw). Security-reviewed: grants only to the correct key holder, no
escalation.
2026-06-15 11:20:23 +03:00
..
2026-06-12 17:42:36 +03:00
2026-03-26 18:14:52 +02:00
2026-06-12 10:12:21 +03:00
2026-03-26 18:14:52 +02:00
2026-03-26 18:14:52 +02:00
2026-03-26 18:14:52 +02:00
2026-03-26 18:14:52 +02:00
2026-03-26 18:14:52 +02:00
2026-06-12 08:05:27 +03:00
2026-06-12 08:05:27 +03:00
2026-03-26 18:14:52 +02:00
2026-03-26 18:14:52 +02:00
2026-06-09 13:01:02 +03:00
2026-03-26 18:14:52 +02:00
2026-03-26 18:14:52 +02:00
2026-05-12 09:13:03 +03:00
2026-06-13 09:23:14 +03:00
2026-06-11 07:04:50 +03:00
2026-03-26 18:14:52 +02:00
2026-03-26 18:14:52 +02:00
2026-03-26 18:14:52 +02:00
2026-06-10 12:10:52 +03:00
2026-06-11 07:04:50 +03:00
2026-05-08 11:23:53 +03:00
2026-06-12 08:05:27 +03:00
2026-05-17 16:27:05 +03:00
2026-06-15 11:20:23 +03:00
2026-03-26 18:14:52 +02:00
2026-03-26 18:14:52 +02:00
2026-05-30 14:39:39 +03:00
2026-06-12 08:05:27 +03:00
2026-06-15 11:20:23 +03:00
2026-03-26 18:14:52 +02:00
2026-03-26 18:14:52 +02:00
2026-03-26 18:14:52 +02:00
2026-05-16 15:43:18 +03:00
2026-05-16 15:43:18 +03:00
2026-05-07 07:33:52 +03:00
2026-03-26 18:14:52 +02:00
2026-06-13 09:23:14 +03:00
2026-06-13 09:23:14 +03:00
2026-03-26 18:14:52 +02:00
2026-05-07 07:33:52 +03:00
2026-05-14 10:48:00 +03:00
2026-05-13 15:41:36 +03:00
2026-03-26 18:14:52 +02:00
2026-05-13 15:41:36 +03:00
2026-05-13 15:41:36 +03:00
2026-03-26 18:14:52 +02:00
2026-06-11 07:04:50 +03:00
2026-03-26 18:14:52 +02:00
2026-03-26 18:14:52 +02:00
2026-05-07 07:33:52 +03:00
2026-05-07 07:33:52 +03:00
2026-06-13 09:23:14 +03:00
2026-06-13 09:23:14 +03:00
2026-05-25 10:25:04 +03:00
2026-05-08 11:23:53 +03:00
2026-05-08 11:23:53 +03:00
2026-03-26 18:14:52 +02:00
2026-03-26 18:14:52 +02:00
2026-03-26 18:14:52 +02:00
2026-03-26 18:14:52 +02:00
2026-06-01 10:12:07 +03:00