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

Other functions than create should also return subfeed keys #54

Open
Powersource opened this issue Feb 6, 2023 · 1 comment
Open

Other functions than create should also return subfeed keys #54

Powersource opened this issue Feb 6, 2023 · 1 comment
Labels
could Nice to have in production

Comments

@Powersource
Copy link
Collaborator

create currently returns this (copied from readme)

  • cb Function - callback function of signature (err, group) where group is an object containing:
    • id CloakedId - a cipherlink that's safe to use publicly to name the group, and is used in recps to trigger encrypting messages to that group, encoded as an ssb-uri
    • subfeed Keys - the keys of the subfeed you should publish group data to
    • secret Buffer - the symmetric key used by the group for encryption
    • root MessagedId - the MessageId of the group/init message of the group, encoded as an ssb-uri.

Functions like group claim that they return the same format

  • cb Function - callback function of signature (err, group) where group is an object on the same format as the group object returned by #create

but they don't currently return subfeed. It's not stored in box2/keyring.

@Powersource Powersource added the could Nice to have in production label Feb 6, 2023
@Powersource
Copy link
Collaborator Author

This gets messier now that we have epochs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
could Nice to have in production
Projects
None yet
Development

No branches or pull requests

1 participant