4c1ae3a0be
refactor(pkg): Migrate package imports to use new code.sonr.org/go/ucan module path
2026-01-08 15:46:00 -05:00
1f69e9c2c4
refactor(meta): update import paths to use new code.sonr.org/go-ucan package
2026-01-08 15:45:59 -05:00
499f83fd6f
refactor(container): migrate to new ucan and did-it package paths
2026-01-08 15:45:52 -05:00
869e449383
test(command): update command_test imports to use code.sonr.org/go/ucan
2026-01-08 15:45:50 -05:00
33841ea261
refactor(args): update import paths to use new repository location
2026-01-08 15:45:48 -05:00
Alan Shaw
e93e464977
fix: sort tokens
2025-12-03 12:19:27 +00:00
Michael Muré
70f039a654
update Readme
2025-10-29 15:48:15 +01:00
Michael Muré
0647e4ff8a
adjust the toolkit to the new location
2025-08-07 14:28:16 +02:00
Michael Muré
33e8a8a821
Integrate go-varsig and go-did-it
...
- go-varsig provides a varsig V1 implementation
- go-did-it provides a complete and extensible DID implementation
2025-07-31 15:00:31 +02:00
Michael Muré
e91afe29d8
Update SPEC.md
...
Signed-off-by: Michael Muré <batolettre@gmail.com >
2025-03-11 17:32:17 +01:00
Michael Muré
a82bce556f
Merge pull request #108 from ucan-wg/cont-test
...
container: add a helper for test only
2025-02-27 15:00:47 +01:00
Michael Muré
68469db91a
minor cleanups
2025-02-27 14:35:53 +01:00
Michael Muré
6d3846ac62
container: add a helper for test only
2025-02-27 14:27:02 +01:00
Steve Moyer
9589cc8b44
feat(tinygo): make 53-bit limits portable across platforms
2025-02-21 11:03:33 -05:00
Michael Muré
fe14765c8d
container: use the correct type in GetAllDelegations
2025-02-03 15:02:31 +01:00
Michael Muré
e1fc838caf
rename testvectors into containertest to match previous namings
2025-01-29 14:46:01 +01:00
Michael Muré
506ed21b94
token: ditch the generic bundle in favor of specialized struct
...
It's kust cleaner that way, the generic has no upside.
2025-01-29 14:28:13 +01:00
Michael Muré
45ead12131
Merge pull request #102 from ucan-wg/cont-keep-sealed
...
container: Reader should keep around and expose the sealed bytes
2025-01-23 18:06:41 +01:00
Michael Muré
9d047f038d
container: Reader should keep around and expose the sealed bytes
2025-01-23 17:13:10 +01:00
Michael Muré
4c5afcb084
container: expose test vectors for easier testing
2025-01-23 17:10:34 +01:00
Michael Muré
e218b49577
Merge pull request #100 from ucan-wg/pol-neq
...
policy: implement the missing '!='
2025-01-23 12:38:17 +01:00
Michael Muré
4c81ac778e
policy: fix tests now that selector evaluation is clearer
...
https://github.com/ucan-wg/delegation/pull/15
https://github.com/ucan-wg/delegation/pull/16
2025-01-23 12:28:02 +01:00
Michael Muré
7ae65e7c8e
policy: fix some code style
2025-01-22 17:30:28 +01:00
Michael Muré
7f9cb6426c
policy: implement the missing '!='
...
https://github.com/ucan-wg/delegation/pull/15
2025-01-22 14:12:41 +01:00
Michael Muré
9c141029c3
container: better naming
2025-01-20 12:14:45 +01:00
Michael Muré
6d7fd28324
container: clarify returned error
2025-01-13 13:50:05 +01:00
Michael Muré
5695609f8b
container: the writer should not ask for a CID, as its discarded
2025-01-13 12:24:04 +01:00
Michael Muré
9cbec37685
container: no extra keys in the packaging allowed
2025-01-08 21:14:30 +01:00
Michael Muré
00dbd975b1
container: add test vectors
2025-01-08 18:59:30 +01:00
Michael Muré
c792a4cce5
container: typo and clarity in the spec
2025-01-08 18:55:08 +01:00
Michael Muré
8f3f1c775e
container: implement header based serialization, also add SPEC test vectors
2025-01-08 17:31:04 +01:00
Michael Muré
704ed25768
container: add a specification
2025-01-07 18:16:27 +01:00
Michael Muré
416345dba9
args,meta: add a Len()
2024-12-12 16:06:01 +01:00
Michael Muré
8bb3a4f4d0
expose secretbox, notably for the GenerateKey() function that should be public
2024-12-12 16:04:31 +01:00
Michael Muré
ce6d163627
container: I/O as strings for base64
2024-12-11 16:05:16 +01:00
Michael Muré
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
2024-12-09 20:39:47 +01:00
Michael Muré
0f59088d0b
test: improvement on the generator, small fixes
2024-12-04 19:55:29 +01:00
Fabio Bozzo
3688ccea01
fieldRegex to be more restrictive and consistent
2024-12-02 19:18:01 +01:00
Fabio Bozzo
e9105896d7
Merge branch 'main' into fix/extended-field-names
...
# Conflicts:
# pkg/policy/selector/parsing_test.go
2024-12-02 19:05:19 +01:00
Fabio Bozzo
15751c7362
regex to be more restrictive and consistent
2024-12-02 18:30:41 +01:00
Michael Muré
d52218fa5a
Merge pull request #88 from ucan-wg/feat/secretbox-meta-encryption
...
feat(meta): secretbox encryption in place of aes-gcm
2024-12-02 17:34:29 +01:00
Fabio Bozzo
64d3024dec
remove aes comparison and add ciphertext overhead comments
2024-12-02 17:31:19 +01:00
Fabio Bozzo
da806b1bc5
remove TODO comment
2024-12-02 14:32:15 +01:00
Fabio Bozzo
311b942a6d
validate invocation token args
2024-12-02 14:22:42 +01:00
Fabio Bozzo
56eab758ed
move args int validation to their creation
2024-12-02 12:24:06 +01:00
Fabio Bozzo
28272e6900
move int validation to where a error can be returned
2024-12-02 11:59:16 +01:00
Fabio Bozzo
117a75e2c4
cleanup comments
2024-11-29 19:36:00 +01:00
Fabio Bozzo
a25bfbaf45
fix: extended field names
2024-11-29 19:32:31 +01:00
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