-
Notifications
You must be signed in to change notification settings - Fork 14
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
Permanence of streams #211
Comments
Action item recorded on 9/24:
|
+1 on Yair's comments. It can be expensive for a transmitter to continue to transmit indefinitely to defunct receivers. It is potentially insecure to allow streams to exist indefinitely. An optional "time remaining" or "expiration timedate" property on a Stream Configuration communicates a finite lifecycle to the Receiver. The property could be updated by the Transmitter after successful verification event, or via PATCH request from receiver. |
I'd like to propose that this be added to v1Final instead of vFuture. Reasoning Permanent access to data (security events) for PUSH receivers is a potential security hole. We can contrast this with something like Oauth grants that are limited in both scope and duration. The duration limit is missing, once the stream is opened by a PUSH Rx, the Tx is expected to continue sending events until the stream gets paused or deleted. This also leads to asymmetry in the PUSH and PULL flows, where the PULL Rx is re-authed every time it pulls events, while the PUSH Rx may not communicate again for many years after creating the stream. It would be great to have a way in the spec for Tx that are going to auto-expire streams (currently strongly preferred for the Google Tx implementation) to communicate this fact. I'll send out a PR shortly. Cost Estimate vs ID3 Most Tx/Rx pairs will be ID3 backwards compatible. Some Tx will optionally communicate a stream expiry duration, in which case the Rx will periodically perform a stream operation or request a verification event to refresh the expiry. |
I've added this to the agenda of the meeting on Nov 19, 2024. |
Thanks Atul! After thinking about this more, a similar concept will be useful for PULL streams too - except expiring the stream it's for expiring the events themselves, so that the Tx doesn't have to keep them for too long. (more an optimization instead of a security use-case) |
FYI SSF spec discourages exp claim |
Copying discussion from meeting on 9/24:
The text was updated successfully, but these errors were encountered: