Michael Muré
042d6dc52f
didtest: complete the set of function, finish removing the dependency on testing.T
2024-12-12 16:05:13 +01:00
Michael Muré
5660df32b5
delegation,invocation: proper String() function
2024-12-10 12:20:18 +01:00
Michael Muré
0f59088d0b
test: improvement on the generator, small fixes
2024-12-04 19:55:29 +01:00
Michael Muré
820057e41e
container: streamed and non-streamed IO, documentation
2024-11-21 15:49:29 +01:00
Michael Muré
aea1880386
tests: lots of small asjustement
2024-11-20 14:55:48 +01:00
Steve Moyer
1098e76cba
test(invocation): add command.Covers and subject consistency tests
...
Also improve the maintainability of the tests by a) providing a set of fixed Personas
and then generating a slew of valid delegation tokens, invalid delegation tokens
and proof-chains thereof.
2024-11-19 14:35:46 -05:00
Steve Moyer
fc4c8f2de1
fix: issues discovered by invocation validation tests
2024-11-13 12:40:25 -05:00
Steve Moyer
89f648a94e
docs(did): re-fix typo RE coercion of secp256k1 public keys
2024-10-24 13:44:32 -04:00
Steve Moyer
ccc85d4697
docs(did): correct typos
2024-10-24 10:59:27 -04:00
Steve Moyer
0d63e90b67
docs(did): add comment explaining why some ECDSA public keys are "coerced" to Secp256k1 public keys
2024-10-24 10:54:43 -04:00
Michael Muré
2c58fedfd5
did: last cleanups
2024-10-24 12:51:21 +02:00
Michael Muré
2ffdf004ac
test(did): split the test vector reading code in a separate file/package
...
tests are much cleaner and explicit now
2024-10-24 12:03:23 +02:00
Steve Moyer
87e25090bb
test(did): verifies that ECDSA keys with the secp256k1 curve are "coerced" into crypto.Secp256k1 keys
2024-10-21 15:29:51 -04:00
Steve Moyer
6011f0740a
fix(did): finish the GenerateECDSAWithCurve function
2024-10-21 11:03:43 -04:00
Steve Moyer
2bd177ce4d
fix(did): correct function names for key/DID generators
2024-10-21 10:59:27 -04:00
Steve Moyer
abda49061d
test(did): add test vectors from did:key specification
2024-10-17 15:19:49 -04:00
Steve Moyer
fb978ee574
feat(did): strengthen DID crypto
2024-10-17 15:18:31 -04:00
Steve Moyer
da1310b78a
feat(did): strengthens crypto for public key handliing
2024-10-17 07:42:40 -04:00
Michael Muré
f8b5fa3a32
did: simplify public API, add missing required algorithm
2024-10-15 12:20:35 +02:00
Michael Muré
952a6bb922
did: add a MustParse function
2024-09-25 15:46:01 +02:00
Steve Moyer
84122e57bc
fix(did): correct UCAN package name
2024-09-17 11:18:50 -04:00
Steve Moyer
53cb82a2b4
feat(did): add accessor to report whether this DID is a did:key
2024-09-17 11:12:37 -04:00
Steve Moyer
64936fd061
feat(did): add ToPubKey() and improve crypto tests
2024-09-17 11:12:36 -04:00
Steve Moyer
30be95b20c
feat(did): add to/from public key
2024-09-17 11:12:35 -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