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

Add group test vectors #23

Closed
wants to merge 1 commit into from
Closed

Add group test vectors #23

wants to merge 1 commit into from

Conversation

Powersource
Copy link

For ssbc/ssb-tribes#102

Also a readme to more easily tell where there are tests using the vectors

Copy link
Member

@mixmix mixmix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where did these vectors come from?
One critique is that the Envelope Spec is not ssb-specific. So these vectors are not really in keeping with this repo, in that they have things like author fields which have to be mapped into a BFE (binary field encoding), the details of which are described be another spec (the private-groups-spec)

I think that spec is the better location for these... oh wait... they're already in that repo...
https://github.com/ssbc/private-group-spec/blob/master/vectors/unbox1.json
oh ... but those vectors are "modern" URI and these are "classic" sigil based.

Yeah I think making unbox1.classic.json in there seems like a good idea

@mixmix mixmix closed this Oct 30, 2023
@mixmix mixmix deleted the group-test-vectors branch October 30, 2023 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants