Irakli Gozalishvili
Irakli Gozalishvili
This is the code that currently assesses whether delegation issued by did:mailto is valid https://github.com/web3-storage/ucanto/blob/43ea497ca2200f9e1e15dbbdd033ec24895edb7d/packages/validator/src/lib.js#L544-L560 I think we could extend that function to also check this claim ```js const attestation...
I did some exploration by implementing `toIPLDSchema` method to a `Schema` interface https://github.com/web3-storage/ucanto/blob/582c4c504d2e75feee2c5d298ea08b2f01ff1c5e/packages/validator/src/schema/type.ts#L15-L31 However I run into a problem, because IPLD schemas do not support inline structs or unions which...
Created an issue to lift the inline types restriction https://github.com/ipld/ipld/issues/262
> wrt murmur. if there are no other options than it, I'd say [if its good enough for UnixFS, it's good enough for this](https://github.com/multiformats/multicodec/blob/master/table.csv#L24)? UnixFS hashes only directly entry names....
> I think this is done via #259 . @Gozala wdyt? Almost unlike proposal #259 does not allow you to select via match, so I'll keep this open until it's...
@alanshaw this has came up in the past with @hugomrdias and my answer was, we can't have `fromJSON` because: 1. It's unclear what JSON representation of DAG would look like...
> Am I correct with creating a Principal like this, the code seems to work: Yeah that seems reasonable! We do not have a function to do exactly what you're...
> @Gozala at what point do you have in mind enforcing this? do you want to throw if trying to create a delegation with too-narrow of time bounds? Or should...
I do however dislike the fact that `context` type needs to be annotated however. Although maybe it is the best we can get 🤷♂️
Just thinking out loud here 1. If we want stateless UCAN verification, state must be captured inside a UCAN itself. 2. We can capture `did:mailto -> did:key` state inside the...