Steve Moyer
|
f85ece49fa
|
feat(delegation): add validation/accessors
|
2024-09-16 17:18:16 -04:00 |
|
Steve Moyer
|
da9f2e7bec
|
chore(ucan): clean up repository root directory
|
2024-09-16 14:02:01 -04:00 |
|
Steve Moyer
|
bd1775b2f5
|
Merge branch 'envelope' of github.com:ucan-wg/go-ucan into envelope
|
2024-09-16 13:55:23 -04:00 |
|
Steve Moyer
|
285cb5f6e7
|
feat(did): add accessor to report whether this DID is a did:key
|
2024-09-16 13:54:18 -04:00 |
|
Steve Moyer
|
4c05d866f2
|
fix(delegation): simplify package API and restore convenient encoding
|
2024-09-16 13:50:11 -04:00 |
|
Michael Muré
|
646127abe7
|
policy formatting
|
2024-09-16 11:07:57 +02:00 |
|
Steve Moyer
|
7cead1bf8d
|
chore(envelope): refactor to decode token.Token to schema.TypedNode
|
2024-09-13 12:01:51 -04:00 |
|
Steve Moyer
|
16f0f38b43
|
feat(token): add generator for Go types included in schema
|
2024-09-11 09:39:32 -04:00 |
|
Steve Moyer
|
2f183aa6f4
|
docs(token): move schema comment to Go doc for package
|
2024-09-11 09:38:13 -04:00 |
|
Steve Moyer
|
6d1b7ee01f
|
feat(envelope): no longer generic - handles only token.Token
|
2024-09-11 09:07:24 -04:00 |
|
Steve Moyer
|
599c5d30b0
|
feat(token) combined TokenPayload model for both Delegation and Invocation tokens
|
2024-09-11 08:50:24 -04:00 |
|
Steve Moyer
|
1c2f602f4d
|
feat(did): add ToPubKey() and improve crypto tests
|
2024-09-11 07:12:54 -04:00 |
|
Steve Moyer
|
8441f99d5d
|
fix(delegation): redelete view.go
|
2024-09-09 09:44:35 -04:00 |
|
Steve Moyer
|
1525aaa139
|
chore: fix module imports
|
2024-09-09 09:27:04 -04:00 |
|
Steve Moyer
|
ab4018d218
|
chore(v1): merge in other changes
|
2024-09-09 09:09:17 -04:00 |
|
Steve Moyer
|
39987eadaa
|
feat(varsig): not specification compliant precalculated headers'
|
2024-09-09 08:56:33 -04:00 |
|
Steve Moyer
|
b77f8d6bb0
|
feat(ucan): functions to issue/delegate UCAN tokens
|
2024-09-09 08:55:14 -04:00 |
|
Steve Moyer
|
719837e3cd
|
feat(envelope): wrap a Tokener in an Envelope
|
2024-09-09 08:52:57 -04:00 |
|
Steve Moyer
|
2205d5d4ce
|
feat(did): add to/from public key
|
2024-09-09 08:50:15 -04:00 |
|
Steve Moyer
|
3a542ecc85
|
feat(delegation): use bindnode with typed prototype
|
2024-09-09 08:49:35 -04:00 |
|
Michael Muré
|
6a17270545
|
fix import paths
|
2024-09-05 18:49:01 +02:00 |
|
Michael Muré
|
941e6366a3
|
fix go module path
|
2024-09-05 18:43:23 +02:00 |
|
Michael Muré
|
8bf7fa173c
|
command: simplify errors
|
2024-09-05 16:25:22 +02:00 |
|
Michael Muré
|
f731f56dd2
|
policy: more tests and fixes
|
2024-09-04 19:08:21 +02:00 |
|
Michael Muré
|
d042b5cdfd
|
policy: fix "all" and "any" to apply a single statement on a collection
Matching the spec
|
2024-09-04 15:58:08 +02:00 |
|
Steve Moyer
|
d51bbc303c
|
Merge pull request #17 from ucan-wg/varsig
feat(varsig): adds statically generated Varsig headers
|
2024-09-04 09:04:13 -04:00 |
|
Steve Moyer
|
dfb09cadb9
|
chore(varsig): change header type for envelope compatibility
|
2024-09-04 09:03:03 -04:00 |
|
Steve Moyer
|
ba1c45c088
|
chore(envelope): add codec/crypto dependencies
|
2024-09-04 08:55:32 -04:00 |
|
Steve Moyer
|
707ec46338
|
feat(varsig): adds statically generated Varsig headers
The package currently supports the four kinds of asymmetric key pairs supported
by the go-libp2p/core/crypto library.
|
2024-09-03 15:40:55 -04:00 |
|
Michael Muré
|
4dd91f95f7
|
selector: workaround panic() go-ipld-prime with negative index
Waiting on https://github.com/ipld/go-ipld-prime/pull/571 to be released.
|
2024-09-02 18:08:49 +02:00 |
|
Michael Muré
|
3e40c1f16b
|
Merge pull request #16 from ucan-wg/policy-serial
policy: IPLD encode/decode
|
2024-09-02 02:34:55 +02:00 |
|
Michael Muré
|
2038925476
|
delegation: complete view setup
|
2024-09-02 02:34:00 +02:00 |
|
Michael Muré
|
cfd16fb0d2
|
delegation: working IPLD round-trip
|
2024-09-02 02:26:48 +02:00 |
|
Michael Muré
|
ab2f074b22
|
policy: working IPLD round-trip
|
2024-09-02 02:25:34 +02:00 |
|
Michael Muré
|
20efcebab0
|
policy: remove superfluous interfaces
Those interfaces were only used inside the package, where private concrete work just as well.
|
2024-09-02 02:24:13 +02:00 |
|
Michael Muré
|
8c09024003
|
policy: IPLD encode/decode
Still WIP
|
2024-09-01 20:27:54 +02:00 |
|
Michael Muré
|
4d0a0a2bcc
|
selector: use a string builder to avoid excessive allocation
|
2024-09-01 17:22:21 +02:00 |
|
Michael Muré
|
431a9f008a
|
policy: split out the parsing for readability
|
2024-09-01 17:20:09 +02:00 |
|
Michael Muré
|
bd7ff3dc3f
|
selector: support negative index on lists
|
2024-09-01 17:08:49 +02:00 |
|
Michael Muré
|
53af455709
|
selector: don't panic on empty input for Parse()
|
2024-09-01 17:08:18 +02:00 |
|
Michael Muré
|
735ad45977
|
selector: add fuzzing
|
2024-09-01 17:07:45 +02:00 |
|
Michael Muré
|
9286cce884
|
capability: normal go formatting for enums
|
2024-09-01 17:06:21 +02:00 |
|
Michael Muré
|
49d3e5ad10
|
selector: reformat the "supported forms" test in a way that can be run individually
For example with "-test.run ^\QTestSupportedForms\E$/^\QPass:_Identity\E$"
|
2024-09-01 17:04:23 +02:00 |
|
Michael Muré
|
f1ce38dfd1
|
policy: add additional test vector from the spec
|
2024-08-31 15:49:02 +02:00 |
|
Michael Muré
|
b0c96b25dc
|
selector: simplify the public interface of the package
Those extra interfaces are not necessary.
|
2024-08-31 15:48:24 +02:00 |
|
Michael Muré
|
5b26d85c37
|
policy: remove 5 dependencies
|
2024-08-30 23:12:32 +02:00 |
|
Michael Muré
|
4b24eef195
|
make the go module a v1
|
2024-08-30 23:11:51 +02:00 |
|
Michael Muré
|
7ab73a8317
|
add GHA workflow to run go tests
|
2024-08-30 22:57:09 +02:00 |
|
Michael Muré
|
5cebf307c3
|
add license
|
2024-08-30 22:51:20 +02:00 |
|
Michael Muré
|
69d2e0a530
|
command: small fixes
|
2024-08-30 22:50:23 +02:00 |
|