textileio/textile

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

Opened this issue · 1 comments

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

Thanks for the report! Fixed here: #541