Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delegation proof error: "ENAMETOOLONG: name too long, open" #94

Open
alexjorgef opened this issue Aug 1, 2024 · 0 comments
Open

Delegation proof error: "ENAMETOOLONG: name too long, open" #94

alexjorgef opened this issue Aug 1, 2024 · 0 comments

Comments

@alexjorgef
Copy link

alexjorgef commented Aug 1, 2024

When creating a delegation proof for use (https://github.com/alexjorgef/website/blob/main/.github/workflows/build.yml#L187-L194) only a specific pattern of capabilities works. The proof seems to be too long and GitHub returns the following error:

> Run web3-storage/add-to-web3@v3
> Run npm install -g @web3-storage/w3cli

added 365 packages in 9s

93 packages are looking for funding
  run `npm fund` for details
> Run w3 space add ***
Error: failed to read proof: ENAMETOOLONG: name too long, open '***'
Error: Process completed with exit code 1.

An example of the correct command or a documentation section about this issue would be cool to have. I think I use the following capabilities on action and works: w3 delegation create did:key:<THE_KEY> -c 'upload/add' -c 'space/*' --base64

Does any other combination result in ENAMETOOLONG error?

<command...> -c 'upload/add' -c 'space/*'
<command...> -c 'store/add' -c 'upload/*' -c 'space/*'
<command...> -c 'store/add' -c 'upload/add' -c 'space/*/add'
<command...> -c 'store/add' -c 'upload/add' -c 'space/blob/add' -c 'space/index/add'
<command...> -c 'store/add' -c 'space/blob/add' -c 'space/index/add'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant