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

hub cli's apiSecret flag not working (cannot decode multibase for zero length string) #538

Open
tennox opened this issue Mar 20, 2021 · 1 comment

Comments

@tennox
Copy link

tennox commented Mar 20, 2021

I get an error about missing/empty secret, regardless of the content or presence of the --apiSecret flag.

$ hub --apiKey bufrrhhnudr5g56vcracbezmryi --apiSecret be3XXXncngi buck init -n test
Encrypt bucket contents: y
Error! Invalid secret: cannot decode multibase for zero length string

Seems to work fine when using env variable:
HUB_API_SECRET=<secret> hub --apiKey ....

-> Slack thread

@sanderpick
Copy link
Member

Thanks for the report! Fixed here: #541

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

2 participants