Skip to content
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

Stream reference integrity check functionality #21

Open
m0ar opened this issue Nov 29, 2023 · 0 comments
Open

Stream reference integrity check functionality #21

m0ar opened this issue Nov 29, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@m0ar
Copy link
Collaborator

m0ar commented Nov 29, 2023

For a given node, it's per the protocol spec invalid to update outgoing stream references. This is planned to being mitigated at the Ceramic level, but right now we prevent the update from being made with the API types.

To validate that a node hasn't been tampered with, we need a function that takes a streamID, iterates through the versions, and validates that stream references have not been updated.

@m0ar m0ar added the enhancement New feature or request label Nov 29, 2023
@m0ar m0ar self-assigned this Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant