-
Notifications
You must be signed in to change notification settings - Fork 3
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
DIP-287 DSNP Content URI specificity #287
Comments
I'm in favor of 4. DSNP content should be unambiguous regarding context; ie, if context is important, then it should contribute to the content hash. 3 seems less desirable because to reconstruct the content URI from the content then would require additional information. Regarding the note:
The timestamp field mitigates this, somewhat. Beyond that, it should be up to the provider to provide for some level of de-bouncing, if that is desirable. |
Community Call discussion:
|
Is this because the hash doesn't have a timestamp or nonce in it? UPDATE: @wesbiggs pointed out to me that the timestmap IS in the preimage of the hash that goes in the content URI. So the rest of this may be misleading. Sorry. In this case my feedback is that it's a little tricky from reading the spec quickly to determine what is the preimage of the hash that becomes the content uri. Wes says it contains the timestamp (but not the inReplyTo value), but I didn't grok that from https://spec.dsnp.org/DSNP/Identifiers.html#dsnp-content-uri
(If I'm understanding right) #4 above seems like a good idea. add inReplyTo and ideally also a timestamp to the hash that goes in contentUri. |
Here is the inReplyTo property in AS2: https://www.w3.org/TR/activitystreams-vocabulary/#dfn-inreplyto |
Summarizing discussion points into a proposal:
|
A DSNP Content URI is formed by using the creator's DSNP User Id and the content hash of the referenced content.
However, it provides no context as to where (or when) the content appears.
Because DSNP specifies that Activity Content Notes contain a timestamp (the
published
field) with second-level precision (xsd:dateTime type), it is unlikely that two Notes from the same user, even if they contain the samecontent
, will generate the same hash.Problem Scenarios
Misattribution
However, a malicious user or poorly implemented application could certainly create this scenario:
Does D's "Me too" get included in the "I like Nazis" thread? An outside observer can't tell.
Over-tombstoning
Consider a similar case where the same content is posted twice in two different contexts within the same
published
second.If C wants to delete the reply to B, but not the reply to A, he has no ability to do so.
Options
published
field to millisecondsA note on 3 (and possibly 4) -- what happens if a user replies to a specific item with the same text, over and over again? Should this be allowed, or should it be de-duped?
The text was updated successfully, but these errors were encountered: