Commit Graph

  • 879c0ab03b Merge pull request #106 from ucan-wg/cont-type Michael Muré 2025-02-03 15:13:05 +01:00
  • fe14765c8d container: use the correct type in GetAllDelegations Michael Muré 2025-02-03 15:02:31 +01:00
  • 45dfd304be add Go Benchmark (go) benchmark result for 1b28cb49bf github-action-benchmark 2025-01-29 14:05:27 +00:00
  • 1b28cb49bf Merge pull request #105 from ucan-wg/containertest Michael Muré 2025-01-29 15:04:33 +01:00
  • e1fc838caf rename testvectors into containertest to match previous namings Michael Muré 2025-01-29 14:46:01 +01:00
  • 6d7fd7d6ba add Go Benchmark (go) benchmark result for f29b9e94fc github-action-benchmark 2025-01-29 13:38:46 +00:00
  • f29b9e94fc Merge pull request #104 from ucan-wg/bundle Michael Muré 2025-01-29 14:37:29 +01:00
  • 506ed21b94 token: ditch the generic bundle in favor of specialized struct Michael Muré 2025-01-29 14:28:13 +01:00
  • 35b7339bb8 add Go Benchmark (go) benchmark result for 126177b9e5 github-action-benchmark 2025-01-29 13:12:20 +00:00
  • 126177b9e5 Merge pull request #103 from ucan-wg/dlg-is Michael Muré 2025-01-29 14:11:29 +01:00
  • 2bddab8b0c delegation: add predicates to check if a delegation is a root or powerline Michael Muré 2025-01-29 14:07:49 +01:00
  • 004d286840 add Go Benchmark (go) benchmark result for 45ead12131 github-action-benchmark 2025-01-23 17:07:56 +00:00
  • a7c0a81666 add Go Benchmark (go) benchmark result for 9d5e170409 github-action-benchmark 2025-01-23 17:07:25 +00:00
  • 45ead12131 Merge pull request #102 from ucan-wg/cont-keep-sealed Michael Muré 2025-01-23 18:06:41 +01:00
  • 9d5e170409 Merge pull request #101 from ucan-wg/cont-testing Michael Muré 2025-01-23 18:06:27 +01:00
  • 9d047f038d container: Reader should keep around and expose the sealed bytes Michael Muré 2025-01-23 17:12:26 +01:00
  • 4c5afcb084 container: expose test vectors for easier testing Michael Muré 2025-01-23 17:10:34 +01:00
  • 7fe0ce3717 add Go Benchmark (go) benchmark result for e218b49577 github-action-benchmark 2025-01-23 11:39:22 +00:00
  • e218b49577 Merge pull request #100 from ucan-wg/pol-neq v1.0.0 Michael Muré 2025-01-23 12:38:17 +01:00
  • 4c81ac778e policy: fix tests now that selector evaluation is clearer Michael Muré 2025-01-23 12:21:42 +01:00
  • f0a590fdbc add Go Benchmark (go) benchmark result for 7ae65e7c8e github-action-benchmark 2025-01-22 16:31:59 +00:00
  • 7ae65e7c8e policy: fix some code style Michael Muré 2025-01-22 17:30:28 +01:00
  • 7f9cb6426c policy: implement the missing '!=' Michael Muré 2025-01-22 14:12:41 +01:00
  • 374d8824f5 add Go Benchmark (go) benchmark result for 9c141029c3 github-action-benchmark 2025-01-20 11:15:45 +00:00
  • 9c141029c3 container: better naming cont-naming Michael Muré 2025-01-20 12:14:45 +01:00
  • ef458d9faa add Go Benchmark (go) benchmark result for 0c6717cfbc github-action-benchmark 2025-01-13 12:55:02 +00:00
  • 0c6717cfbc Merge pull request #98 from ucan-wg/container-err Michael Muré 2025-01-13 13:54:06 +01:00
  • 6d7fd28324 container: clarify returned error Michael Muré 2025-01-13 13:25:57 +01:00
  • 6f8eced780 add Go Benchmark (go) benchmark result for ccc0120e78 github-action-benchmark 2025-01-13 12:45:09 +00:00
  • ccc0120e78 Merge pull request #99 from ucan-wg/persona-fix Michael Muré 2025-01-13 13:44:18 +01:00
  • bf27b97a57 didtest: offset persona constants Michael Muré 2025-01-13 13:30:03 +01:00
  • 8650cb07ca add Go Benchmark (go) benchmark result for 10dd4fa6d1 github-action-benchmark 2025-01-13 11:42:19 +00:00
  • 10dd4fa6d1 Merge pull request #97 from ucan-wg/ctn-writer-no-cid Michael Muré 2025-01-13 12:41:10 +01:00
  • 5695609f8b container: the writer should not ask for a CID, as its discarded Michael Muré 2025-01-13 12:24:04 +01:00
  • 54c54a9fe3 add Go Benchmark (go) benchmark result for b7ddead7c8 github-action-benchmark 2025-01-09 12:31:59 +00:00
  • b7ddead7c8 Merge pull request #96 from ucan-wg/container-spec Michael Muré 2025-01-09 13:30:48 +01:00
  • 9cbec37685 container: no extra keys in the packaging allowed Michael Muré 2025-01-08 21:14:30 +01:00
  • 00dbd975b1 container: add test vectors Michael Muré 2025-01-08 18:59:30 +01:00
  • c792a4cce5 container: typo and clarity in the spec Michael Muré 2025-01-08 18:55:08 +01:00
  • 8f3f1c775e container: implement header based serialization, also add SPEC test vectors Michael Muré 2025-01-08 17:31:04 +01:00
  • 704ed25768 container: add a specification Michael Muré 2025-01-07 18:16:27 +01:00
  • fb97653529 WIP proof-check Michael Muré 2025-01-06 14:24:56 +01:00
  • 1721ab8a86 add Go Benchmark (go) benchmark result for 95bdbc4fc5 github-action-benchmark 2024-12-12 15:37:09 +00:00
  • 95bdbc4fc5 Merge pull request #95 from ucan-wg/minor-impro Michael Muré 2024-12-12 16:36:17 +01:00
  • 416345dba9 args,meta: add a Len() Michael Muré 2024-12-12 16:06:01 +01:00
  • 042d6dc52f didtest: complete the set of function, finish removing the dependency on testing.T Michael Muré 2024-12-12 16:05:13 +01:00
  • 8bb3a4f4d0 expose secretbox, notably for the GenerateKey() function that should be public Michael Muré 2024-12-12 16:04:31 +01:00
  • 55130761e7 add Go Benchmark (go) benchmark result for 47156a8ad6 github-action-benchmark 2024-12-11 15:13:42 +00:00
  • 47156a8ad6 Merge pull request #94 from ucan-wg/base64-string v1.0.0-preview Michael Muré 2024-12-11 16:12:48 +01:00
  • ce6d163627 container: I/O as strings for base64 Michael Muré 2024-12-11 16:05:16 +01:00
  • 1c1c826035 add Go Benchmark (go) benchmark result for c3c2c96008 github-action-benchmark 2024-12-10 12:28:06 +00:00
  • c3c2c96008 Merge pull request #93 from ucan-wg/proof-rephrase Michael Muré 2024-12-10 13:27:12 +01:00
  • 903632695f test(delegation): calculate newCID from new.dagjson so tests are not brittle Steve Moyer 2024-12-10 07:14:36 -05:00
  • f2d75b7815 test(delegation): fix newCID after new.dagjson update (brittle) Steve Moyer 2024-12-10 07:03:06 -05:00
  • 4f09829abe feat(delegationtest): update generator to changed delegation.New constructor Steve Moyer 2024-12-10 06:53:01 -05:00
  • 5660df32b5 delegation,invocation: proper String() function Michael Muré 2024-12-10 12:20:18 +01:00
  • 2f2a74c7ec delegation: fix following constructor updates Michael Muré 2024-12-10 12:19:47 +01:00
  • 0592717637 (WIP) refine the token constructors: - for invocation, reorder the parameters for a more "natural language" mental model - for delegation, make "subject" a required parameter to avoid make powerline by mistake - for delegation, implement powerline Michael Muré 2024-12-09 20:39:47 +01:00
  • 80c2d60ab3 invocation: rephrase slightly the proof rules to be less confusing down the line Michael Muré 2024-12-09 18:35:49 +01:00
  • 52af2fb2bb add Go Benchmark (go) benchmark result for c518c6657a github-action-benchmark 2024-12-05 14:37:19 +00:00
  • c518c6657a Merge pull request #92 from ucan-wg/generator-cleanup Michael Muré 2024-12-05 15:36:23 +01:00
  • 78825f4f55 delegationtest: run go fmt, less noisy code Michael Muré 2024-12-05 15:30:23 +01:00
  • cabf5fd112 add Go Benchmark (go) benchmark result for 7f1adbd945 github-action-benchmark 2024-12-04 19:10:41 +00:00
  • 7f1adbd945 Merge pull request #91 from ucan-wg/fix-everything Michael Muré 2024-12-04 20:09:28 +01:00
  • 0f59088d0b test: improvement on the generator, small fixes Michael Muré 2024-12-04 19:55:29 +01:00
  • 72e0f353e7 delegation: add a Bundle to carry around decoded, sealed and Cid Michael Muré 2024-12-04 19:54:46 +01:00
  • d0d4ec3abe delegation,invocation: meta can be nil in the model, but not in the view Michael Muré 2024-12-04 19:53:05 +01:00
  • e2bbbd4eb9 add Go Benchmark (go) benchmark result for bb24081b28 github-action-benchmark 2024-12-03 10:44:28 +00:00
  • bb24081b28 Merge pull request #90 from ucan-wg/fix/extended-field-names Michael Muré 2024-12-03 11:43:38 +01:00
  • 3688ccea01 fieldRegex to be more restrictive and consistent Fabio Bozzo 2024-12-02 19:18:01 +01:00
  • e9105896d7 Merge branch 'main' into fix/extended-field-names Fabio Bozzo 2024-12-02 19:05:19 +01:00
  • 15751c7362 regex to be more restrictive and consistent Fabio Bozzo 2024-12-02 18:30:41 +01:00
  • 0dcec787cd add Go Benchmark (go) benchmark result for d52218fa5a github-action-benchmark 2024-12-02 16:35:18 +00:00
  • d52218fa5a Merge pull request #88 from ucan-wg/feat/secretbox-meta-encryption Michael Muré 2024-12-02 17:34:29 +01:00
  • 64d3024dec remove aes comparison and add ciphertext overhead comments Fabio Bozzo 2024-12-02 17:31:19 +01:00
  • c39ad92e7b add Go Benchmark (go) benchmark result for 78d37d92ef github-action-benchmark 2024-12-02 13:42:05 +00:00
  • 78d37d92ef Merge pull request #89 from ucan-wg/fix/prevent-int-overflow Michael Muré 2024-12-02 14:41:12 +01:00
  • da806b1bc5 remove TODO comment Fabio Bozzo 2024-12-02 14:32:15 +01:00
  • 311b942a6d validate invocation token args Fabio Bozzo 2024-12-02 14:22:42 +01:00
  • 56eab758ed move args int validation to their creation Fabio Bozzo 2024-12-02 12:24:06 +01:00
  • 105323b989 moved unit test Fabio Bozzo 2024-12-02 12:13:56 +01:00
  • 5b816ccc62 streamline int overflow check for token timestamps Fabio Bozzo 2024-12-02 12:06:06 +01:00
  • 28272e6900 move int validation to where a error can be returned Fabio Bozzo 2024-12-02 11:59:16 +01:00
  • a854389e32 validate token timestamps integer limits Fabio Bozzo 2024-12-02 11:37:03 +01:00
  • 117a75e2c4 cleanup comments Fabio Bozzo 2024-11-29 19:36:00 +01:00
  • a25bfbaf45 fix: extended field names Fabio Bozzo 2024-11-29 19:32:31 +01:00
  • bff482f73b add constants.go Fabio Bozzo 2024-11-29 13:04:14 +01:00
  • ff79bbb443 go fmt Fabio Bozzo 2024-11-29 13:03:48 +01:00
  • 3997a86184 fix: prevent overflow of int values Fabio Bozzo 2024-11-29 13:00:00 +01:00
  • 200d6a8ae2 benchmarks vs aes-gcm Fabio Bozzo 2024-11-28 17:17:10 +01:00
  • 0349e7e463 feat(meta): secretbox encryption in place of aes-gcm Fabio Bozzo 2024-11-28 16:16:04 +01:00
  • 2f6cf2d0d7 add Go Benchmark (go) benchmark result for dff52f80c4 github-action-benchmark 2024-11-28 11:07:44 +00:00
  • dff52f80c4 Merge pull request #87 from ucan-wg/chore-eliminate-jen-dependency Steve Moyer 2024-11-28 06:06:39 -05:00
  • 5b7a63a2c6 style(delegationtest/generator): adopt suggestions from PR Steve Moyer 2024-11-28 05:37:05 -05:00
  • 66675f7030 build: tidy Go module files Steve Moyer 2024-11-27 15:06:32 -05:00
  • 7e54be49e1 chore(delegationtest): eliminate dependency on dave/jennifer/jen package Steve Moyer 2024-11-27 15:01:06 -05:00
  • 810d0827c6 add Go Benchmark (go) benchmark result for 15535d3474 github-action-benchmark 2024-11-27 19:56:53 +00:00
  • 15535d3474 Merge pull request #86 from ucan-wg/test/invocation-verifies-args-vs-pols Steve Moyer 2024-11-27 14:56:05 -05:00
  • 170e597e71 feat(args): export fluent builder Steve Moyer 2024-11-27 12:05:00 -05:00
  • ce1a4b6e32 test(invocation): verify arguments versus aggregated policies Steve Moyer 2024-11-27 10:20:40 -05:00