GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Notices by marius (mariusor@metalhead.club)

  1. Embed this notice
    marius (mariusor@metalhead.club)'s status on Saturday, 09-May-2026 04:42:08 JST marius marius
    in reply to
    • silverpill
    • marius
    • Marius

    @silverpill ok, cool, that makes sense too.

    Would it be too much trouble for you to create a minimum example that generates a signature using your libraries so I can adapt it to test on my dev setup?

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

    In conversation about 2 days ago from metalhead.club permalink
  2. Embed this notice
    marius (mariusor@metalhead.club)'s status on Saturday, 09-May-2026 02:15:37 JST marius marius
    in reply to
    • silverpill
    • marius
    • Marius

    @silverpill damn, I didn't have debugging enabled after restarting the server. I found the request, but the errors are not very enlightening on signature check failure.

    Could you do another one please. 🙇

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

    In conversation about 2 days ago from metalhead.club permalink
  3. Embed this notice
    marius (mariusor@metalhead.club)'s status on Saturday, 09-May-2026 02:15:35 JST marius marius
    in reply to
    • silverpill
    • marius
    • Marius

    @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

    In conversation about 2 days ago from metalhead.club permalink

    Attachments


  4. Embed this notice
    marius (mariusor@metalhead.club)'s status on Saturday, 09-May-2026 02:15:33 JST marius marius
    in reply to
    • silverpill
    • marius
    • Marius

    > 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

    In conversation about 2 days ago from metalhead.club permalink
  5. Embed this notice
    marius (mariusor@metalhead.club)'s status on Friday, 08-May-2026 20:47:37 JST marius marius
    in reply to
    • David Chisnall (*Now with 50% more sarcasm!*)

    @david_chisnall as far as I remember Firefox also bundles an LLM with the install (useful at least for in browser translations) but it still manages to keep the size reasonable...

    In conversation about 2 days ago from metalhead.club permalink
  6. Embed this notice
    marius (mariusor@metalhead.club)'s status on Friday, 08-May-2026 20:23:11 JST marius marius
    in reply to
    • silverpill
    • marius
    • Marius

    @silverpill when you get a chance, please send another request. While waiting for the upstream to solve the issue, I fixed on my end trying to validate missing nonces.

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

    In conversation about 2 days ago from metalhead.club permalink
  7. Embed this notice
    marius (mariusor@metalhead.club)'s status on Friday, 08-May-2026 03:16:23 JST marius marius
    in reply to
    • Evan Prodromou
    • 洪 民憙 (Hong Minhee)

    > it's incumbent on you to make the case for it.

    @evan I was sure I managed to do that. :D

    And so far, I don't think you provided me with any counter-factual arguments that I didn't address.

    @hongminhee

    In conversation about 3 days ago from metalhead.club permalink
  8. Embed this notice
    marius (mariusor@metalhead.club)'s status on Friday, 08-May-2026 02:32:58 JST marius marius
    in reply to
    • Evan Prodromou
    • 洪 民憙 (Hong Minhee)

    @evan yes. I don't look at it as "2 POSTs" though.

    I look at it as a "file upload" followed by an ActivityPub Create activity.

    If you're looking for one POST request, just have /outbox do the work instead of mediaUpload.

    @hongminhee

    In conversation about 3 days ago from metalhead.club permalink
  9. Embed this notice
    marius (mariusor@metalhead.club)'s status on Friday, 08-May-2026 02:32:56 JST marius marius
    in reply to
    • Evan Prodromou
    • 洪 民憙 (Hong Minhee)

    @evan if you want the simplest mechanism to upload media, why bother with multipart request bodies? Just do what I do in BOX->ONI, use a data URI for encoding the binary, either as Object.Content or Object.URL.

    Can you tell me what's the difference between a request containing JSON with a data URI property and a multipart request body?

    As far as I can tell the binary data is in both cases base64 encoded, so you're not saving on size, it can be malformed for both cases (but for multipart you now you need an extra check to not save the JSON-LD object if the bin-data is broken), etc...

    (this suggestion is not entirely serious, but...)

    etc...@hongminhee

    In conversation about 3 days ago from metalhead.club permalink
  10. Embed this notice
    marius (mariusor@metalhead.club)'s status on Friday, 08-May-2026 00:39:52 JST marius marius
    in reply to
    • Evan Prodromou
    • 洪 民憙 (Hong Minhee)

    > 1) It doesn't include addressing,

    As always it's the Clients that are responsible for addressing, therefore the second step should cover it, if the user/client chooses to perform it.

    > 2) What happens if the client doesn't post the `Create` activity?

    Whatever the server desires: cleanup after a while, keeping the media, etc.
    Why do you think it's relevant for the specification itself?

    ActivityPub, to my reading, is not about how to *store* content, but about how to *distribute* content.
    So after it was uploaded, it's no longer the concern of the spec, unless operated further through other ActivityPub requests.

    @evan @hongminhee

    In conversation about 3 days ago from metalhead.club permalink
  11. Embed this notice
    marius (mariusor@metalhead.club)'s status on Friday, 08-May-2026 00:39:50 JST marius marius
    in reply to
    • Evan Prodromou
    • 洪 民憙 (Hong Minhee)

    @evan to clarify for 1): before the Create is performed, and the media object gets created on the server, the binary data itself is not accessible/referenceable.

    @hongminhee

    In conversation about 3 days ago from metalhead.club permalink
  12. Embed this notice
    marius (mariusor@metalhead.club)'s status on Thursday, 07-May-2026 21:56:11 JST marius marius
    • 洪 民憙 (Hong Minhee)

    @hongminhee like I mentioned in a thread where Evan and Reiver were talking about this, I think having a mediaUpload that has a very similar behaviour to an inbox/outbox, but with one **small** changed detail is a bad API.

    I would prefer there's either a two step process: upload media first, use resulting token in an object create, or use the outbox with for the binary data upload directly... The first one seems saner to me.

    In conversation about 3 days ago from metalhead.club permalink
  13. Embed this notice
    marius (mariusor@metalhead.club)'s status on Thursday, 07-May-2026 21:56:09 JST marius marius
    in reply to
    • Evan Prodromou
    • 洪 民憙 (Hong Minhee)

    @evan I did on reiver's comment on github: https://github.com/w3c/activitypub/issues/578#issuecomment-4366469692

    It's a compromise between the current SocialCG proposal, and what I said above.

    Do you think it warrants it's own ticket?

    @hongminhee

    In conversation about 3 days ago from metalhead.club permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: opengraph.githubassets.com
      resumable uploads for ActivityPub · Issue #578 · w3c/activitypub
      ActivityPub-based applications often allow users to upload audio, images, videos, and other file types, though most currently rely on non-ActivityPub APIs for this functionality. These files can be...

  14. Embed this notice
    marius (mariusor@metalhead.club)'s status on Thursday, 07-May-2026 03:47:41 JST marius marius
    in reply to
    • silverpill

    @silverpill the problem is missing nonces even when not specified in the signature-input.

    6:33PM WRN Failed to load actor err="verification failed: parameter error: nonce validation failed: nonce already seen" log=auth

    I'll review if the error is on my end, or in the library itself. I just realized this is the same issue I had with signatures coming from tags.pub at some point.

    I'll probably message you with an update sometime tomorrow. Thank you for giving it a try. 🫡

    In conversation about 4 days ago from metalhead.club permalink
  15. Embed this notice
    marius (mariusor@metalhead.club)'s status on Thursday, 07-May-2026 03:47:39 JST marius marius
    in reply to
    • silverpill

    @silverpill also, what the hell is that Activity? A Like without an object... o.O

    In conversation about 4 days ago from metalhead.club permalink
  16. Embed this notice
    marius (mariusor@metalhead.club)'s status on Thursday, 07-May-2026 03:37:25 JST marius marius
    in reply to
    • silverpill
    • marius
    • Marius

    @silverpill

    I'm not sure which instance you mean, these two actors are different.

    @marius@marius.federated.id

    @marius@federated.id

    The first one is on an instance that should have RFC9421 enabled, but the second isn't.

    I enabled request debug on it, if you want to try again.

    In conversation about 4 days ago from metalhead.club permalink
  17. Embed this notice
    marius (mariusor@metalhead.club)'s status on Monday, 04-May-2026 00:30:16 JST marius marius
    in reply to
    • Evan Prodromou

    @evan probably, but the way code is structured I'm using the same client for all requests, including key fetch. I might find a way to separate between Activity requests and key fetches at some point, but until then it's kinda like that.

    My logic was that in the case of a public resource most servers would just serve it even with an invalid authorization mechanism... but I guess that if you choose to fail early, that's no longer the case...

    In conversation about 7 days ago from metalhead.club permalink
  18. Embed this notice
    marius (mariusor@metalhead.club)'s status on Monday, 04-May-2026 00:30:14 JST marius marius
    in reply to
    • Evan Prodromou

    @evan in GoActivityPub an invalid signature returns a token "Anonymous" Actor entity that can be verified for permissions against the ACLs of the resource being requested. And in the case of public objects the check succeeds.

    Perhaps I got lucky until now mostly relying on my own architecture for both clients and servers...

    In conversation about 7 days ago from gnusocial.jp permalink
  19. Embed this notice
    marius (mariusor@metalhead.club)'s status on Monday, 04-May-2026 00:30:13 JST marius marius
    in reply to
    • Evan Prodromou

    @evan in the end the Announce activities pushed by tags.pub have started appearing on the server where I had the issues. :D

    In conversation about 7 days ago from metalhead.club permalink
  20. Embed this notice
    marius (mariusor@metalhead.club)'s status on Sunday, 03-May-2026 03:15:55 JST marius marius
    in reply to
    • Evan Prodromou

    @evan yep, my client double knocks with RFC9421 and Draft HTTP signatures. Triple knocks actually in the case of key fetches, where the third time is tried w/o a signature.

    In conversation about 8 days ago from metalhead.club permalink
  • Before

User actions

    marius

    marius

    Mostly a programmer.Implementing #ActivityPub in the #Go programming language.Current projects: * #GoActivityPub - a library to use ActivityPub in Go. * #FedBOX - a generic ActivityPub service supporting the client to server API. * #brutalinks - a link aggregator inspired by (old) reddit, hacker news and lobste.rs built on top of FedBOX. * #oni - a single user ActivityPub server with minimal fuss.My posts are mostly related to ActivityPub and web development.

    Tags
    • (None)

    Following 0

      Followers 0

        Groups 0

          Statistics

          User ID
          7165
          Member since
          25 Aug 2022
          Notices
          226
          Daily average
          0

          Feeds

          • Atom
          • Help
          • About
          • FAQ
          • TOS
          • Privacy
          • Source
          • Version
          • Contact

          GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

          Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.