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
Michael Muré
0e5ae7ae0d
policy: move into /capability
2024-08-30 22:49:54 +02:00
Michael Muré
8ddcce3c58
Add 'capability/command/' from commit 'f37a43ac38af8c3710fee4e6a923070f6af4f74c'
...
git-subtree-dir: capability/command
git-subtree-mainline: c2cc0ca0a4
git-subtree-split: f37a43ac38
2024-08-30 22:36:49 +02:00
Michael Muré
c2cc0ca0a4
delegation: first import with rough IPLD round-trip
2024-08-30 22:06:59 +02:00
Steve Moyer
f37a43ac38
feat(command): adds code/test to parse Command strings
...
This is probably overkill but most of the code is needed to validate the command
string. My thought was that this could then be used in the delegation and
invocation structs to provide a stronger type. The Command struct itself is
a bit more convenient with segments represented by []string but this might
need to be changed to simply string to simplify IPLD encoding/decoding
2024-08-30 08:21:24 -04:00
Michael Muré
3fcd6740a4
Add 'did/' from commit 'bd9f680456fff2515614e9d7ed11e5423478b8d5'
...
git-subtree-dir: did
git-subtree-mainline: 10d6c3d45d
git-subtree-split: bd9f680456
2024-08-30 01:46:04 +02:00
Michael Muré
10d6c3d45d
Add 'delegation/policy/' from commit '9997e95b385f0618cee68baec1fb3ca41fb296fe'
...
git-subtree-dir: delegation/policy
git-subtree-mainline: c676c2bdf6
git-subtree-split: 9997e95b38
2024-08-30 01:39:53 +02:00
Michael Muré
c676c2bdf6
init
2024-08-30 01:35:27 +02:00
Steve Moyer
9997e95b38
test(selector): add tests for "Supported Forms"
2024-08-23 14:32:29 -04:00
Alan Shaw
37712da66f
refactor: reorg tests
2024-08-21 08:48:39 +02:00
Alan Shaw
6106054ed6
feat: quantification
2024-08-21 08:44:17 +02:00
Alan Shaw
e30a776aaa
feat: wildcard
2024-08-21 08:13:44 +02:00
Alan Shaw
ce8008b650
chore: tidy regexps
2024-08-20 22:34:25 +02:00
Alan Shaw
e7bbe02143
feat: simplify
2024-08-20 22:27:56 +02:00
Alan Shaw
e871b98cba
feat: better selector
2024-08-20 15:55:04 +02:00
Alan Shaw
a9f59a5081
feat: add policy implementation
2024-08-19 23:16:36 +02:00
Alan Shaw
bd9f680456
fix: many fixes
2023-12-01 17:32:34 +00:00
Alan Shaw
59ac949322
feat: sign and verify
2023-09-22 22:53:47 +01:00
Alan Shaw
78838e4518
feat: support for non did:key
2023-09-19 22:52:23 +01:00
Alan Shaw
23c2b1f459
first commit
2023-09-13 22:32:07 +01:00