-
Notifications
You must be signed in to change notification settings - Fork 0
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
flexy definition of group recp #97
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if we drop this recps validation (on line 87) entirely? It doesn't seem like it belongs to this module. recps
and encryptionFormat
are just passed along down to ssb-db2 which then passes recps
to ssb-box2, and it's ssb-box2's responsibility to validate recps.
It feels out of place that we're doing box2 recps validation in this module which should just be about the metafeed tree. Perhaps we could add this validation to ssb-tribes2 once that one uses ssb-meta-feeds.
It would be useful to allow box1 encryption here too. I'm not sure there is consensus that ssb-box1 should be hard deprecated.
@staltz this is a good point. I should have left a note in the code (and now have). UNDER-specified => locked down Recap from #89 |
Opened an issue ssbc/ssb-meta-feeds-migration-spec#4 |
Mmm, sorry Mix, I still don't understand why this logic would belong in this module.
Suppose you're using graph LR;
ssb-foo-bar -- recps --> ssb-meta-feeds -- recps --> ssb-box2 -- recps --> ssb-keyring
My point is that validation should happen in
What does this mean? |
For the sake of getting things done, I pushed commit d894b1e to master which removes validation of recps. This PR was last commented on 16 days ago, and we have to move a lot faster than that, so I just made a decision. We can keep discussing this idea and it's possible to revert the decision in the future if we want. |
hit a problem, needed this