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

Biscuit v5 #217

Open
wants to merge 72 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
c62aeab
raise the minimum schema version to 5
Geal May 12, 2024
0a3de7e
Reject if (#199)
divarvel May 12, 2024
b898f99
update samples format
Geal May 22, 2024
b0b09d0
add support for the null type (#218)
Geal May 23, 2024
54a573a
null is the 30th sample, not the 31st
Geal May 23, 2024
e8a7969
use a consistent sample name
Geal May 23, 2024
e383455
Merge branch 'main' into v5
Geal May 24, 2024
66111e2
Merge branch 'main' into v5
Geal May 25, 2024
ed803c1
Add HeterogeneousEqual and HeterogeneousNotEqual to binary operation …
Tipnos May 26, 2024
5bcac29
Merge branch 'main' into v5
Geal May 26, 2024
3e3f071
Merge branch 'main' into v5
Geal May 26, 2024
525c278
Support for closures (#202)
divarvel Jun 8, 2024
22bd667
Merge branch 'main' into v5
Geal Jul 26, 2024
3e47561
Merge branch 'main' into v5
Geal Oct 20, 2024
5b5a3a0
fix version checks; introduce x.y versioning for datalog
divarvel Oct 21, 2024
0a1772f
fixup! fix version checks; introduce x.y versioning for datalog
divarvel Oct 21, 2024
f0e6b78
fixup! fix version checks; introduce x.y versioning for datalog
divarvel Oct 21, 2024
911ebe4
Merge pull request #231 from biscuit-auth/major-minor-datalog-versions
divarvel Oct 22, 2024
35edbd8
fix: recursively collect and apply parameters in closures
divarvel Oct 2, 2024
c2dd7a4
Merge pull request #229 from biscuit-auth/fix-param-substitution-in-c…
divarvel Oct 22, 2024
62fad83
fix: left over renaming after #231
divarvel Oct 22, 2024
5792345
Merge pull request #233 from biscuit-auth/rename-v5-detector
divarvel Oct 22, 2024
7c43662
feat: add `.type()` unary method
divarvel Dec 28, 2023
0cc0189
Merge pull request #201 from biscuit-auth/typeof
divarvel Oct 24, 2024
e59f41d
add new Array and Map types (#219)
Geal Nov 3, 2024
f099d38
fix macro test coverage (#236)
Geal Nov 3, 2024
070ea98
add samples for typeof on array / map
divarvel Nov 4, 2024
15931f2
Merge pull request #240 from biscuit-auth/typeof-array-map-sample
divarvel Nov 5, 2024
159a905
fix biscuit 3.1 and 3.2 samples
divarvel Nov 5, 2024
5a65099
cover lenient and strict notEquals for array and map
divarvel Nov 5, 2024
d90accd
increase coverage of lenient equals / not equals
divarvel Nov 5, 2024
63d4d8b
Merge pull request #241 from biscuit-auth/fix-v3.1-v3.2-samples
divarvel Nov 5, 2024
cce0630
fix heterogeneous testcase and rebuild samples
divarvel Nov 12, 2024
3930767
rename array/map sample
divarvel Nov 12, 2024
c7f53f7
Merge pull request #244 from biscuit-auth/fix-heterogeneous-equals-sa…
divarvel Nov 12, 2024
abf8564
Signature payload format v1 (#230)
Geal Nov 19, 2024
ce61191
signature v1 follow up (#245)
Geal Nov 19, 2024
ed7cb5b
Merge branch 'main' into geal/merge-main-in-v5
Geal Nov 19, 2024
796ba5d
Merge pull request #238 from biscuit-auth/geal/merge-main-in-v5
Geal Nov 19, 2024
3c5d77e
wip: datalog foreign function interface prototype
divarvel Oct 2, 2024
95726af
bump datalog version when external calls are used
divarvel Oct 22, 2024
a79175d
wip: allow closures in external funcs, use builder terms
divarvel Oct 22, 2024
2ef9900
add tests for various cases of function definitions
divarvel Oct 24, 2024
6c7cc80
ensure that FFI function names are only defined on FFI operations
divarvel Oct 25, 2024
0ed2482
Add sample for FFI calls
divarvel Nov 12, 2024
070bda0
intern FFI call names
divarvel Nov 13, 2024
a179587
ffi: store external functions in `World`
divarvel Nov 19, 2024
4556320
Merge pull request #228 from biscuit-auth/ffi
divarvel Nov 19, 2024
d956655
add support for ecdsa signatures (#108)
Geal Nov 20, 2024
329cf6c
force using signature v1 in more cases
divarvel Nov 20, 2024
bf80230
use strict equals in integer wraparound samples
divarvel Nov 20, 2024
fe3e74d
Merge pull request #246 from biscuit-auth/force-sig-v1
divarvel Nov 21, 2024
22fec4c
remove previous_key from ThirdPartyBlockRequest
divarvel Nov 21, 2024
6ad363f
display block version in samples
divarvel Nov 21, 2024
6ad6f12
Merge pull request #247 from biscuit-auth/remove-previous-key-from-3r…
divarvel Nov 25, 2024
eb2a7c4
errors: display more info about failed checks and policies
divarvel Oct 26, 2023
255abf2
Merge pull request #191 from biscuit-auth/better-display-for-logic-error
divarvel Nov 26, 2024
6d55705
refactor builder modules (#249)
Geal Nov 27, 2024
fc0d069
authorizer builder (#250)
Geal Nov 29, 2024
b852ee0
disambiguate empty sets from empty maps
divarvel Nov 29, 2024
a1cdb6b
bump runtime limits due to slow github actions workers
divarvel Nov 29, 2024
cd5d154
remove dead code, uncomment tests
divarvel Nov 29, 2024
0dab828
Merge pull request #253 from biscuit-auth/esl2
divarvel Nov 30, 2024
fc08d25
top-level export for builder types
divarvel Nov 30, 2024
3624478
crypto: make KeyPair::new() default on using ed25519
divarvel Nov 30, 2024
3bd7a7b
Merge pull request #254 from biscuit-auth/top-level-exports
divarvel Dec 1, 2024
ce6b866
impl Debug for Authorizer
divarvel Dec 3, 2024
0328663
Authorizer: don’t run the authorizer right after building it.
divarvel Dec 3, 2024
c8057ce
Merge pull request #255 from biscuit-auth/authorizer-debug
divarvel Dec 5, 2024
096c335
add roundtrip tests for snapshots
divarvel Dec 5, 2024
e50cddc
fix: populate `Authorizer.world` with facts and rules from snapshot
divarvel Dec 6, 2024
2c75eaf
Merge pull request #257 from biscuit-auth/authorizer-debug
divarvel Dec 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions biscuit-auth/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ prost-types = "0.10"
regex = { version = "1.5", default-features = false, features = ["std"] }
nom = { version = "7", default-features = false, features = ["std"] }
hex = "0.4"
zeroize = { version = "1", default-features = false }
zeroize = { version = "1.5", default-features = false }
thiserror = "1"
rand = { version = "0.8" }
wasm-bindgen = { version = "0.2", optional = true }
Expand All @@ -48,7 +48,11 @@ biscuit-quote = { version = "0.2.2", optional = true, path = "../biscuit-quote"
chrono = { version = "0.4.26", optional = true, default-features = false, features = [
"serde",
] }

serde_json = "1.0.117"
ecdsa = { version = "0.16.9", features = ["signing", "verifying", "pem", "alloc", "pkcs8", "serde"] }
p256 = "0.13.2"
pkcs8 = "0.9.0"
elliptic-curve = { version = "0.13.8", features = ["pkcs8"] }

[dev-dependencies]
bencher = "0.1.5"
Expand Down
Loading
Loading