-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[WIP] Biscuit 2.0 specification and samples #77
Conversation
- remove v0 compatibility - convert v1 to v2 - remove the index from blocks (now the cryptographisc design guarantees the order
035941d
to
f19bce4
Compare
the scoped execution model ensures that checks and rules only have access to facts added or generated in the current or previous blocks. They cannot be affected by facts from later blocks. Verifier rules, checks and policies are executed in the context of the authority block Since this change can prevent check from the authority block and the verifier from being affected by facts from later block, we can remove the #authority and #ambient symbols
symbols were a kind of strings with less available operations and some specific optimizations: they store in index into a symbol table carried by the token, to reduce size by avoiding repetitions. They were too confusing for users, and now that #authority and #ambient are gone, we can remove them completely. The symbol table was useful though, so now the symbol table is used for all predicate names and strings
it is enough to uniquely identify each block
They complicated the Datalog, and the #authority and #ambient symbols are not needed anymore with the scoped execution
Add sealed spec
this will open the way t other urves or algorithms, like P256
it does not change anything security wise, but it makes it more consistent with the rest
Clarify vocabulary
What about this V2 ? is it still "in progress" ? |
@fbredy it is mostly done. Currently we're working on the web components and the new website, and will publish that along with the 2.0. I'd like to see the java version done as well. Do you have plans to update the C# version to 2.0? |
implementations will be able to compare the returned errors
@Geal, i'll update the C# biscuit package, just after the merge of the java version. i've already started. |
ok, I'm merging this now, there's been enough time to explore it :) |
See #72