Fabio Bozzo
bff482f73b
add constants.go
2024-11-29 13:04:14 +01:00
Fabio Bozzo
ff79bbb443
go fmt
2024-11-29 13:03:48 +01:00
Fabio Bozzo
3997a86184
fix: prevent overflow of int values
2024-11-29 13:00:00 +01:00
Fabio Bozzo
200d6a8ae2
benchmarks vs aes-gcm
2024-11-28 17:17:10 +01:00
Fabio Bozzo
0349e7e463
feat(meta): secretbox encryption in place of aes-gcm
2024-11-28 16:16:04 +01:00
Steve Moyer
dff52f80c4
Merge pull request #87 from ucan-wg/chore-eliminate-jen-dependency
...
chore(delegationtest): eliminate dependency on dave/jennifer/jen package
2024-11-28 06:06:39 -05:00
Steve Moyer
5b7a63a2c6
style(delegationtest/generator): adopt suggestions from PR
2024-11-28 05:37:05 -05:00
Steve Moyer
66675f7030
build: tidy Go module files
2024-11-27 15:06:32 -05:00
Steve Moyer
7e54be49e1
chore(delegationtest): eliminate dependency on dave/jennifer/jen package
...
Resolves #68
2024-11-27 15:01:16 -05:00
Steve Moyer
15535d3474
Merge pull request #86 from ucan-wg/test/invocation-verifies-args-vs-pols
...
test(invocation): verify arguments versus aggregated policies
2024-11-27 14:56:05 -05:00
Steve Moyer
170e597e71
feat(args): export fluent builder
2024-11-27 12:05:00 -05:00
Steve Moyer
ce1a4b6e32
test(invocation): verify arguments versus aggregated policies
2024-11-27 10:20:40 -05:00
Michael Muré
d1d047cd9e
Merge pull request #85 from ucan-wg/container-accessor
...
container: add a way to check for a single invocation, also iterator
2024-11-27 16:13:29 +01:00
Michael Muré
3680637090
container: add a way to check for a single invocation, also iterator
2024-11-27 16:13:15 +01:00
Michael Muré
1166a68e5c
Merge pull request #84 from ucan-wg/args-minor
...
args: add simple value accessor
2024-11-27 12:26:19 +01:00
Michael Muré
ba4db9bce8
args: add simple value accessor
2024-11-27 12:23:10 +01:00
Michael Muré
20369dba49
Merge pull request #83 from ucan-wg/feat/invocation-witharguments
...
feat(invocation): add WithArguments Option to set all arguments at once
2024-11-27 10:10:19 +01:00
Steve Moyer
ade2c7f858
feat(invocation): add WithArguments Option to set all arguments at once
2024-11-26 14:39:10 -05:00
Michael Muré
943a318b26
Merge commit '60bdc8873b3d259ff297be4873a9623fcebb7f75'
2024-11-26 11:44:27 +01:00
Michael Muré
2d79cdc54e
Merge pull request #82 from ucan-wg/cont-io
...
container: streamed and non-streamed IO, documentation
2024-11-26 11:37:46 +01:00
Steve Moyer
60bdc8873b
feat(delegation): make Token constructors resemble invocation.New() signature
2024-11-25 15:12:29 -05:00
Michael Muré
820057e41e
container: streamed and non-streamed IO, documentation
2024-11-21 15:49:29 +01:00
Michael Muré
ba0038b0ae
Merge pull request #79 from ucan-wg/meta-args
...
meta,args: add missing Include, add iterator to use normal or Readonly the same way
2024-11-21 11:27:37 +01:00
Michael Muré
4a4b200312
Merge pull request #81 from ucan-wg/fix/66/allow-dash-in-policy-segment
...
fix(selector): allow dashes in selector names
2024-11-21 11:27:14 +01:00
Michael Muré
caae2f58bf
meta,args: add missing Include, add iterator to use normal or Readonly the same way
2024-11-21 11:25:15 +01:00
Steve Moyer
ec627138cb
fix(selector): allow dashes in selector names
...
This functionality will be further enhanced in #80 .
Resolves #66
2024-11-20 12:37:29 -05:00
Michael Muré
4ec409edc6
Merge pull request #74 from ucan-wg/ci
...
ci: fix after merging to main
2024-11-20 16:11:07 +01:00
Michael Muré
c61fc8d8b3
ci: fix after merging to main
2024-11-20 16:07:49 +01:00
Michael Muré
d90715d1fe
delegation: WIP harmonisation of the constructors, issuer verification
2024-11-20 15:59:13 +01:00
Michael Muré
5f8536e480
Merge pull request #60 from ucan-wg/wip
...
feat(invocation): add token validation prior to execution
2024-11-20 15:48:43 +01:00
Michael Muré
c19e38356d
delegationtest: make the generator a main()
2024-11-20 15:35:33 +01:00
Michael Muré
aea1880386
tests: lots of small asjustement
2024-11-20 14:55:48 +01:00
Michael Muré
2fb5a3dc01
Merge pull request #65 from ucan-wg/minor_improv
...
various sanding everywhere towards building the tookit
2024-11-20 13:44:26 +01:00
Michael Muré
e980d6c0b9
various sanding everywhere towards building the tookit
2024-11-20 12:34:24 +01:00
Steve Moyer
1098e76cba
test(invocation): add command.Covers and subject consistency tests
...
Also improve the maintainability of the tests by a) providing a set of fixed Personas
and then generating a slew of valid delegation tokens, invalid delegation tokens
and proof-chains thereof.
2024-11-19 14:35:46 -05:00
Michael Muré
bb36d61d93
invocation: rework the validation doc, fix missing invocation time check
2024-11-14 16:45:54 +01:00
Michael Muré
417ef78570
fix(invocation): cleanup proof verification algo
2024-11-14 15:03:49 +01:00
Steve Moyer
00d2380f14
fix(invocation): change verifyProof to chain the Issuer field
2024-11-14 07:21:27 -05:00
Michael Muré
8ca088bf27
Merge pull request #61 from ucan-wg/v1-token-container-versioning
...
feat(container): versioning
2024-11-14 12:40:07 +01:00
Fabio Bozzo
25ca34923f
feat(container): versioning for the CBOR container
2024-11-14 12:38:26 +01:00
Steve Moyer
fc4c8f2de1
fix: issues discovered by invocation validation tests
2024-11-13 12:40:25 -05:00
Michael Muré
64b989452f
invocation: split out the delegation chain control
2024-11-13 16:58:48 +01:00
Michael Muré
92065ca0d3
invocation: fix proof documentation
2024-11-13 14:50:59 +01:00
Michael Muré
814cec1495
wip API exploration
2024-11-13 12:47:42 +01:00
Steve Moyer
0f70557309
feat(invocation): validate delegation proof chain
2024-11-13 12:43:30 +01:00
Michael Muré
89e4d5d419
wip API exploration
2024-11-13 12:43:29 +01:00
Michael Muré
9057cbcba6
Merge pull request #59 from ucan-wg/command-covers
...
command: add Covers() for attenuation test, fix incorrect Segments()
2024-11-13 12:38:24 +01:00
Michael Muré
98d9cadcbd
command: fast-path for Covers()
2024-11-12 19:01:02 +01:00
Michael Muré
e938d64220
command: add Covers() for attenuation test, fix incorrect Segments()
2024-11-12 18:42:59 +01:00
Michael Muré
c577d73f3e
improve readme
2024-11-12 18:15:45 +01:00