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 signed biscuit cookbook #28

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Conversation

daeMOn63
Copy link
Contributor

provide a cookbook/signedbiscuit package, exposing helpers to Generate / Sign / Verify biscuits, that are usable out of the box by external parties. This avoid the facts and query creation complexity, and ease the consistency between the biscuit and verifier definition.

@daeMOn63 daeMOn63 changed the base branch from master to search_block_index November 5, 2020 10:38
Base automatically changed from search_block_index to master November 12, 2020 08:23
@daeMOn63 daeMOn63 force-pushed the cookbook_signed_biscuit branch 4 times, most recently from c5d1a18 to c8b6b62 Compare November 25, 2020 15:50
Signature cookbook now exposes more generic endpoints, allowing
to integrate more easily in real use cases context.
The endpoints now works on biscuit.Builder or biscuit.Verifier
instead of raw biscuits, so the signature flow can be chained with
others

Verifier now exposes a SHA256Sum proxy to the biscuit one to avoid
an extra biscuit parameter requirement on signature verifcation.

Verifier PrintWorld now run the world on call to ease debugging.
This ensure rules have generated their facts before printing.
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.

1 participant