Home | Notifications | New Note | Local | Federated | Search | Logout

Note Detail


Reply to @mariusor@metalhead.club
silverpill@silverpill@mitra.social (2026-05-08 23:51:41)
@mariusor Made another one.

The response is {"@context":"http://marius.federated.id/ns#errors","errors":{"status":401,"message":"authorized Actor is invalid"}}

@Marius @marius
---Reply--- marius@mariusor@metalhead.club (2026-05-09 00:05:48) @silverpill gaaah!! 😱
Thank you.

The log is just telling me the signature failed verification:

err="actor IRI https://mitra.social/users/silverpill: verification failed: invalid signature: crypto/rsa: verification error"

Did you by any chance update your key recently? (I might use a locally cached version that's out of date, version in cache is since May 2025)

@marius@marius.federated.id @marius@federated.id
Reply

---Replies---
marius@mariusor@metalhead.club (2026-05-09 00:13:53)
> I might use a locally cached version that's out of date

@silverpill it's not that, the key online matches the public key in cache.

Have you tested the key generation against some known vectors?

The only explanation I can come up with is that the signature is somehow incorrect... :(

(On my side I checked the verifier against the test examples given in the RFC9421, so I'm 90% confident the code should work as intended)

@marius@marius.federated.id @marius@federated.id