Replies: 1 comment
-
These are all the delegations I just claimed:[ { "iss": "did:mailto:dag.house:bengo", "aud": "did:key:z6Mki2fuXwakaDB4QJGhA4c2AoYJTZN2cmNw2zELwehsG7t7", "v": "0.9.1", "s": { "/": { "bytes": "gKADAA" } }, "exp": null, "att": [ { "can": "store/*", "with": "ucan:*" }, { "can": "provider/add", "with": "ucan:*" } ], "prf": [ { "iss": "did:key:z6Mkjy2rS6b2HRFFTaYkGqn8fpF52E8W8CkZpUp2qh85J8fK", "aud": "did:mailto:dag.house:bengo", "v": "0.9.1", "s": { "/": { "bytes": "7aEDQDsN6DVmpcLnA5+z29B9Gb/5+u3sj4rYZxMDHn65JcQjv5js6qCLvApLWtbZ8sYMRuoyVeDf7GQswrI1bvGwrAQ" } }, "exp": 1678231538, "att": [ { "can": "store/add", "with": "did:key:z6Mkjy2rS6b2HRFFTaYkGqn8fpF52E8W8CkZpUp2qh85J8fK" }, { "can": "store/list", "with": "did:key:z6Mkjy2rS6b2HRFFTaYkGqn8fpF52E8W8CkZpUp2qh85J8fK" } ], "prf": [], "/": "bafyreiagm64gvcbidzfq5s3cxxshw7zmgi72ilqmctbtasiague2cdeak4" }, { "iss": "did:key:z6MkqHN6Aj911z9fJSgvqcvBh2nntPKBvNZS45NUxkkeLkFR", "aud": "did:mailto:dag.house:bengo", "v": "0.9.1", "s": { "/": { "bytes": "7aEDQGmdZQXtGv67rGvMwsilDe9rhsoDRYZ7ZkDcHvP+sMImhWHUN3RIqTFIIG3J6vfRRFnNCTprHCMw1cF07TVdSQg" } }, "exp": 1678232078, "att": [ { "can": "store/add", "with": "did:key:z6MkqHN6Aj911z9fJSgvqcvBh2nntPKBvNZS45NUxkkeLkFR" }, { "can": "store/list", "with": "did:key:z6MkqHN6Aj911z9fJSgvqcvBh2nntPKBvNZS45NUxkkeLkFR" } ], "prf": [], "/": "bafyreicljt4mw7ly5kk2fsc2p27sitjurlqx5il7ntiun475mnyucg7mni" }, { "iss": "did:key:z6MkqHN6Aj911z9fJSgvqcvBh2nntPKBvNZS45NUxkkeLkFR", "aud": "did:mailto:dag.house:bengo", "v": "0.9.1", "s": { "/": { "bytes": "7aEDQNdpPwqE8Gw2AiTiC306NAsUWIQAR5h1P7zW33UttK07o9ENYiTyF67LfDXpsP3BF7Cv/p7XLRHEvGzwYE/3TgU" } }, "exp": 1678233402, "att": [ { "can": "store/add", "with": "did:key:z6MkqHN6Aj911z9fJSgvqcvBh2nntPKBvNZS45NUxkkeLkFR" }, { "can": "store/list", "with": "did:key:z6MkqHN6Aj911z9fJSgvqcvBh2nntPKBvNZS45NUxkkeLkFR" } ], "prf": [], "/": "bafyreib7vflesmnadircqq5latl2wppmiqbedj6tm7sgpj54af3uy2a3zq" }, { "iss": "did:key:z6Mkqv8QbGnjsg7ute4QitH5ZWyjxYAV9fugjJ7m4pR23p5H", "aud": "did:mailto:dag.house:bengo", "v": "0.9.1", "s": { "/": { "bytes": "7aEDQKGtfryrnIZ0xd+0i775bQN2kX/1aC4YMF2hcGh1Wlh+DM8Vrp2HoKhzYTapvgcUFwPN35/PS9ZJZczu9xe+oQw" } }, "exp": 1678233464, "att": [ { "can": "store/add", "with": "did:key:z6Mkqv8QbGnjsg7ute4QitH5ZWyjxYAV9fugjJ7m4pR23p5H" }, { "can": "store/list", "with": "did:key:z6Mkqv8QbGnjsg7ute4QitH5ZWyjxYAV9fugjJ7m4pR23p5H" } ], "prf": [], "/": "bafyreiajhldnp4xafq7zbdemsmfrlh52e7ongvv6jbp7ereis3squzxgtm" }, { "iss": "did:key:z6MkihhL59AfFhq5QTPRGckoZU8cHDFTJnku7M6c5D7X11Q7", "aud": "did:mailto:dag.house:bengo", "v": "0.9.1", "s": { "/": { "bytes": "7aEDQA4KuJZFcaVBUkVxk/wQKmOC7fJFIAc7z/hEI5rA0WOxPS8pZL462/7hCSqlJt7wjWtRDdTGjE1fSAlDKQSw2QE" } }, "exp": 1678233649, "att": [ { "can": "store/add", "with": "did:key:z6MkihhL59AfFhq5QTPRGckoZU8cHDFTJnku7M6c5D7X11Q7" }, { "can": "store/list", "with": "did:key:z6MkihhL59AfFhq5QTPRGckoZU8cHDFTJnku7M6c5D7X11Q7" } ], "prf": [], "/": "bafyreigudhpchbv23dis6topmj56o5x7sl7tc2k3pm4gt4hg3y5eewusb4" }, { "iss": "did:key:z6Mkhnd9kKb9KXgbL2oYEaQR25q5wi9ybeBP1fijy1DnEmcv", "aud": "did:mailto:dag.house:bengo", "v": "0.9.1", "s": { "/": { "bytes": "7aEDQKwkUe/XOe8tDxGA6CwZLUE4uV+ZP44pVHAaPXT8iuvEO2rVT1brtx6c39vZBXPhX6u54voUT1aJe3a51z9GAQ4" } }, "exp": 1678233809, "att": [ { "can": "store/add", "with": "did:key:z6Mkhnd9kKb9KXgbL2oYEaQR25q5wi9ybeBP1fijy1DnEmcv" }, { "can": "store/list", "with": "did:key:z6Mkhnd9kKb9KXgbL2oYEaQR25q5wi9ybeBP1fijy1DnEmcv" } ], "prf": [], "/": "bafyreiemwxr4tzftgoisimewctumgexjvi7q6hqvbp7oio4qvccx2k77n4" }, { "iss": "did:key:z6MkvgtAym8XChZSMdqPNbmvoLWojCfr6D5B4CYHqLWS8hde", "aud": "did:mailto:dag.house:bengo", "v": "0.9.1", "s": { "/": { "bytes": "7aEDQHo1ACtbFucekIfi6sm95r4Igm6o6uPi58mwvivc4dmjkJf/XFEbYngv/3n8tenpfHtu9xAsRPqeaPTY0w+OCAE" } }, "exp": 1678233929, "att": [ { "can": "store/add", "with": "did:key:z6MkvgtAym8XChZSMdqPNbmvoLWojCfr6D5B4CYHqLWS8hde" }, { "can": "store/list", "with": "did:key:z6MkvgtAym8XChZSMdqPNbmvoLWojCfr6D5B4CYHqLWS8hde" } ], "prf": [], "/": "bafyreie34al2yyo7uossi2yimsdrfmrnlptc7wmcfubxxsdi4y24zz2tkm" }, { "iss": "did:key:z6Mkfj1ugDjsPK2aToVvj2RrBzPKxfbEiPiAFEFJ8Yiyjkpc", "aud": "did:mailto:dag.house:bengo", "v": "0.9.1", "s": { "/": { "bytes": "7aEDQNnvjCYC65BImauWr0uKFhCIi6fpAt4lao0FqoUktr9vSTqZ5EtzQAyOwA0x2yVxjdPQODAVIubzop1/ihaUtgY" } }, "exp": 1678234776, "att": [ { "can": "store/add", "with": "did:key:z6Mkfj1ugDjsPK2aToVvj2RrBzPKxfbEiPiAFEFJ8Yiyjkpc" }, { "can": "store/list", "with": "did:key:z6Mkfj1ugDjsPK2aToVvj2RrBzPKxfbEiPiAFEFJ8Yiyjkpc" } ], "prf": [], "/": "bafyreie62qfnzjmak7rsjxp7y5cw6r5w4cavokxzxvsvrcoifc54w3kmnm" }, { "iss": "did:key:z6Mkt7TD32AxRym9S8nZz8SmfrvcR3sUX8D5mcTCnMibi76v", "aud": "did:mailto:dag.house:bengo", "v": "0.9.1", "s": { "/": { "bytes": "7aEDQDXKPRC/vp2DYcTiZtUdXIJSA+VwX2PxDegf3QsD1iDJmzgIkhu1Nks5F8XDSvGY2gOZGHSZPrNJRV3Pxo3quww" } }, "exp": 1678234982, "att": [ { "can": "store/add", "with": "did:key:z6Mkt7TD32AxRym9S8nZz8SmfrvcR3sUX8D5mcTCnMibi76v" }, { "can": "store/list", "with": "did:key:z6Mkt7TD32AxRym9S8nZz8SmfrvcR3sUX8D5mcTCnMibi76v" } ], "prf": [], "/": "bafyreicrepg3lhc4lpard5tv6bqdwoncfpxet4gbna3oauikcixbzceudu" } ], "/": "bafyreic2nf3lqhiqhrrgwggbtbc4rjqhovplpfintjowujtdw6utqfz2me" }, { "iss": "did:web:staging.web3.storage", "aud": "did:key:z6Mki2fuXwakaDB4QJGhA4c2AoYJTZN2cmNw2zELwehsG7t7", "v": "0.9.1", "s": { "/": { "bytes": "7aEDQOAcsXZ9yAnzx7wnUnlofXgbFbLmOHE6cOvevm7E18lB4xjyrL6V0nOyKmbSZRxhSL7mxnxAy7769LH3fSbZggk" } }, "exp": null, "att": [ { "can": "ucan/attest", "nb": { "proof": { "/": "bafyreic2nf3lqhiqhrrgwggbtbc4rjqhovplpfintjowujtdw6utqfz2me" } }, "with": "did:web:staging.web3.storage" } ], "prf": [], "/": "bafyreifubk24jrixim5m4n36ltg7br6457ihbhqa7ms4myrczyv34upcyy" } ] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been testing the authorization flow the last couple days on staging.
I claim a lot of delegations from
access/claim
(we'll need paging/filtering but thats another issue entirely).Here my concern is that, especially while testing, and many of our dev users will, it's very easy to create a bunch of delegations with no expiration at all. I think we should:
access/delegate
access/claim
that dont have an expiryaccess/claim
toaccess/claim
delegations that have no expiryRationale:
store/add
.Beta Was this translation helpful? Give feedback.
All reactions