Orie Steele

Results 1091 comments of Orie Steele

this is how the method works currently... it has advantages, IMO its not worth changing.

@oed makes string comparisons for keys possible. I could live with making the `id` the JWK thumbprint... but I expect folks would object to that...

@oed https://datatracker.ietf.org/doc/html/rfc7638 TLDR ... not safe to just compare the first few character of a string in order to implement a binary quality check.

@oed not if you use relative ref ids... ``` { "@context": [ "https://www.w3.org/ns/did/v1", "https://w3id.org/security/suites/jws-2020/v1" ], "id": "did:key:z6Mkff5wEYRgDuuPzg4u5FYhvCzGHQDGGCHL8C9YNaEs2nwF", "verificationMethod": [ { "id": "#z6Mk...", "type": "JsonWebKey2020", "controller": "did:key:z6Mkff5wEYRgDuuPzg4u5FYhvCzGHQDGGCHL8C9YNaEs2nwF", "publicKeyJwk": { "kty": "OKP",...

FWIW I feel the same way as you do about this... But i think these are the only options: ``` 1. use the full multiform for the fragment value `z6Mkff5wEYRgDuuPzg4u5FYhvCzGHQDGGCHL8C9YNaEs2nwF`...

@oed Thanks for the header, you are proposing: ```json { "alg": "EdDSA", "cap": "ipfs://bafyreicrjfqxxchdapxad2j67te3ltlgcuo3nyuwax6j2izxmbiffqawdi", "kid": "did:key:z6MkvQizLyzkqTRyXB7bf67P7vVAYu61UzKNZDnyK6HaF5ju#z6MkvQizLyzkqTRyXB7bf67P7vVAYu61UzKNZDnyK6HaF5ju" } ``` be changed to: ```json { "alg": "EdDSA", "cap": "ipfs://bafyreicrjfqxxchdapxad2j67te3ltlgcuo3nyuwax6j2izxmbiffqawdi", "kid": "did:key:z6MkvQizLyzkqTRyXB7bf67P7vVAYu61UzKNZDnyK6HaF5ju#0" }...

I believe base64url encoding is legal, but nobody is using it or bothered to provide test vectors for it.

other encodings are supported, but a PR to the spec might make this clearer.

here is a fresher link: https://did.key.transmute.industries/generate/bls12381?seed=16bad412388e5029420aba50594c79c126533f3d77e51e465d82707447a6d169 ^ thats a private key for testing purposes... Last i checked with @tplooker BLS12381 does not support ECDH or any form of key agreement,...

Imo, it is too much complexity for the specification, unless we do the same to all the other key representations.... It might be better to just point to a good...