ec4cc024d4
refactor(invocation): migrate from MetaMask/go-did-it to code.sonr.org/go/did-it
2026-01-08 15:45:57 -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
Steve Moyer
3faf9d598c
fix(invocation): also update docs and examples
2025-03-11 13:14:53 -04:00
Steve Moyer
d7472621ce
Update token/invocation/invocation.go
...
Co-authored-by: Michael Muré <batolettre@gmail.com >
Signed-off-by: Steve Moyer <smoyer64@gmail.com >
2025-03-11 12:56:34 -04:00
Steve Moyer
7b44f480ee
fix(invocation): iat incorrectly named InvokedAt instead of IssuedAt
2025-03-11 12:41:24 -04:00
Michael Muré
68469db91a
minor cleanups
2025-02-27 14:35:53 +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
311b942a6d
validate invocation token args
2024-12-02 14:22:42 +01:00
Fabio Bozzo
5b816ccc62
streamline int overflow check for token timestamps
2024-12-02 12:06:06 +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
Michael Muré
e980d6c0b9
various sanding everywhere towards building the tookit
2024-11-20 12:34:24 +01:00
Michael Muré
bb36d61d93
invocation: rework the validation doc, fix missing invocation time check
2024-11-14 16:45:54 +01: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
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é
633b3d210a
token: move nonce generation to a shared space
2024-11-12 10:38:25 +01:00
Steve Moyer
1fa2b5e6fc
feat(invocation): use dedicated type for invocation.Token.Arguments
2024-11-07 13:50:20 -05:00
Michael Muré
bcdaf0cca3
invocation: round of cleanups/fixes
2024-11-06 12:55:45 -05:00
Steve Moyer
d89fb395e3
feat(invocation): ipld unseal to invocation
2024-11-06 12:48:41 -05:00
Steve Moyer
4932e32052
feat(invocation): produce example output similar to spec
2024-11-06 12:44:48 -05:00
Steve Moyer
a52b48cf47
feat(invocation): provide New constructor and encoding to wire-format
2024-11-06 12:41:36 -05:00
Michael Muré
7d4f973171
invocation: round of cleanups/fixes
2024-11-06 12:16:48 -05:00
Steve Moyer
3dc0011628
docs(invocation): edit (and finish) Go docs for exported types
2024-11-06 12:16:47 -05:00
Steve Moyer
187e7a869c
feat(invocation): ipld unseal to invocation
2024-11-06 12:16:44 -05:00
Steve Moyer
a98653b769
feat(invocation): produce example output similar to spec
2024-11-06 12:16:43 -05:00
Steve Moyer
31d16ac468
feat(invocation): provide New constructor and encoding to wire-format
2024-11-06 12:16:42 -05:00
Michael Muré
6aeb6a8b70
meta: make a read-only version to enforce token immutability
2024-11-06 15:17:35 +01:00
Michael Muré
030db7ec0d
invocation: fix comment
2024-10-15 15:41:14 +02: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é
a7037dbc47
token: add invocation partial stub
2024-10-02 10:53:30 +02:00