b23a6de775
refactor(delegation): migrate from github.com/ucan-wg to code.sonr.org/go
2026-01-08 15:45:53 -05: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é
2bddab8b0c
delegation: add predicates to check if a delegation is a root or powerline
2025-01-29 14:07:49 +01:00
Michael Muré
5660df32b5
delegation,invocation: proper String() function
2024-12-10 12:20:18 +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é
d0d4ec3abe
delegation,invocation: meta can be nil in the model, but not in the view
2024-12-04 19:53:05 +01:00
Fabio Bozzo
5b816ccc62
streamline int overflow check for token timestamps
2024-12-02 12:06:06 +01:00
Fabio Bozzo
a854389e32
validate token timestamps integer limits
2024-12-02 11:37:03 +01:00
Michael Muré
d90715d1fe
delegation: WIP harmonisation of the constructors, issuer verification
2024-11-20 15:59:13 +01:00
Michael Muré
e980d6c0b9
various sanding everywhere towards building the tookit
2024-11-20 12:34:24 +01:00
Steve Moyer
fc4c8f2de1
fix: issues discovered by invocation validation tests
2024-11-13 12:40:25 -05:00
Michael Muré
89e4d5d419
wip API exploration
2024-11-13 12:43:29 +01:00
Michael Muré
633b3d210a
token: move nonce generation to a shared space
2024-11-12 10:38:25 +01:00
Michael Muré
7d4f973171
invocation: round of cleanups/fixes
2024-11-06 12:16:48 -05:00
Michael Muré
c9f3a6033a
delegation: minor fix around meta
2024-11-06 16:43:57 +01:00
Michael Muré
6aeb6a8b70
meta: make a read-only version to enforce token immutability
2024-11-06 15:17:35 +01:00
Steve Moyer
e1d771333c
fix(delegation): meta is optional
2024-10-24 13:43:52 -04:00
Michael Muré
d9739a3bab
token: don't store the CID in the token, symmetric API for sealed
2024-10-02 13:40:29 +02:00
Michael Muré
bb4725d87c
rename tokens to token
2024-10-01 17:02:49 +02:00