Post B2BrKWt06fa0hw9FS4 by achim@social.saarland
(DIR) More posts by achim@social.saarland
(DIR) Post #B2BrKMdkCXQyvivvHc by achim@social.saarland
2026-01-11T17:53:53Z
0 likes, 0 repeats
#activitypub follow-up question: Thanks to @silverpill I made progress with my "Follow" request sent to Mastodon. After fixing a few more issues my current error message from Mastodon is:"Could not refresh public key https://pub.saar.social/user/achim/key"This URL returns my full profile having type "Person", which also contains the public key. The type "Person" is also used in the AP book by @evan which I use as a reference.[...]
(DIR) Post #B2BrKNdmTt3e27xSym by achim@social.saarland
2026-01-11T17:58:50Z
0 likes, 0 repeats
[...] I checked out the Mastodon source code and searched for the error message. My Ruby-skills are limited, but it looks like Mastodon expects the type "Account". I dont't understand what Mastodon expects from me. Any hint would be highly appreciated.In the meanwhile I'll give https://activitypub.academy/ ad try ...@silverpill @evan
(DIR) Post #B2BrKNu5VG6MqhaUOe by evan@cosocial.ca
2026-01-11T18:01:37Z
0 likes, 0 repeats
@achim @silverpill no, I think Mastodon accepts `Person` just fine.
(DIR) Post #B2BrKO8ybu0lasYNbU by evan@cosocial.ca
2026-01-11T18:04:47Z
0 likes, 0 repeats
@achim @silverpill you either need to provide an URL to the key itself, with type "Key", and a link to "Person" that is the "owner", or you can provide the URL of the "Person" with an URL fragment "main-key", and your person has to have a "publicKey" property.
(DIR) Post #B2BrKOZuzjYuwR9tb6 by achim@social.saarland
2026-01-11T18:08:45Z
0 likes, 0 repeats
@evan Thanks for your response. @silverpill already mentioned the "main-key" fragment. Is that documented somewhere?I had an implementation that returned just an object of type "PublicKey" if the "./key" endpoint is called.I checked what I get back from Mastodon if I call my profile with the "main-key" fragment. The result is the full profile.So should I either refer to the profile url with the fragment and return the full "Person" OR [...]
(DIR) Post #B2BrKWt06fa0hw9FS4 by achim@social.saarland
2026-01-11T18:09:31Z
0 likes, 0 repeats
[...] use a dedicated url (i.e. mine with an appended ./key) and just return an object of type "PublicKey"?@evan @silverpill