-
Notifications
You must be signed in to change notification settings - Fork 92
Description
9.2 says to include a "link to the public key" in the actors profile object, but nowhere is it mentioned what name this should have in the profile object, AFAICT.
When Linked Data Signatures is used in combination with ActivityPub, the server should assign an actor a public and private key pair, and link the public key to the actor's profile object, which may later be used with the Linked Data Signatures verification algorithm to validate the authenticity of messages passed along the network.
The paragraph links to the profile section which has provideClientKey and signClientKey attributes related to Linked Data Signatures + HTTP signatures. Neither of them however sounds like it should contain an URI to the public key.
Also, why a "link to the public key"? Why not just place the public key in the profile object itself? What should be behind the link - the public key itself as text or some document containing the public key?
Suggestion: Add to "4.1 Actor objects" something like the following:
publicKey
If Linked Data Signatures and HTTP Signatures are being used for authentication and authorization, this property should contain the public key of the actor.
I'm trying to wrap my head around how to do the signing part compared to for example Diaspora, so expect a few issues maybe ;)