Take the portal's JWKS from the tunnel and verify by kid
The welcome frame's keys replace the set pinned at enrolment, but only over wss:// or loopback, the rule enrolment applies to the portal address. Portal tokens are verified against the key their kid names, so the hub can publish a new key beside the old one. A welcome without keys, from an older hub, leaves the pinned set alone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WgBfkm4rCmtd1T4vHWjEPx
This commit is contained in:
@@ -76,8 +76,9 @@ status reads **Removed at the portal** and the instance stops dialling. Connect
|
||||
with a new code to restore remote access.
|
||||
|
||||
Local sign-in and flows continue after disconnecting. Portal requests follow
|
||||
the instance's normal account permissions, and the instance verifies portal
|
||||
tokens against the public signing key pinned during enrollment.
|
||||
the instance's normal account permissions. The instance verifies portal tokens
|
||||
against the portal's signing keys, which it pins during enrollment and takes
|
||||
again from the portal each time it connects.
|
||||
|
||||
## Custom portals
|
||||
|
||||
|
||||
Reference in New Issue
Block a user