-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve biscuit signature cookbook interface
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.
- Loading branch information
Showing
3 changed files
with
69 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters