-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarification about "bcc/bto" in server -> server communication needed #326
Comments
the specification is talking about delivery to end-users, meaning that side effects of the |
I see a problem with BCC in S2S situations and public posts. You could create a note to the public audience and in parallel you deliver it via BCC to someone. Since on signed activities you must not change any element, you wouldn't be able to dereference it upon relaying or when displaying it in the outbox. |
well, the relevance of LDS signatures are really debatable, hince litepub |
LDS is the present, Litepub is possibly the future, but currently not even documented. We have to respect the present. |
You could generate a separate |
bcc is a signal from the client to the server, and is not part of the object sent out. It's pretty clear. There isn't really any "delivery" event from the server to the client. |
I guess that the best way is to possibly generate the "bcc/bto" internally, but upon delivery to the other server, we remove these fields. And we deliver the object in theses cases to the personal inbox and not the shared one. In this case the receiving server should know that the post was meant for this user. Does this sound okay? |
That sounds very similar to what go-fed does. |
Question is if this behaviour could be written down somewhere, as some "best practices". |
As AP doesn't even have minor and major inboxes, I don't understand what the difference between |
https://www.w3.org/TR/activitystreams-vocabulary/#audienceTargeting Or rather, left out, I guess. |
I'm not sure about the difference of "bto" and "bcc" as well. Both should be removed upon the delivery to the personal inbox. |
I assumed it would be used by the sending application to be able to render the But yes no effect for the recipient server. |
I think @annando has it correct. However, as with most things on the Internet, you can't really count on your correspondent server to always do the right thing. I would say, that if We have a page on addressing here: https://www.w3.org/wiki/ActivityPub/Primer/Addressing I will add some more information about when bto/bcc should be stripped versus hidden. Ideally, these should still be available to the actor or creator when fetching via GET, or in collections, but should not be visible to others. And shouldn't be send. @trwnh notes that this has implications for shared inbox delivery; in particular, because the remote server has to figure out delivery based on the addressing properties, |
Updated the primer with best practices for managing these properties: https://www.w3.org/wiki/ActivityPub/Primer/Addressing#Delivery_to_private_recipients |
This is an older ticket, and we resolved with a primer page. I'm going to close it for now, and if there's a reason to we can re-open if it's not resolved. |
The specification says:
And:
So this tells me, that in a S2S situation there can never be a "bto/bcc", am I right? This can be read out of the specification but hadn't been explicitly told. I'm creating the issue since there had been different opinions about this between the different implementers.
The text was updated successfully, but these errors were encountered: