-
Notifications
You must be signed in to change notification settings - Fork 25
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
Confused over version numbering #156
Comments
You are right, this is confusing. This has bothered me for some time, so i think we should do something about that. To answer your question: trust the spec and the code, current version is |
Thanks, @divarvel So given the existence of biscuit-auth/biscuit-go#117, does that mean that the Go library currently only supports v2 biscuits, which means I can't use bitwise operators on biscuits because that is only possible on v4 biscuits? |
Indeed, biscuit-go does not support v4 blocks for now: https://github.com/biscuit-auth/biscuit-go/blob/main/samples/samples_test.go#L144 all the samples containing v4 features are disabled in the test suite. Adding support for bitwise operators and check all would be rather easy. The huge part is third-party blocks support. |
I'm not sure how I feel about releasing a version with partial support (I really don't know, it could perfectly well be okay). |
So which repos implement the latest spec with all features? Agreed that third-party block support in the go library would be really fantastic ;) |
|
https://doc.biscuitsec.org/reference/specifications says:
but https://www.biscuitsec.org/blog/biscuit-3-0/ says "Biscuit v3" adds "support for bitwise operators"
So which is it? V3 or V4 ... or is it v3 of the biscuit and v4 of the specifiction ... in which case how do I tell them apart and how do I know what the Go version supports???
The text was updated successfully, but these errors were encountered: