web3-storage / w3up-cli

💻 Command line tools for web3.storage w3up IPFS upload API
Other
15 stars 2 forks source link

UCAN delegation upload listing final step error #125

Closed JeffLowe closed 2 years ago

JeffLowe commented 2 years ago

Description While @yusefnapora was writing up the delegation walkthrough based on Alan's hackmd here, he hit a bug at the final step of listing the uploads from the main account using the delegation. The second profile has imported the delegation and switched to the account, but when I run w3up list --profile second, I get a message saying You have not setup an email, please run w3up register first.

To Reproduce follow the hack md steps to replicate When I run w3up list --profile second after switching to the delegated main account, I should see the upload listing for the main account.

I would expect to still see the email registration message if the "self" account for the second profile is selected though.

Expected behavior I assumed that the agent for the second profile could access the main account, even though it's not registered.