Commit ff1a875
Use instanceActor predicate to keep actor endpoint public
Instead of removing .authorize() from the actor dispatcher entirely,
use a dedicated instanceActor predicate that:
- Returns true for identifier "i" (instance actor is always public)
- Delegates to authorize() for other identifiers
This approach keeps .authorize() on the actor dispatcher while ensuring
the instance actor remains publicly accessible for key fetching per the
ActivityPub HTTP Signature spec.
Reference: https://swicg.github.io/activitypub-http-signature/#instance-actor
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 7540c79 commit ff1a875
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
156 | 166 | | |
157 | 167 | | |
158 | 168 | | |
| |||
199 | 209 | | |
200 | 210 | | |
201 | 211 | | |
202 | | - | |
| 212 | + | |
| 213 | + | |
203 | 214 | | |
204 | 215 | | |
205 | 216 | | |
| |||
0 commit comments